Closed
Bug 524447
Opened 16 years ago
Closed 16 years ago
[HTML5] Tokenize on document.close()
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
People
(Reporter: hsivonen, Assigned: hsivonen)
References
()
Details
Attachments
(1 file)
3.00 KB,
patch
|
mozilla+ben
:
review+
|
Details | Diff | Splinter Review |
IE, WebKit and Opera tokenize on EOF. For interop, Gecko should too.
Implement
http://html5.org/tools/web-apps-tracker?from=4240&to=4241
Assignee | ||
Comment 1•16 years ago
|
||
Updated•16 years ago
|
Attachment #408378 -
Flags: review?(bnewman) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Hmm. Weird. This patch doesn't exhibit the same behavior as WebKit and IE.
On the surface, it looks like Gecko blocks the parser more eagerly than the other engines.
Assignee | ||
Comment 3•16 years ago
|
||
So it seems this patch is reasonable in itself, but in order to get compat with WebKit/IE/Presto, the script loader or sink needs to behave differently. Gecko unblocks the parser after both the test case document.close() and the harness document.close() in this case:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/276
Assignee | ||
Comment 4•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•