Closed
Bug 96562
Opened 23 years ago
Closed 23 years ago
JS Engine version-dependent keywords not maintained properly.
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla0.9.4
People
(Reporter: ccarlen, Assigned: brendan)
References
Details
(Keywords: js1.5, Whiteboard: patch)
Attachments
(2 files)
5.69 KB,
patch
|
Details | Diff | Splinter Review | |
4.29 KB,
patch
|
Details | Diff | Splinter Review |
This problem shows itself when going to http://home.netscape.com while using
turbo mode. This page sets the JS version to something lower than is needed to
deal with chrome, causing chrome JS to fail.
Assignee | ||
Comment 1•23 years ago
|
||
The problem is that JSContext.scannerVersion should be in the JSRuntime. What a
botch. Easily fixed, patch coming up.
/be
Status: NEW → ASSIGNED
Keywords: js1.5,
mozilla0.9.4
Priority: -- → P1
Target Milestone: --- → mozilla0.9.4
Assignee | ||
Comment 2•23 years ago
|
||
Argh, it's harder than that. Multi-threading screws my simple plan. There is
in fact a problem with keyword reserved-ness being stored in the atom table,
shared among all JSContexts. More in a bit, still trying for 0.9.4 to unblock
conrad's bug.
/be
QA Contact: pschwartau
Summary: JS Engine script version is not maintained properly.
Updated•23 years ago
|
Summary: JS Engine script version is not maintained properly.
Comment 4•23 years ago
|
||
*blink*
*blink*
Comment 5•23 years ago
|
||
Yeah, I think they're one and the same bug (at least the initial comment, dunno
about what follow-up stuff was commented in there).
Assignee | ||
Comment 6•23 years ago
|
||
Assignee | ||
Comment 7•23 years ago
|
||
Assignee | ||
Comment 8•23 years ago
|
||
Conrad, apply the first attachment in your mozilla/js/src directory and remake
there. Let me know if this doesn't cure the symptom. With this change, I pass
the JS testsuite and Mozilla runs fine.
Looking for r= and sr=.
/be
Whiteboard: patch
Assignee | ||
Comment 9•23 years ago
|
||
Better summary.
/be
Summary: JS Engine script version is not maintained properly. → JS Engine version-dependent keywords not maintained properly.
Reporter | ||
Comment 10•23 years ago
|
||
Alright - the patch works!
Comment 11•23 years ago
|
||
sr=shaver
Comment 12•23 years ago
|
||
r=rogerl
(except after I patched jsscan.c, I saw 'indenting issues' at line #782).
Comment 13•23 years ago
|
||
It looks OK to me (though you already have your cookies :)
r=jband
Assignee | ||
Comment 14•23 years ago
|
||
rogerl: did you apply the diff -u, or the diff -wu? The former is for applying
via patch, the latter for reviewing.
Thanks all, going for approval.
/be
a=dbaron (on behalf of drivers)
Assignee | ||
Comment 16•23 years ago
|
||
Fix checked in.
/be
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 17•23 years ago
|
||
*** Bug 74539 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•