Skip to content
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

GM broken with Firefox 3.7a1pre nightly #1054

Closed
matthew-cline opened this issue Oct 31, 2009 · 3 comments
Closed

GM broken with Firefox 3.7a1pre nightly #1054

matthew-cline opened this issue Oct 31, 2009 · 3 comments
Milestone

Comments

@matthew-cline
Copy link

GM gives this error with the latest 3.7a1pre nightly:

Error: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)
[nsIXPCComponents_Utils.evalInSandbox]
Source file: file:///C:(removed path details to user profile)/(user profilefolder)/gm_scripts/(javascript folder)/(javascript).js
Line: 4294967295

See this Bugzilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=525560

@arantius
Copy link
Collaborator

In the latest comment (as of now), at mozilla, it's suggested that we hard code firefox version (easy, reliable to detect) to js version (stable per FFX version), and use that.

It requires maintaining this list at each FFX release, but it will not break.

@matthew-cline
Copy link
Author

Yeah, I've hacked maxJSVersion to always return 1.80, and it works just fine for me.

@arantius
Copy link
Collaborator

arantius commented Feb 2, 2010

Looking things up by hand to be sure, I find:

Firefox 2.0 has JS 1.6
Firefox 3.0 has JS 1.6
Firefox 3.5 has JS 1.8
Firefox 3.6 has JS 1.8

So this logic should be quite straightforward.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants