Closed
Bug 618017
Opened 15 years ago
Closed 15 years ago
Parsing XML can override the version
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cdleary, Assigned: cdleary)
References
Details
(Keywords: regression, Whiteboard: fixed-in-tracemonkey)
Attachments
(2 files)
364 bytes,
text/html
|
Details | |
1.67 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
When an XML element or list root is encountered in the parser it sets JSOPTION_XML for the scope of that parse node to indicate that the scanner should scan |<!--| and |<![CDATA[| as tokens.
The parser currently sets JSOPTION_XML to indicate this, knowing that it'll get propagated to the version, and that the scanner will look at the version. Given that this is a scoped set/unset, we can just set a mode bit on the scanner and avoid the version override.
![]() |
Assignee | |
Comment 1•15 years ago
|
||
Confirmed that this is fixed by the patch queue in bug 595691, just gotta make a test case patch!
Depends on: 595691
![]() |
Assignee | |
Comment 2•15 years ago
|
||
Mochitest seems most appropriate given that we want to test exactly this browser-level behavior.
![]() |
Assignee | |
Comment 3•15 years ago
|
||
Comment on attachment 506324 [details] [diff] [review]
Mochitest.
Confirmed passing on my machine on top of the patch queue dependency.
Attachment #506324 -
Flags: review?(mrbkap)
![]() |
Assignee | |
Updated•15 years ago
|
Attachment #506324 -
Flags: review?(mrbkap) → review?(lw)
![]() |
||
Updated•15 years ago
|
Attachment #506324 -
Flags: review?(lw) → review+
![]() |
Assignee | |
Comment 4•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
![]() |
Assignee | |
Comment 5•15 years ago
|
||
cdleary-bot mozilla-central merge info:
http://hg.mozilla.org/mozilla-central/rev/1537ab211532
![]() |
Assignee | |
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•