Closed Bug 533085 Opened 15 years ago Closed 15 years ago

[HTML5] <script> coming after </head> but not inside <body> doesn't run

Categories

(Core :: DOM: HTML Parser, defect)

x86
macOS
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 531373

People

(Reporter: bzbarsky, Assigned: hsivonen)

References

Details

Attachments

(1 file)

Attached file Testcase
Testcase attached.  It should alert "hello".  Instead I get:

###!!! ASSERTION: Script wasn't marked as malformed.: 'sele->IsMalformed()', file ../../../mozilla/parser/html/nsHtml5TreeOpExecutor.cpp, line 364

and no script execution.

This breaks United.com's boarding pass printing page.  Which incidentally means that if you fix this in the next two weeks I can test the fix on my flight back... ;)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: