-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mocha/test/browser/index.html doesn’t work properly in Firefox 10 #311
Comments
haha, the stack traces are so bad in FF.. i'll look into it |
it's saying there's a "location" variable leaking haha, seems like something the host must be doing, we use window.location once but that's it |
looks like FF exposes the 'location" global variable between the jquery ready event and the window.onload event. i.e. if I move mocha.run() from jquery.ready to window load the error goes away. (using FF 11)
|
hmm interesting, we could list location as a known global, not the greatest solution but at least we wont have a lot of confused people |
Hello,
For the unknown reason first browser tests from
mocha/test/browser/index.html
fail in Firefox 10.0.2.All tests pass as expected in Chrome.
Best wishes,
Denis
The text was updated successfully, but these errors were encountered: