Closed
Bug 505897
Opened 16 years ago
Closed 16 years ago
[HTML5] When HTML5 parser is enabled, including a certain data delcaration in <script> breaks the script
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 503632
People
(Reporter: jgriffin, Unassigned)
Details
Attachments
(1 file)
|
526 bytes,
text/html
|
Details |
When the HTML5 parser is enabled (pref html5.enable=true), and a document is loaded which contains a script block that defines some specific data in JSON format, the script is broken and fails to execute, although no error is shown in the javascript console. The script runs normally with the HTML5 parser disabled.
To reproduce:
1. Set pref html5.enable=false.
2. Load testfile attached, observe script-generated output:
here we go!
Incorrect comment ending sequences in [R]CDATA
3. Set pref html5.enable=true.
4. Reload testfile.
Results: A blank page is displayed. Looking at the javascript console reveals no errors.
| Reporter | ||
Comment 1•16 years ago
|
||
Bug confirmed on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090722 Minefield/3.6a1pre.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 2•16 years ago
|
||
this is a dupe of bug 503632
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•