Closed Bug 96562 Opened 24 years ago Closed 24 years ago

JS Engine version-dependent keywords not maintained properly.

Categories

(Core :: JavaScript Engine, defect, P1)

x86
Windows 2000
defect

Tracking

()

RESOLVED FIXED
mozilla0.9.4

People

(Reporter: ccarlen, Assigned: brendan)

References

Details

(Keywords: js1.5, Whiteboard: patch)

Attachments

(2 files)

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.
Blocks: 86021
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
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.
Summary: JS Engine script version is not maintained properly.
Could this be causing bug 74539 as well?
*blink* *blink*
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).
Blocks: 74539
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
Better summary. /be
Summary: JS Engine script version is not maintained properly. → JS Engine version-dependent keywords not maintained properly.
Alright - the patch works!
sr=shaver
r=rogerl (except after I patched jsscan.c, I saw 'indenting issues' at line #782).
It looks OK to me (though you already have your cookies :) r=jband
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)
Fix checked in. /be
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** 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.

Attachment

General

Created:
Updated:
Size: