Bug 1735858 [wpt PR 31247] - App history: make it mostly nonfunctional for opaque...
commit1a6f91c5180478b91b4306d58d44eab5dae4d550
authorDomenic Denicola <domenic@chromium.org>
Mon, 1 Nov 2021 16:33:02 +0000 (1 16:33 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 2 Nov 2021 14:58:11 +0000 (2 14:58 +0000)
tree00639fcb3e39fa027b627ca06f0ca12de014510b
parent60c91cb995c4a4ee8a80031fdbffd538bab3d534
Bug 1735858 [wpt PR 31247] - App history: make it mostly nonfunctional for opaque origins, a=testonly

Automatic update from web-platform-tests
App history: make it mostly nonfunctional for opaque origins

Given that opaque origins complicate the notion of what the origin of a
history entry is and when they can be considered contiguous, discussion
on https://github.com/WICG/app-history/issues/167 suggests that we
should probably start with restricting the API to not work on them for
now, in the same way we do for the initial about:blank.

This also slightly improves the test coverage for detached window
scenarios since they are very similar to what we're changing here.

Fixed: 1252490
Change-Id: Id3c761d87dba0c3b75c0e70e4f6cc61e96429b8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3161023
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936101}

--

wpt-commits: 0ffde1b55c7b73abc2945697fbc45549cf9eafbb
wpt-pr: 31247
20 files changed:
testing/web-platform/tests/app-history/app-history-entry/after-detach.html
testing/web-platform/tests/app-history/app-history-entry/current-after-detach.html [deleted file]
testing/web-platform/tests/app-history/app-history-entry/entries-after-data-url-navigation.html [deleted file]
testing/web-platform/tests/app-history/app-history-entry/entry-after-detach.html [copied from testing/web-platform/tests/app-history/app-history-entry/after-detach.html with 100% similarity]
testing/web-platform/tests/app-history/app-history-entry/opaque-origin-data-url.html [new file with mode: 0644]
testing/web-platform/tests/app-history/app-history-entry/opaque-origin.html [new file with mode: 0644]
testing/web-platform/tests/app-history/app-history-entry/resources/opaque-origin-page.html [new file with mode: 0644]
testing/web-platform/tests/app-history/currentchange-event/currentchange-navigate-from-initial-about-blank-same-doc-popup.html [new file with mode: 0644]
testing/web-platform/tests/app-history/currentchange-event/currentchange-navigate-from-initial-about-blank-same-doc.html
testing/web-platform/tests/app-history/currentchange-event/currentchange-navigate-from-initial-about-blank.html [copied from testing/web-platform/tests/app-history/currentchange-event/currentchange-navigate-from-initial-about-blank-same-doc.html with 71% similarity]
testing/web-platform/tests/app-history/navigate/canGoBack-if-not-fully-active.html [deleted file]
testing/web-platform/tests/app-history/navigate/canGoForward-if-not-fully-active.html [deleted file]
testing/web-platform/tests/app-history/navigate/return-value/back-forward-initial-about-blank.html [moved from testing/web-platform/tests/app-history/navigate/return-value/back-initial-about-blank.html with 69% similarity]
testing/web-platform/tests/app-history/navigate/return-value/back-forward-opaque-origin.html [new file with mode: 0644]
testing/web-platform/tests/app-history/navigate/return-value/forward-initial-about-blank.html [deleted file]
testing/web-platform/tests/app-history/navigate/return-value/navigate-opaque-origin.html [new file with mode: 0644]
testing/web-platform/tests/app-history/navigate/return-value/resources/back-forward-opaque-origin-page.html [new file with mode: 0644]
testing/web-platform/tests/app-history/navigate/return-value/resources/navigate-opaque-origin-page.html [new file with mode: 0644]
testing/web-platform/tests/app-history/navigate/state/updateCurrent/opaque-origin.html [new file with mode: 0644]
testing/web-platform/tests/app-history/navigate/state/updateCurrent/resources/opaque-origin-page.html [new file with mode: 0644]