Closed Bug 1718698 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29538 - Move app history tests to public WPT

Categories

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

task

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Domenic Denicola <domenic@chromium.org>' wrote:

Move app history tests to public WPT

Bug: 1183545
Change-Id: Ie06b392f1982227946a118d16982dff8dd9a4051
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2991902
Auto-Submit: Domenic Denicola \<domenic@chromium.org>
Reviewed-by: Nate Chapin \<japhet@chromium.org>
Commit-Queue: Domenic Denicola \<domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#897133}

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 105 tests and 1 subtests

Status Summary

Firefox

OK : 97[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-tsan-opt] 98[Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, GitHub]
PASS : 2
FAIL : 99
TIMEOUT: 7
ERROR : 6[Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, GitHub] 7[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-tsan-opt]

Chrome

OK : 103
PASS : 83
FAIL : 23
TIMEOUT: 2
ERROR : 1

Safari

OK : 96
PASS : 2
FAIL : 98
TIMEOUT: 7
ERROR : 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/app-history/app-history-entry/after-detach.html
AppHistoryEntry attributes after detach: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/current-after-detach.html
appHistory.current should be null after iframe removal: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/current-basic.html
Basic tests for appHistory.current: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/app-history-entry/entries-across-origins.html
appHistory.entries() should only contain entries that are both same-origin and contiguous: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/entries-after-blank-navigation.html
AppHistory behavior after navigation to about:blank: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/entries-after-blob-navigation.html
AppHistory behavior after navigation to a blob: url: FAIL (Chrome: PASS)
/app-history/app-history-entry/entries-after-data-url-navigation.html
AppHistory behavior after navigation to a data: url: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/entries-after-javascript-url-navigation.html
AppHistory behavior after navigation to a javascript: url: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/entries-after-navigations-in-multiple-windows.html
appHistory.entries() behavior when multiple windows navigate.: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/app-history-entry/entries-after-srcdoc-navigation.html
AppHistory behavior after setting a srcdoc attribute: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/entries-array-equality.html
appHistory.entries() should not return an identical object on repeated invocations: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/entries-when-inactive.html
A non-active entry in appHistory.entries() should not be modified when a different entry is modified: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/app-history-entry/index-not-in-entries.html
AppHistoryEntry.index should return -1 when not in AppHistory.entries: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/app-history-entry/key-navigate-back-cross-document.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
AppHistoryEntry.key behavior on cross-document back navigation: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
/app-history/app-history-entry/key-navigate-back-same-document.html
AppHistoryEntry.key behavior on same-document back navigation: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/app-history-entry/key-navigate-location-reload.html
AppHistoryEntry.key behavior after location.reload(): FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/app-history-entry/key-navigate-location-replace-cross-origin.html
AppHistoryEntry.key behavior after location.replace(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/app-history-entry/key-navigate-location-replace.html
AppHistoryEntry.key behavior after location.replace(): FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/app-history-entry/sameDocument-after-fragment-navigate.html
AppHistoryEntry.sameDocument after same-document navigations: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/app-history-entry/sameDocument-after-navigate.html
AppHistoryEntry.sameDocument after cross-document navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/back-forward-out-of-bounds.html
back() and forward() out of bounds: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/disambigaute-back.html
appHistory.back() goes to the nearest back entry: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/disambigaute-forward.html
appHistory.forward() goes to the nearest forward entry: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/disambigaute-goto-back-multiple.html
appHistory.goTo() goes to the nearest entry when going back: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/disambigaute-goto-forward-multiple.html
appHistory.goTo() goes to the nearest entry when going forward: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/goTo-after-adding-iframe.html
appHistory.goTo() should work in an iframe that is not present in all history entries: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/goTo-after-data-url.html
appHistory.goTo() should work in an iframe that started at a data: url: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/goTo-cross-document-deatch-iframe-in-onnavigate.html
detach iframe inside onnavigate during cross-document appHistory.goTo(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/goTo-cross-document-preventDefault.html
preventDefault on cross-document appHistory.goTo(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/goTo-cross-document.html
cross-document navigate.goTo(), back(), and forward(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/goTo-current.html
goTo() with current key: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/goTo-detach-in-onnavigate.html: ERROR (Chrome: TIMEOUT, Safari: ERROR)
goTo() in a detached window: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
/app-history/navigate/goTo-in-detached-window.html: ERROR (Chrome: OK, Safari: ERROR)
goTo() in a detached window: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
/app-history/navigate/goTo-invalid-key.html
goTo() with invalid key: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/goTo-multiple-steps.html
goto() can precisely traverse multiple steps in the joint session history: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/goTo-repeated.html: ERROR (Chrome: OK, Safari: ERROR)
Repeated navigate.goTo(): TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
/app-history/navigate/goTo-same-document.html
same-document navigate.goTo(), back(), and forward(): FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/goTo-with-cross-origin-in-history.html
appHistory.goTo() should work in an iframe that has navigated across origins: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-cross-document-event-order.html
navigate() event ordering for cross-document navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-cross-document.html
navigate() navigates cross-document and fires onnavigate: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-detach.html
Detach inside onnavigate: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-history-state-replace.html
history.state should be nulled by navigate(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-history-state.html
history.state should be nulled by navigate(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-in-detached-window.html
navigate() in a detached window: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-info-and-state.html
navigate() with info and state: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-invalid-url.html
navigate() with invalid url: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-no-args.html
navigate() with no args or empty options: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-preventDefault.html
navigate() promise rejects when the navigation is aborted: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-relative-url.html
navigate() should resolve urls relative to appHistory object, not the caller: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-replace-cross-document.html
navigate() with replace option: FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate/navigate-replace-same-document.html: ERROR [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-tsan-opt], OK [Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, GitHub] (Chrome: ERROR, Safari: ERROR)
/app-history/navigate/navigate-respondWith-history-state.html
history.story should be nulled by navigate() handled by respondWith(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-respondWith-reject-event-order.html
navigate() event ordering for same-document navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-respondWith-reject.html: ERROR (Chrome: OK, Safari: ERROR)
navigate() and respondWith with a reject promise: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-respondWith.html
navigate() and respondWith: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-same-document-event-order.html
navigate() event ordering for same-document navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-same-document.html
navigate() navigates same-document and fires onnavigate (async): FAIL (Chrome: PASS, Safari: FAIL)
navigate() navigates same-document and fires onnavigate (sync): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-without-url-arg-replace.html
navigate() variant with no url, replacing: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/navigate-without-url-arg.html
navigate() variant with no url: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/state/navigate-state-after-history-pushState.html
appHistoryEntry.getState() after history.pushState(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/state/navigate-state-after-history-replaceState.html
appHistoryEntry.getState() after history.replaceState(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/state/navigate-state-after-reload.html
appHistoryEntry.getState() after location.reload(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/state/navigate-state-after-same-document-location-api-navigation.html: ERROR (Chrome: OK, Safari: ERROR)
appHistoryEntry.getState() behavior after navigating away and back via a fragment change: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
/app-history/navigate/state/navigate-state-after-same-document-navigation.html: ERROR (Chrome: OK, Safari: ERROR)
appHistoryEntry.getState() behavior after navigating away and back: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
/app-history/navigate/state/navigate-state-cross-document-location-navigate.html
appHistoryEntry.getState() behavior after cross-document location API navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/state/navigate-state-cross-document-restore.html
appHistoryEntry.getState() behavior after navigating away and back: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate/state/navigate-state-invalid.html
navigate() with an unserializable state object (WriteableStream): FAIL (Chrome: PASS, Safari: FAIL)
navigate() with an unserializable state object (SharedArrayBuffer): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-anchor-cross-origin.html
<a> cross-origin navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-anchor-fragment.html
Fragment <a> click fires navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-anchor-same-origin-cross-document.html
<a> cross-document (but same-origin) navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-anchor-userInitiated.html
Fragment <a> click fires navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-anchor-with-target.html
<a> with a target fires navigate event in target window but not source: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-appHistory-back-cross-document.html
navigate event for appHistory.back() - cross-document: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-appHistory-back-same-document.html
navigate event for appHistory.back() - same-document: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-appHistory-navigate.html
navigate event for appHistory.navigate(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-cross-origin-iframe-location.html
location API on another window fires navigate event even if the target window is cross-origin: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-destination-getState-back-forward.html
navigate event destination.getState() on back/forward navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-destination-getState-navigate.html
navigate event destination.getState() should be the state given to navigate(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-form-userInitiated.html
<form> submission fires navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-form-with-target.html
<form> submission with a target fires navigate event in target window but not source: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-form.html
<form> submission fires navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-history-back-after-fragment.html
history.back() fires the navigate event and sets hashChange when reversing a fragment navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-history-back-after-pushState.html
history.back() fires the navigate event when reversing a pushState(): FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-history-go-0.html
history.go(0) fires the navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-history-pushState.html
history.pushState() fires the navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-history-replaceState.html
history.replaceState() fires the navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-iframe-location.html
location API on another window fires navigate event in the target window only: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-location.html
location API fires navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-meta-refresh.html
<meta> refresh fires navigate event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-window-open-self.html
window.open() fires navigate event when targeting self: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-window-open.html
window.open() fires navigate event in target window but not source: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigate-within-onnavigate.html
if navigate() is called inside onnavigate, the previous navigation and navigate event are cancelled: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/navigatesuccess-same-document.html
navigatesucess fires for a same-document navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-appHistory-back.html
AppHistoryNavigateEvent.respondWith can intercept appHistory.back(): FAIL (Chrome: FAIL, Safari: FAIL)
/app-history/navigate-event/respondWith-cross-document-same-origin.html
AppHistoryNavigateEvent.respondWith intercepts a same-origin cross-document navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-cross-origin.html
AppHistoryNavigateEvent.respondWith should throw if called for a cross origin navigation: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-detach.html
respondWith-detach: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-history-pushState.html
AppHistoryNavigateEvent.respondWith should proceed if the given promise resolves: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-history-replaceState.html
AppHistoryNavigateEvent.respondWith should proceed if the given promise resolves: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-multiple-times.html
AppHistoryNavigateEvent.respondWith throws if invoked more than once: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-on-synthetic-event.html
AppHistoryNavigateEvent.respondWith throws if invoked on a synthetic event: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-reject.html
AppHistoryNavigateEvent.respondWith should abort if the given promise rejects: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-resolve.html
AppHistoryNavigateEvent.respondWith should proceed if the given promise resolves: FAIL (Chrome: PASS, Safari: FAIL)
/app-history/navigate-event/respondWith-same-document-history-back.html
AppHistoryNavigateEvent.respondWith can intercept same-document history.back(): FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3853df088fef
[wpt PR 29538] - Move app history tests to public WPT, a=testonly
https://hg.mozilla.org/integration/autoland/rev/a62f32295a25
[wpt PR 29538] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/82ef5cc7af35
[wpt PR 29538] - Move app history tests to public WPT, a=testonly
https://hg.mozilla.org/integration/autoland/rev/3885b5541387
[wpt PR 29538] - Update wpt metadata, a=testonly
Regressions: 1721260
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.