Closed Bug 1762480 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33461 - Navigation API: change { replace } to { history }

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33461 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33461
Details from upstream follow.

Domenic Denicola <domenic@chromium.org> wrote:

Navigation API: change { replace } to { history }

Follows https://github.com/WICG/navigation-api/pull/219.

Bug: 1183545
Change-Id: I1e962de093ece36c0f4cdebfcf83a53b4910ea16

Reviewed-on: https://chromium-review.googlesource.com/3564502
WPT-Export-Revision: 70cf994e01f26f03dbafbada40e294ea0dd75b29

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 87 tests and 1 subtests

Status Summary

Firefox

OK : 86
PASS : 1
FAIL : 92
ERROR : 1

Chrome

OK : 82
PASS : 63
FAIL : 27
TIMEOUT: 2
ERROR : 4

Safari

OK : 86
PASS : 1
FAIL : 92
ERROR : 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/navigation-api/currententrychange-event/navigation-navigate-replace-cross-doc.html
currententrychange does not fire for cross-document navigation.navigate() with replace: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/currententrychange-event/navigation-navigate-replace-same-doc.html
currententrychange fires for navigation.navigate() with replace: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/currententrychange-event/navigation-navigate-replace-transitionWhile.html
currententrychange fires for navigation.navigate() with replace intercepted by transitionWhile(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigate-event/navigate-destination-getState-back-forward.html
navigate event destination.getState() on back/forward navigation: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-history-entry/index-not-in-entries.html
entry.index should return -1 when not in navigation.entries(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-history-entry/state-after-navigate-restore.html
entry.getState() is properly restored after cross-document back: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/navigate-history-state-replace.html
history.state should be nulled by navigate(): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/navigate-replace-cross-document.html
navigate() with history: 'replace' option: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/navigate-replace-same-document.html: ERROR (Chrome: ERROR, Safari: ERROR)
/navigation-api/navigation-methods/return-value/back-204-205-download.html
back() promises to 204s never settle: FAIL (Chrome: PASS, Safari: FAIL)
back() promises to 205s never settle: FAIL (Chrome: PASS, Safari: FAIL)
back() promises to Content-Disposition: attachment responses never settle: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/back-already-detached.html
back() in a detached window: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/back-beforeunload.html
back() inside onbeforeunload: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/back-forward-initial-about-blank.html
back() and forward() in initial about:blank document: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/back-forward-out-of-bounds.html
back() and forward() out of bounds: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/back-transitionWhile-rejected.html
back() promise rejection with rejected transitionWhile(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/back-transitionWhile.html
back() and transitionWhile() with a fulfilled promise: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/back.html
back() promises: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/forward-already-detached.html
forward() in a detached window: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/forward-beforeunload.html
forward() inside onbeforeunload: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/forward-transitionWhile-rejected.html
forward() promise rejection with rejected transitionWhile(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/forward-transitionWhile.html
forward() and transitionWhile() with a fulfilled promise: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/forward.html
forward() promises: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-204-205-download.html
navigate() promises to 204s never settle: FAIL (Chrome: PASS, Safari: FAIL)
navigate() promises to 205s never settle: FAIL (Chrome: PASS, Safari: FAIL)
navigate() promises to Content-Disposition: attachment responses never settle: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-already-detached.html
navigate() in a detached window: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-beforeunload.html
navigate() inside onbeforeunload: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-cross-document.html
cross-document navigate() promises never settle: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-detach-in-onnavigate.html
navigate() promise rejections when detaching an iframe inside onnavigate: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-detach-in-serialization.html
navigate() promise rejections when detaching an iframe inside state serialization: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-file-url.html
navigate() to a file: URL: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-initial-about-blank-cross-document.html
navigate() in initial about:blank document (cross-document): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-initial-about-blank.html
navigate() in initial about:blank document: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-interrupted-within-onnavigate.html
if navigate() is called inside onnavigate, the previous navigation and navigate event are cancelled: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-interrupted.html
interrupted navigate() promises: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-invalid-url.html
navigate() with an invalid URL: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-preventDefault.html
navigate() when the onnavigate handler calls preventDefault(): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-push-initial-about-blank.html
navigate() with history: 'push' in initial about:blank document: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-push-javascript-url.html
navigate() to a javascript: URL: FAIL (Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-push-not-loaded.html
navigate() with history: 'push' in a document that has not yet had its load event: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-push-same-url.html
navigate() to a the current URL: FAIL (Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-rejection-order-beforeunload-unserializablestate.html
navigate() with an unserializable state inside onbeforeunload "DataCloneError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-rejection-order-detached-unserializablestate.html
navigate() with unserializable state in a detached iframe throws "DataCloneError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-beforeunload.html
navigate() with an invalid URL inside onbeforeunload throws "SyntaxError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-detached.html
navigate() with an invalid URL in a detached iframe throws "SyntaxError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unload.html
navigate() with an invalid URL inside onunload throws "SyntaxError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unserializablestate.html
navigate() with an invalid URL and unserializable state throws "SyntaxError", not "DataCloneError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-rejection-order-unload-unserializablestate.html
navigate() with an unserializable state inside onunload throws "DataCloneError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-transitionWhile-interrupted.html
interrupted navigate() promises with transitionWhile(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-transitionWhile-rejected.html
navigate() and transitionWhile() with a rejected promise: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-transitionWhile.html
navigate() and transitionWhile() with a fulfilled promise: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-unload.html
navigate() inside onunload: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate-unserializable-state.html
navigate() with an unserializable state (WritableStream): FAIL (Chrome: PASS, Safari: FAIL)
navigate() with an unserializable state (SharedArrayBuffer): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/navigate.html
navigate() promises: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-already-detached.html
reload() in a detached window: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-beforeunload.html
reload() inside onbeforeunload: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-detach-in-onnavigate.html
reload() promise rejections when detaching an iframe inside onnavigate: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-detach-in-serialization.html
reload() promise rejections when detaching an iframe inside state serialization: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-initial-about-blank.html
reload() in initial about:blank document: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-preventDefault.html
reload() when the onnavigate handler calls preventDefault(): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-rejection-order-beforeunload-unserializablestate.html
reload() with an unserializable state inside onbeforeunload throws "DataCloneError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-rejection-order-detached-unserializablestate.html
reload() with unserializable state in a detached iframe throws "DataCloneError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-rejection-order-unload-unserializablestate.html
reload() with an unserializable state inside onunload throws "DataCloneError", not "InvalidStateError": FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-transitionWhile-rejected.html
reload() and transitionWhile() with a rejected promise: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-transitionWhile.html
reload() and transitionWhile() with a fulfilled promise: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-unload.html
reload() inside onunload: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload-unserializable-state.html
reload() with an unserializable state (WritableStream): FAIL (Chrome: PASS, Safari: FAIL)
reload() with an unserializable state (SharedArrayBuffer): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/reload.html
reload() promises never settle (without transitionWhile()): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-already-detached.html
traverseTo() in a detached window: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-beforeunload.html
traverseTo() inside onbeforeunload: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-cross-document-preventDefault.html
traverseTo() promise never settle when preventDefault()ing the navigate event (cross-document): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-current.html
traverseTo() with current key: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document.html
traverseTo() promise rejections when detaching an iframe inside onnavigate (cross-document): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document.html
traverseTo() promise rejections when detaching an iframe inside onnavigate (same-document): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-invalid-key.html
traverseTo() with invalid key: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-repeated.html
Repeated navigation.traverseTo() with the same key: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-transitionWhile-rejected.html
traverseTo() promise rejection with rejected transitionWhile(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo-transitionWhile.html
traverseTo() and transitionWhile() with a fulfilled promise: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/return-value/traverseTo.html
traverseTo() promises: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/sandboxing-back-parent.html
A sandboxed iframe cannot navigate its parent via its own navigation object by using back(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/sandboxing-back-sibling.html
A sandboxed iframe cannot navigate its sibling via its own navigation object by using back(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/navigation-methods/traverseTo-detach-between-navigate-and-navigatesuccess.html
Detach a window between when a traverseTo() fires navigate and navigatesuccess: FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/ordering-and-transition/currententrychange-dispose-ordering.html
Ordering between Navigation currententrychange and NavigationHistoryEntry dispose events: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/per-entry-events/dispose-same-document-replace-with-transitionWhile.html
dispose events when doing a same-document replace using navigation.navigate() and transitionWhile(): FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/state/cross-document-away-and-back.html
entry.getState() behavior after navigating away and back: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/state/cross-document-location-api.html
entry.getState() behavior after cross-document location API navigation: FAIL (Chrome: FAIL, Safari: FAIL)
/navigation-api/state/history-pushState.html
entry.getState() after history.pushState(): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/state/history-replaceState.html
entry.getState() after history.replaceState(): FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/state/location-reload.html
entry.getState() after location.reload(): FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/31502668e894
[wpt PR 33461] - Navigation API: change { replace } to { history }, a=testonly
https://hg.mozilla.org/integration/autoland/rev/67c576b6667e
[wpt PR 33461] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.