Push loads are converted to replace loads incorrectly
Categories
(Core :: DOM: Navigation, defect, P3)
Tracking
()
People
(Reporter: farre, Assigned: farre)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Gecko will convert a push load into a replace load for an iframe if the parent container is busy (i.e. is loading) even when the iframe isn't busy. Spec only requires the iframe document to be completely loaded.
Gecko will convert a push load into a replace load for a top level browsing context if that browsing context is executing its load handler. Spec will also convert if the document isn't completely loaded, i.e inclusive of the period before the load handler has started to fire.
This makes the following tests fail:
navigation-api/currententrychange-event/location-api.html.
navigation-api/navigate-event/cross-window/location-crossdocument-crossorigin-sameorigindomain.sub.html
navigation-api/navigate-event/cross-window/location-crossdocument-sameorigin.html
navigation-api/navigate-event/cross-window/location-samedocument-crossorigin-sameorigindomain.sub.html
navigation-api/navigate-event/cross-window/location-samedocument-crossorigin.html
navigation-api/navigate-event/cross-window/location-samedocument-sameorigin.html
navigation-api/navigate-event/cross-window/open-crossdocument-crossorigin-sameorigindomain.sub.html
navigation-api/navigate-event/cross-window/open-crossdocument-sameorigin.html
navigation-api/navigate-event/cross-window/open-samedocument-crossorigin-sameorigindomain.sub.html
navigation-api/navigate-event/cross-window/open-samedocument-crossorigin.html
navigation-api/navigate-event/cross-window/open-samedocument-sameorigin.html
navigation-api/navigate-event/navigate-iframe-location.html
navigation-api/navigate-event/navigate-navigation-navigate.html
navigation-api/navigate-event/navigate-to-srcdoc.html
navigation-api/navigate-event/navigate-window-open.html
navigation-api/navigation-history-entry/current-basic.html
navigation-api/navigation-history-entry/entries-after-blank-navigation.html
navigation-api/precommit-handler/precommitHandler-push.html
navigation-api/state/cross-document-getState-undefined.html
navigation-api/state/cross-document-location-api.html
Assignee | ||
Updated•14 days ago
|
Assignee | ||
Updated•14 days ago
|
Assignee | ||
Comment 1•14 days ago
|
||
Make sure that top level push loads are converted to replace loads if
the current document hasn't completely finished loading.
Make sure that subframe push loads are not converted to replace loads
if they've completely finished loading, but their parent container
hasn't.
Make sure that passing push as option to Navigation.navigate isn't
converted to a replace load.
Updated•14 days ago
|
Assignee | ||
Comment 2•14 days ago
|
||
Assignee | ||
Comment 3•10 days ago
|
||
Backed out for causing multiple failures
Assignee | ||
Updated•8 days ago
|
Comment 10•8 days ago
|
||
Comment 11•8 days ago
|
||
Reverted this because it was causing wpt failures.
- Revert link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/window-open-nourl.html | location.href - assert_equals: history.length should not increase after normal navigation away from initial empty document expected 1 but got 0
Assignee | ||
Updated•5 days ago
|
Comment 14•3 days ago
|
||
Comment 15•3 days ago
|
||
Comment 16•3 days ago
|
||
Backed out for causing wpt failures on location-setter-user-mouseup.html
Assignee | ||
Updated•2 days ago
|
Description
•