IE 7 和 8 中的堆栈溢出错误
我有一个 Rails 应用程序,其中使用 scriptaculous、prototip、controlMModal(livepipe.net)。 我在 IE 7 和 8 中收到网页错误(警报框)的错误 错误是
“第 1715 行堆栈溢出”
使用的版本: 脚本性 v 1.8.3 原型 2.2.0.2 原型1.6.1 controlmodal 2.2.3 (livepipe.net)
I have a rails application in which i am using scriptaculous,prototip,controlMModal(livepipe.net).
I am getting an error in IE 7 and 8 as web page error (alert box)
The error is
"Stack overflow at line 1715"
Versions used:
scriptaculous v 1.8.3
prototip 2.2.0.2
prototype 1.6.1
controlmodal 2.2.3 (livepipe.net)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为这是一个原型错误。您必须更改prototype.js中的一些代码行,如下解释 这里
I think it's a prototype error. you have to change some lines of code in your prototype.js as explain here
就主题而言,IE 的调用堆栈阈值比其他浏览器低。例如,在 Firefox 上,您可以在堆栈溢出之前调用 3000 个深度函数。
检查您的代码是否执行过多操作,以及是否可以将其拆分为多个小任务。
On topic, IE has a lower call stack threshold than other browsers. For example, on Firefox, you can call 3000 functions deep before a stack overflow.
Check to see if your code is doing too much, and if you can split up into mini-tasks.