开发者

Javascript fails to execute in headless Firefox [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I've setup a Ubuntu Server install with Firefox 3.6.22 and installed a headless test environment using the headless and watir-webdriver Ruby gems. When testing in desktop browser all seems to work but in the headless Firefox version the javascript just stops dead. Normal javascript pages work an开发者_如何学运维d load correctly, any idea what's happening?


Took a lot of debugging but it turns out that any console.log statements in your javascript will kill the headless firefox dead. Will investigate more to see if it's the old Ubuntu Firefox version or somewhere else in the chain.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜