Closed
Bug 618017
Opened 14 years ago
Closed 13 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•13 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•13 years ago
|
||
Mochitest seems most appropriate given that we want to test exactly this browser-level behavior.
Assignee | ||
Comment 3•13 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•13 years ago
|
Attachment #506324 -
Flags: review?(mrbkap) → review?(lw)
Updated•13 years ago
|
Attachment #506324 -
Flags: review?(lw) → review+
Assignee | ||
Comment 4•13 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/1537ab211532
Whiteboard: fixed-in-tracemonkey
Assignee | ||
Comment 5•13 years ago
|
||
cdleary-bot mozilla-central merge info: http://hg.mozilla.org/mozilla-central/rev/1537ab211532
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•