Javascript在Opera中不起作用-奇怪 [英] Javascript does not work in Opera - strange

查看:83
本文介绍了Javascript在Opera中不起作用-奇怪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

具有要在页面上执行的javascript代码-在Firefox,IE,Chrome中都可以正常运行,但在Opera 10+中则无法运行.

have a javascript code to exec on a page - all works fine in Firefox, IE, Chrome but does not work in Opera 10+.

奇怪的是,此javascript在Opera的早期版本中工作正常(9.xx很好),更奇怪的是,当我在Opera 10+上用​​Dragonfly午餐时,javascript也能正常工作(并且Dragonfly不会抛出任何错误) .

Strange is that this javascript works fine in previous versions of Opera (9.xx is fine) and even more strange is that when I lunch Dragonfly on Opera 10+ the javascript works also fine (and Dragonfly does not throw any errors).

有人经历过这种行为并找到了解决方案/解决方法吗?

Have anyone experienced this behavior and found any solution/workaround?

由于js代码非常复杂,庞大且部分是动态生成的,因此我没有发布任何示例-我的问题仅是有关行为以及是否有人在调试/解析方面有经验.

As the js code is quite complicated, huge and part of it dynamically generated I am not posting any sample of it - my question is just about the behavior and if someone has any experiencies with debuging/resolving.

谢谢

Jan

推荐答案

这听起来像Opera的即时(JIT)编译中的错误.我认为它在10.10中起作用,但在10.50及更高版本中破裂.如果禁用此选项,它是否起作用:Opera:config#jit?

It sounds like a bug in Opera's Just In Time (JIT) compilation. I assume that it worked in 10.10 but broke in 10.50 and above. Does it work if you disable this option: opera:config#jit ?

我非常感谢包含代码的错误报告- https://bugs.opera.com/wizard /.如果您在此处报告错误号,我可以更快地跟进:).

I would very much appreciate a bug report with code - https://bugs.opera.com/wizard/ . If you report the bug number here I can follow up a little bit faster :).

这篇关于Javascript在Opera中不起作用-奇怪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆