Closed
Bug 290499
Opened 20 years ago
Closed 20 years ago
E4X: Spidermonkey shell crashes on empty XMLList intializer
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
VERIFIED
FIXED
mozilla1.8beta2
People
(Reporter: martin.honnen, Assigned: brendan)
Details
(Keywords: js1.5)
Attachments
(2 files)
1.99 KB,
text/plain
|
Details | |
7.27 KB,
patch
|
brendan
:
review+
brendan
:
approval1.8b2+
|
Details | Diff | Splinter Review |
I think an empty XMLList intializer in the form of
<></>
is allowed so
var emptyList = <></>;
should be parsed without problems and create an empty XMLList but the
Spidermonkey shell crashes:
js> var emptyList = <></>;
Assertion failure: pn->pn_count != 0, at jsparse.c:4736
Rhino creates an empty list.
Comment 1•20 years ago
|
||
/cvsroot/mozilla/js/tests/e4x/Regress/regress-290499.js,v <--
regress-290499.js
initial revision: 1.1
Assignee | ||
Updated•20 years ago
|
Assignee | ||
Comment 2•20 years ago
|
||
I need an e4x code buddy....
/be
Assignee | ||
Updated•20 years ago
|
Attachment #180833 -
Flags: review+
Attachment #180833 -
Flags: approval1.8b2+
Assignee | ||
Comment 3•20 years ago
|
||
Fixed.
/be
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Flags: testcase+
Comment 4•19 years ago
|
||
Checking in regress-290499.js;
/cvsroot/mozilla/js/tests/e4x/Regress/regress-290499.js,v <-- regress-290499.js
new revision: 1.3; previous revision: 1.2
add missing call to TEST()
verified fixed.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•