Closed
Bug 407323
Opened 17 years ago
Closed 17 years ago
Javascript errors on http://rishida.net/scripts/uniview/conversion
Categories
(Core :: JavaScript Engine, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: smontagu, Assigned: brendan)
References
Details
(Keywords: dogfood, regression)
Attachments
(1 file)
2.56 KB,
patch
|
Waldo
:
review+
mtschrep
:
approvalM10+
brendan
:
approval1.9+
|
Details | Diff | Splinter Review |
Steps to reproduce: Go to http://rishida.net/scripts/uniview/conversion Enter something in one of the textboxes Click "Convert" Expected results: the input is converted and displayed in the other textboxes. Actual results: nothing happens. An error appears in the error console, e.g. for the "Characters" textbox: Error: chars is undefined Source File: http://rishida.net/scripts/uniview/conversion Line: 1 This is a regression from the last day or two.
Comment 1•17 years ago
|
||
The page contains: var XML = document.getElementById('XML'); This no longer works as XML is defined as const since the patch from the bug 376957 landed. I guess we should remove JSCLASS_FIXED_BINDING from Namespace, QName and XML classes as pretty much nobody is aware/cares about E4X.
Blocks: 376957
Reporter | ||
Updated•17 years ago
|
Flags: blocking1.9?
Updated•17 years ago
|
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Assignee | ||
Comment 3•17 years ago
|
||
A better idea: make the E4X "type" bindings fixed iff JS_HAS_XML_OPTION(cx). This requires runtime logic beyong the JSCLASS_FIXED_BINDING flag. Jeff, can you take this bug, or are you in finals hell? /be
Comment 4•17 years ago
|
||
(In reply to comment #3) > A better idea: make the E4X "type" bindings fixed iff JS_HAS_XML_OPTION(cx). > This requires runtime logic beyong the JSCLASS_FIXED_BINDING flag. Rebinding XML doesn't do anything interesting -- unlike []/{} nothing uses the XML binding. To me this makes it much less interesting as something to lock down to make the language more predictable. I wouldn't bother with pain for something that basically isn't used all that much, and I'd just remove the JSCLASS_FIXED_BINDING for each. > Jeff, can you take this bug, or are you in finals hell? Probably best if I don't, to be honest.
Assignee | ||
Updated•17 years ago
|
Assignee: general → brendan
Assignee | ||
Comment 5•17 years ago
|
||
Namespace is coming in ES4/JS2, and I would like to put a stake in the ground. /be
Attachment #292192 -
Flags: review?(jwalden+bmo)
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Updated•17 years ago
|
Attachment #292192 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 6•17 years ago
|
||
Comment on attachment 292192 [details] [diff] [review] fix as proposed, except Namespace is still immutably bound Based on quick regression report, asking for b2 approval. /be
Attachment #292192 -
Flags: approvalM10?
Attachment #292192 -
Flags: approval1.9+
Comment 7•17 years ago
|
||
Comment on attachment 292192 [details] [diff] [review] fix as proposed, except Namespace is still immutably bound K - go for it - note monday is the drop-dead for changes so if this causes regressions we'll need to act quick.
Attachment #292192 -
Flags: approvalM10? → approvalM10+
Comment 8•17 years ago
|
||
also once you land can you clobber so we get a new nightly update? I'm pretty sure this is the last change in.
Assignee | ||
Comment 9•17 years ago
|
||
Fixed: js/src/jsxml.c 3.181 Reed is kindly handling the clobber. /be
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 10•17 years ago
|
||
Checking in e4x/Regress/regress-407323.js; /cvsroot/mozilla/js/tests/e4x/Regress/regress-407323.js,v <-- regress-407323.js initial revision: 1.1 done RCS file: /cvsroot/mozilla/js/tests/js1_5/Regress/regress-407323.js,v done Checking in js1_5/Regress/regress-407323.js; /cvsroot/mozilla/js/tests/js1_5/Regress/regress-407323.js,v <-- regress-407323.js initial revision: 1.1 done
Flags: in-testsuite+
Flags: in-litmus-
Comment 11•17 years ago
|
||
tests updated due to bug 409252 Checking in e4x/Regress/regress-407323.js; /cvsroot/mozilla/js/tests/e4x/Regress/regress-407323.js,v <-- regress-407323.js new revision: 1.2; previous revision: 1.1 done Checking in js1_5/Regress/regress-407323.js; /cvsroot/mozilla/js/tests/js1_5/Regress/regress-407323.js,v <-- regress-407323.js new revision: 1.2; previous revision: 1.1 done
You need to log in
before you can comment on or make changes to this bug.
Description
•