Closed Bug 514602 Opened 10 years ago Closed 10 years ago

[HTML5] Early closing </html> tag eats <frameset>

Categories

(Core :: DOM: HTML Parser, defect, P1)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kinetik, Assigned: hsivonen)

References

()

Details

Attachments

(1 file)

When the bug URL is loaded with the HTML5 parser enabled, the frameset (and all of its children) are missing from the document, and it has an empty body instead.  Works fine with the old parser, and also works fine in Safari 4.

This happens on the main admin page of the D-Link DSL-G604T ADSL router, which is one of the devices Australian/NZ ISPs often include free when signing up for service.
Good catch! This is a bug in my reformulation of the frameset-ok flag into a three builder mode.
Priority: -- → P1
Added test coverage to the html5lib test suite.
This will become in-testsuite+ when we refresh the html5lib tests from upstream.
Flags: in-testsuite?
http://hg.mozilla.org/mozilla-central/rev/c2d661458d08
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 563526
You need to log in before you can comment on or make changes to this bug.