From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../back-forward-multiple-frames.html | 74 ++++++++++++ .../navigation-methods/disambigaute-back.html | 32 ++++++ .../navigation-methods/disambigaute-forward.html | 40 +++++++ .../disambigaute-traverseTo-back-multiple.html | 35 ++++++ .../disambigaute-traverseTo-forward-multiple.html | 39 +++++++ .../forward-to-pruned-entry.html | 33 ++++++ .../navigation-methods/navigate-base-url.html | 15 +++ .../navigate-from-initial-about-blank-gc.html | 18 +++ .../navigate-from-initial-about-blank-src.html | 21 ++++ .../navigate-from-initial-about-blank.html | 22 ++++ .../navigate-history-push-not-loaded.html | 20 ++++ ...igate-history-push-same-url-cross-document.html | 25 ++++ .../navigate-history-push-same-url.html | 26 +++++ .../navigate-history-state-replace.html | 16 +++ .../navigation-methods/navigate-history-state.html | 16 +++ .../navigate-info-and-state.html | 18 +++ .../navigate-intercept-history-state.html | 14 +++ .../navigation-methods/navigate-relative-url.html | 16 +++ .../navigate-replace-cross-document.html | 29 +++++ .../navigate-replace-same-document.html | 21 ++++ .../navigation-methods/navigate-same-document.html | 23 ++++ .../navigate-state-repeated-await.html | 13 +++ .../navigate-state-repeated.html | 20 ++++ .../navigation-methods/reload-base-url.html | 16 +++ .../navigation-methods/reload-info.html | 47 ++++++++ .../reload-navigation-timing.html | 15 +++ .../navigation-methods/reload-no-args.html | 46 ++++++++ .../reload-service-worker-fetch-event.html | 28 +++++ .../navigation-methods/reload-state-and-info.html | 40 +++++++ .../navigation-methods/reload-state-undefined.html | 39 +++++++ .../resources/fetch-event-test-worker.js | 7 ++ .../resources/navigate-parent.html | 6 + .../resources/navigate-sibling.html | 6 + .../resources/navigation-back.html | 6 + .../resources/page-with-base-url-common.html | 2 + .../resources/service-worker-page.html | 2 + .../navigation-methods/resources/slow-no-store.py | 6 + .../return-value/back-204-205-download.html | 52 +++++++++ .../return-value/back-already-detached.html | 30 +++++ .../return-value/back-beforeunload.html | 42 +++++++ .../back-forward-initial-about-blank.html | 25 ++++ .../return-value/back-forward-opaque-origin.html | 9 ++ .../return-value/back-forward-out-of-bounds.html | 16 +++ .../return-value/back-intercept-rejected.html | 28 +++++ .../return-value/back-intercept.html | 25 ++++ .../navigation-methods/return-value/back.html | 23 ++++ .../return-value/forward-already-detached.html | 33 ++++++ .../return-value/forward-beforeunload.html | 45 ++++++++ .../return-value/forward-intercept-rejected.html | 29 +++++ .../return-value/forward-intercept.html | 28 +++++ .../navigation-methods/return-value/forward.html | 24 ++++ .../return-value/navigate-204-205-download.html | 42 +++++++ .../return-value/navigate-already-detached.html | 19 +++ .../return-value/navigate-beforeunload.html | 31 +++++ .../return-value/navigate-cross-document.html | 16 +++ .../navigate-detach-in-onnavigate.html | 18 +++ .../navigate-detach-in-serialization.html | 24 ++++ .../return-value/navigate-file-url.html | 10 ++ ...avigate-initial-about-blank-cross-document.html | 21 ++++ .../return-value/navigate-initial-about-blank.html | 20 ++++ .../navigate-intercept-interrupted.html | 23 ++++ .../return-value/navigate-intercept-rejected.html | 17 +++ .../return-value/navigate-intercept.html | 15 +++ .../navigate-interrupted-within-onnavigate.html | 28 +++++ .../return-value/navigate-interrupted.html | 21 ++++ .../return-value/navigate-invalid-url.html | 10 ++ .../return-value/navigate-opaque-origin.html | 9 ++ .../return-value/navigate-preventDefault.html | 12 ++ .../navigate-push-initial-about-blank.html | 21 ++++ .../return-value/navigate-push-javascript-url.html | 19 +++ ...ion-order-beforeunload-unserializablestate.html | 31 +++++ ...jection-order-detached-unserializablestate.html | 20 ++++ ...te-rejection-order-invalidurl-beforeunload.html | 31 +++++ ...vigate-rejection-order-invalidurl-detached.html | 20 ++++ ...navigate-rejection-order-invalidurl-unload.html | 27 +++++ ...ction-order-invalidurl-unserializablestate.html | 12 ++ ...rejection-order-unload-unserializablestate.html | 27 +++++ .../return-value/navigate-unload.html | 27 +++++ .../navigate-unserializable-state.html | 21 ++++ .../navigation-methods/return-value/navigate.html | 12 ++ .../return-value/reload-already-detached.html | 19 +++ .../return-value/reload-beforeunload.html | 31 +++++ .../return-value/reload-detach-in-onnavigate.html | 18 +++ .../reload-detach-in-serialization.html | 24 ++++ .../return-value/reload-initial-about-blank.html | 20 ++++ .../return-value/reload-intercept-rejected.html | 17 +++ .../return-value/reload-intercept.html | 14 +++ .../return-value/reload-preventDefault.html | 12 ++ ...ion-order-beforeunload-unserializablestate.html | 31 +++++ ...jection-order-detached-unserializablestate.html | 20 ++++ ...rejection-order-unload-unserializablestate.html | 32 ++++++ .../return-value/reload-unload.html | 27 +++++ .../return-value/reload-unserializable-state.html | 21 ++++ .../navigation-methods/return-value/reload.html | 16 +++ .../resources/204-205-download-on-second-visit.py | 24 ++++ .../resources/back-forward-opaque-origin-page.html | 28 +++++ .../return-value/resources/helpers.js | 127 +++++++++++++++++++++ .../resources/navigate-opaque-origin-page.html | 16 +++ .../return-value/traverseTo-already-detached.html | 20 ++++ .../return-value/traverseTo-beforeunload.html | 31 +++++ .../traverseTo-cross-document-preventDefault.html | 29 +++++ .../return-value/traverseTo-current.html | 17 +++ ...etach-cross-document-before-navigate-event.html | 32 ++++++ .../traverseTo-detach-cross-document.html | 29 +++++ ...detach-same-document-before-navigate-event.html | 31 +++++ .../traverseTo-detach-same-document.html | 28 +++++ .../traverseTo-intercept-rejected.html | 30 +++++ .../return-value/traverseTo-intercept.html | 27 +++++ .../return-value/traverseTo-invalid-key.html | 10 ++ .../return-value/traverseTo-repeated.html | 24 ++++ .../return-value/traverseTo.html | 25 ++++ .../navigation-methods/sandboxing-back-parent.html | 38 ++++++ .../sandboxing-back-sibling.html | 44 +++++++ .../sandboxing-navigate-parent.html | 16 +++ .../sandboxing-navigate-sibling.html | 19 +++ .../traverseTo-after-adding-iframe.html | 34 ++++++ .../traverseTo-after-data-url.html | 33 ++++++ .../traverseTo-cross-document.html | 41 +++++++ ...etach-between-navigate-and-navigatesuccess.html | 54 +++++++++ .../traverseTo-multiple-steps.html | 25 ++++ .../traverseTo-navigates-multiple-iframes.html | 45 ++++++++ .../traverseTo-same-document.html | 43 +++++++ .../traverseTo-with-cross-origin-in-history.html | 37 ++++++ 123 files changed, 3124 insertions(+) create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/back-forward-multiple-frames.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-back.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-forward.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-traverseTo-back-multiple.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-traverseTo-forward-multiple.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/forward-to-pruned-entry.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-base-url.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-gc.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-src.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-not-loaded.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-same-url-cross-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-same-url.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-state-replace.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-state.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-info-and-state.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-intercept-history-state.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-relative-url.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-replace-cross-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-replace-same-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-same-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-state-repeated-await.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/navigate-state-repeated.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/reload-base-url.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/reload-info.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/reload-navigation-timing.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/reload-no-args.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/reload-service-worker-fetch-event.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/reload-state-and-info.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/reload-state-undefined.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/resources/fetch-event-test-worker.js create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/resources/navigate-parent.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/resources/navigate-sibling.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/resources/navigation-back.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/resources/page-with-base-url-common.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/resources/service-worker-page.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-204-205-download.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-already-detached.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-beforeunload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-initial-about-blank.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-opaque-origin.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-out-of-bounds.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-intercept-rejected.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-intercept.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/back.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-already-detached.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-beforeunload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-intercept-rejected.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-intercept.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-204-205-download.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-already-detached.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-beforeunload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-cross-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-detach-in-onnavigate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-detach-in-serialization.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-file-url.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-initial-about-blank-cross-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-initial-about-blank.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept-interrupted.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept-rejected.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-interrupted-within-onnavigate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-interrupted.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-invalid-url.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-opaque-origin.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-preventDefault.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-push-initial-about-blank.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-push-javascript-url.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-beforeunload-unserializablestate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-detached-unserializablestate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-beforeunload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-detached.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unserializablestate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-unload-unserializablestate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-unload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-unserializable-state.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-already-detached.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-beforeunload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-detach-in-onnavigate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-detach-in-serialization.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-initial-about-blank.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-intercept-rejected.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-intercept.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-preventDefault.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-beforeunload-unserializablestate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-detached-unserializablestate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-unload-unserializablestate.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-unload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-unserializable-state.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/204-205-download-on-second-visit.py create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/back-forward-opaque-origin-page.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/helpers.js create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/navigate-opaque-origin-page.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-already-detached.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-beforeunload.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-cross-document-preventDefault.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-current.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document-before-navigate-event.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document-before-navigate-event.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-intercept-rejected.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-intercept.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-invalid-key.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-repeated.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-back-parent.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-back-sibling.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-navigate-parent.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-navigate-sibling.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-after-adding-iframe.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-after-data-url.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-cross-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-detach-between-navigate-and-navigatesuccess.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-multiple-steps.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-navigates-multiple-iframes.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-same-document.html create mode 100644 testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-with-cross-origin-in-history.html (limited to 'testing/web-platform/tests/navigation-api/navigation-methods') diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/back-forward-multiple-frames.html b/testing/web-platform/tests/navigation-api/navigation-methods/back-forward-multiple-frames.html new file mode 100644 index 0000000000..738bfd37dc --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/back-forward-multiple-frames.html @@ -0,0 +1,74 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-back.html b/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-back.html new file mode 100644 index 0000000000..d44d435896 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-back.html @@ -0,0 +1,32 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-forward.html b/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-forward.html new file mode 100644 index 0000000000..e252e30994 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-forward.html @@ -0,0 +1,40 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-traverseTo-back-multiple.html b/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-traverseTo-back-multiple.html new file mode 100644 index 0000000000..03a8eb10ed --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-traverseTo-back-multiple.html @@ -0,0 +1,35 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-traverseTo-forward-multiple.html b/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-traverseTo-forward-multiple.html new file mode 100644 index 0000000000..f8e78c4b1d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/disambigaute-traverseTo-forward-multiple.html @@ -0,0 +1,39 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/forward-to-pruned-entry.html b/testing/web-platform/tests/navigation-api/navigation-methods/forward-to-pruned-entry.html new file mode 100644 index 0000000000..05f70c5c2d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/forward-to-pruned-entry.html @@ -0,0 +1,33 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-base-url.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-base-url.html new file mode 100644 index 0000000000..00fefa6608 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-base-url.html @@ -0,0 +1,15 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-gc.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-gc.html new file mode 100644 index 0000000000..d35121ec81 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-gc.html @@ -0,0 +1,18 @@ + + + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-src.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-src.html new file mode 100644 index 0000000000..8e54943669 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-src.html @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank.html new file mode 100644 index 0000000000..00b2216166 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-from-initial-about-blank.html @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-not-loaded.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-not-loaded.html new file mode 100644 index 0000000000..c1ecdaeeaf --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-not-loaded.html @@ -0,0 +1,20 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-same-url-cross-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-same-url-cross-document.html new file mode 100644 index 0000000000..2d07bdcede --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-same-url-cross-document.html @@ -0,0 +1,25 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-same-url.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-same-url.html new file mode 100644 index 0000000000..339e8c3056 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-push-same-url.html @@ -0,0 +1,26 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-state-replace.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-state-replace.html new file mode 100644 index 0000000000..bf0af521da --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-state-replace.html @@ -0,0 +1,16 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-state.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-state.html new file mode 100644 index 0000000000..0541636de5 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-history-state.html @@ -0,0 +1,16 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-info-and-state.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-info-and-state.html new file mode 100644 index 0000000000..828d7daea5 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-info-and-state.html @@ -0,0 +1,18 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-intercept-history-state.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-intercept-history-state.html new file mode 100644 index 0000000000..7faf6ffb5a --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-intercept-history-state.html @@ -0,0 +1,14 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-relative-url.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-relative-url.html new file mode 100644 index 0000000000..cc95d5e003 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-relative-url.html @@ -0,0 +1,16 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-replace-cross-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-replace-cross-document.html new file mode 100644 index 0000000000..7f016babe6 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-replace-cross-document.html @@ -0,0 +1,29 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-replace-same-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-replace-same-document.html new file mode 100644 index 0000000000..0d8493b788 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-replace-same-document.html @@ -0,0 +1,21 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-same-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-same-document.html new file mode 100644 index 0000000000..9ffd8248f8 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-same-document.html @@ -0,0 +1,23 @@ + + + +
+ diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-state-repeated-await.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-state-repeated-await.html new file mode 100644 index 0000000000..539b3dc1da --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-state-repeated-await.html @@ -0,0 +1,13 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/navigate-state-repeated.html b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-state-repeated.html new file mode 100644 index 0000000000..227bbb0cfc --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/navigate-state-repeated.html @@ -0,0 +1,20 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/reload-base-url.html b/testing/web-platform/tests/navigation-api/navigation-methods/reload-base-url.html new file mode 100644 index 0000000000..1e8d3b90c3 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/reload-base-url.html @@ -0,0 +1,16 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/reload-info.html b/testing/web-platform/tests/navigation-api/navigation-methods/reload-info.html new file mode 100644 index 0000000000..637f6976ad --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/reload-info.html @@ -0,0 +1,47 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/reload-navigation-timing.html b/testing/web-platform/tests/navigation-api/navigation-methods/reload-navigation-timing.html new file mode 100644 index 0000000000..ce03e7a7ca --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/reload-navigation-timing.html @@ -0,0 +1,15 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/reload-no-args.html b/testing/web-platform/tests/navigation-api/navigation-methods/reload-no-args.html new file mode 100644 index 0000000000..c94eae0b93 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/reload-no-args.html @@ -0,0 +1,46 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/reload-service-worker-fetch-event.html b/testing/web-platform/tests/navigation-api/navigation-methods/reload-service-worker-fetch-event.html new file mode 100644 index 0000000000..67535c70bf --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/reload-service-worker-fetch-event.html @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/reload-state-and-info.html b/testing/web-platform/tests/navigation-api/navigation-methods/reload-state-and-info.html new file mode 100644 index 0000000000..1ba26ae3da --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/reload-state-and-info.html @@ -0,0 +1,40 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/reload-state-undefined.html b/testing/web-platform/tests/navigation-api/navigation-methods/reload-state-undefined.html new file mode 100644 index 0000000000..b8b34650ab --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/reload-state-undefined.html @@ -0,0 +1,39 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/resources/fetch-event-test-worker.js b/testing/web-platform/tests/navigation-api/navigation-methods/resources/fetch-event-test-worker.js new file mode 100644 index 0000000000..98b7dd0fb5 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/resources/fetch-event-test-worker.js @@ -0,0 +1,7 @@ +self.addEventListener('fetch', function(event) { + const request = event.request; + const body = + `method = ${request.method}, ` + + `isReloadNavigation = ${request.isReloadNavigation}`; + event.transitionWhile(new Response(body)); +}); diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigate-parent.html b/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigate-parent.html new file mode 100644 index 0000000000..8584bb5774 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigate-parent.html @@ -0,0 +1,6 @@ + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigate-sibling.html b/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigate-sibling.html new file mode 100644 index 0000000000..29a5ee7390 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigate-sibling.html @@ -0,0 +1,6 @@ + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigation-back.html b/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigation-back.html new file mode 100644 index 0000000000..a1441801ac --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/resources/navigation-back.html @@ -0,0 +1,6 @@ + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/resources/page-with-base-url-common.html b/testing/web-platform/tests/navigation-api/navigation-methods/resources/page-with-base-url-common.html new file mode 100644 index 0000000000..8d9fedcc2b --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/resources/page-with-base-url-common.html @@ -0,0 +1,2 @@ + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/resources/service-worker-page.html b/testing/web-platform/tests/navigation-api/navigation-methods/resources/service-worker-page.html new file mode 100644 index 0000000000..a10ff35dce --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/resources/service-worker-page.html @@ -0,0 +1,2 @@ + +

We can't use /common/blank.html because of scope restrictions. diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py b/testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py new file mode 100644 index 0000000000..48e5fc0266 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py @@ -0,0 +1,6 @@ +import time + +def main(request, response): + # Sleep for 1sec + time.sleep(1) + response.headers.set(b"Cache-Control", b"no-cache, no-store, must-revalidate"); diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-204-205-download.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-204-205-download.html new file mode 100644 index 0000000000..5bedbf21e8 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-204-205-download.html @@ -0,0 +1,52 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-already-detached.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-already-detached.html new file mode 100644 index 0000000000..f9ff04f923 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-already-detached.html @@ -0,0 +1,30 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-beforeunload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-beforeunload.html new file mode 100644 index 0000000000..82c1f589cc --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-beforeunload.html @@ -0,0 +1,42 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-initial-about-blank.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-initial-about-blank.html new file mode 100644 index 0000000000..dfdb6611ab --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-initial-about-blank.html @@ -0,0 +1,25 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-opaque-origin.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-opaque-origin.html new file mode 100644 index 0000000000..59849e961d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-opaque-origin.html @@ -0,0 +1,9 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-out-of-bounds.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-out-of-bounds.html new file mode 100644 index 0000000000..015c090bf9 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-forward-out-of-bounds.html @@ -0,0 +1,16 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-intercept-rejected.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-intercept-rejected.html new file mode 100644 index 0000000000..9d4238087f --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-intercept-rejected.html @@ -0,0 +1,28 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-intercept.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-intercept.html new file mode 100644 index 0000000000..2654045c2b --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back-intercept.html @@ -0,0 +1,25 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back.html new file mode 100644 index 0000000000..a2b13db901 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/back.html @@ -0,0 +1,23 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-already-detached.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-already-detached.html new file mode 100644 index 0000000000..4dfa74d9f9 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-already-detached.html @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-beforeunload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-beforeunload.html new file mode 100644 index 0000000000..87fa4baa93 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-beforeunload.html @@ -0,0 +1,45 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-intercept-rejected.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-intercept-rejected.html new file mode 100644 index 0000000000..9e86dcca19 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-intercept-rejected.html @@ -0,0 +1,29 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-intercept.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-intercept.html new file mode 100644 index 0000000000..ce4ab32170 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward-intercept.html @@ -0,0 +1,28 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward.html new file mode 100644 index 0000000000..36bdba8daa --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/forward.html @@ -0,0 +1,24 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-204-205-download.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-204-205-download.html new file mode 100644 index 0000000000..f1e89b6940 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-204-205-download.html @@ -0,0 +1,42 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-already-detached.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-already-detached.html new file mode 100644 index 0000000000..33cdd6922d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-already-detached.html @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-beforeunload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-beforeunload.html new file mode 100644 index 0000000000..f0a9069677 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-beforeunload.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-cross-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-cross-document.html new file mode 100644 index 0000000000..b83b1e941f --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-cross-document.html @@ -0,0 +1,16 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-detach-in-onnavigate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-detach-in-onnavigate.html new file mode 100644 index 0000000000..0e80e1b130 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-detach-in-onnavigate.html @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-detach-in-serialization.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-detach-in-serialization.html new file mode 100644 index 0000000000..14086c9f01 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-detach-in-serialization.html @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-file-url.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-file-url.html new file mode 100644 index 0000000000..138f6ffc12 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-file-url.html @@ -0,0 +1,10 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-initial-about-blank-cross-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-initial-about-blank-cross-document.html new file mode 100644 index 0000000000..8ec76b11dd --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-initial-about-blank-cross-document.html @@ -0,0 +1,21 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-initial-about-blank.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-initial-about-blank.html new file mode 100644 index 0000000000..9734a09d01 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-initial-about-blank.html @@ -0,0 +1,20 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept-interrupted.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept-interrupted.html new file mode 100644 index 0000000000..36403c892c --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept-interrupted.html @@ -0,0 +1,23 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept-rejected.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept-rejected.html new file mode 100644 index 0000000000..79c8bd803e --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept-rejected.html @@ -0,0 +1,17 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept.html new file mode 100644 index 0000000000..a9946c71ff --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-intercept.html @@ -0,0 +1,15 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-interrupted-within-onnavigate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-interrupted-within-onnavigate.html new file mode 100644 index 0000000000..3db02c6931 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-interrupted-within-onnavigate.html @@ -0,0 +1,28 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-interrupted.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-interrupted.html new file mode 100644 index 0000000000..2c928254e0 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-interrupted.html @@ -0,0 +1,21 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-invalid-url.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-invalid-url.html new file mode 100644 index 0000000000..5b5b442c91 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-invalid-url.html @@ -0,0 +1,10 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-opaque-origin.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-opaque-origin.html new file mode 100644 index 0000000000..51500eb8d8 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-opaque-origin.html @@ -0,0 +1,9 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-preventDefault.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-preventDefault.html new file mode 100644 index 0000000000..6257c5a03d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-preventDefault.html @@ -0,0 +1,12 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-push-initial-about-blank.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-push-initial-about-blank.html new file mode 100644 index 0000000000..9d47c8d0b5 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-push-initial-about-blank.html @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-push-javascript-url.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-push-javascript-url.html new file mode 100644 index 0000000000..e41e06a78d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-push-javascript-url.html @@ -0,0 +1,19 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-beforeunload-unserializablestate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-beforeunload-unserializablestate.html new file mode 100644 index 0000000000..878280a56e --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-beforeunload-unserializablestate.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-detached-unserializablestate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-detached-unserializablestate.html new file mode 100644 index 0000000000..2c6f9a28d4 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-detached-unserializablestate.html @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-beforeunload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-beforeunload.html new file mode 100644 index 0000000000..4873e85a2f --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-beforeunload.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-detached.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-detached.html new file mode 100644 index 0000000000..2250a54114 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-detached.html @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unload.html new file mode 100644 index 0000000000..d778dd662c --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unload.html @@ -0,0 +1,27 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unserializablestate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unserializablestate.html new file mode 100644 index 0000000000..07e194ca41 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unserializablestate.html @@ -0,0 +1,12 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-unload-unserializablestate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-unload-unserializablestate.html new file mode 100644 index 0000000000..417dd27174 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-unload-unserializablestate.html @@ -0,0 +1,27 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-unload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-unload.html new file mode 100644 index 0000000000..fbc1fde6e9 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-unload.html @@ -0,0 +1,27 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-unserializable-state.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-unserializable-state.html new file mode 100644 index 0000000000..36464ec3c5 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate-unserializable-state.html @@ -0,0 +1,21 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate.html new file mode 100644 index 0000000000..34ff84f0e9 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/navigate.html @@ -0,0 +1,12 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-already-detached.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-already-detached.html new file mode 100644 index 0000000000..9b0780c4a9 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-already-detached.html @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-beforeunload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-beforeunload.html new file mode 100644 index 0000000000..05338acc5e --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-beforeunload.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-detach-in-onnavigate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-detach-in-onnavigate.html new file mode 100644 index 0000000000..621bb598f6 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-detach-in-onnavigate.html @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-detach-in-serialization.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-detach-in-serialization.html new file mode 100644 index 0000000000..d958d9cc84 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-detach-in-serialization.html @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-initial-about-blank.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-initial-about-blank.html new file mode 100644 index 0000000000..9e717fee48 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-initial-about-blank.html @@ -0,0 +1,20 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-intercept-rejected.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-intercept-rejected.html new file mode 100644 index 0000000000..93cd75c2b9 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-intercept-rejected.html @@ -0,0 +1,17 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-intercept.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-intercept.html new file mode 100644 index 0000000000..92f1636a6e --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-intercept.html @@ -0,0 +1,14 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-preventDefault.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-preventDefault.html new file mode 100644 index 0000000000..747044b60f --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-preventDefault.html @@ -0,0 +1,12 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-beforeunload-unserializablestate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-beforeunload-unserializablestate.html new file mode 100644 index 0000000000..950d665218 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-beforeunload-unserializablestate.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-detached-unserializablestate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-detached-unserializablestate.html new file mode 100644 index 0000000000..9206f18e6c --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-detached-unserializablestate.html @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-unload-unserializablestate.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-unload-unserializablestate.html new file mode 100644 index 0000000000..9e7edcbba4 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-rejection-order-unload-unserializablestate.html @@ -0,0 +1,32 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-unload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-unload.html new file mode 100644 index 0000000000..1906659d1d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-unload.html @@ -0,0 +1,27 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-unserializable-state.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-unserializable-state.html new file mode 100644 index 0000000000..76fa870558 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload-unserializable-state.html @@ -0,0 +1,21 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload.html new file mode 100644 index 0000000000..388f0d94b5 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/reload.html @@ -0,0 +1,16 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/204-205-download-on-second-visit.py b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/204-205-download-on-second-visit.py new file mode 100644 index 0000000000..c18b0dec3d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/204-205-download-on-second-visit.py @@ -0,0 +1,24 @@ +def main(request, response): + key = request.GET[b"id"] + + # If hit with a POST with ?action=X, store X in the stash + if request.method == "POST": + action = request.GET[b"action"] + request.server.stash.put(key, action) + + return (204, [], "") + + # If hit with a GET, either return a normal initial page, or the abnormal requested response + elif request.method == "GET": + action = request.server.stash.take(key) + + if action is None: + return (200, [("Content-Type", "text/html"), ("Cache-Control", "no-store")], "initial page") + if action == b"204": + return (204, [], "") + if action == b"205": + return (205, [], "") + if action == b"download": + return (200, [("Content-Type", "text/plain"), ("Content-Disposition", "attachment")], "some text to download") + + return (400, [], "") diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/back-forward-opaque-origin-page.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/back-forward-opaque-origin-page.html new file mode 100644 index 0000000000..ec63363952 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/back-forward-opaque-origin-page.html @@ -0,0 +1,28 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/helpers.js b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/helpers.js new file mode 100644 index 0000000000..63d706ed28 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/helpers.js @@ -0,0 +1,127 @@ +window.assertReturnValue = (result, w = window) => { + assert_equals(Object.getPrototypeOf(result), w.Object.prototype, "result object must be from the right realm"); + assert_array_equals(Reflect.ownKeys(result), ["committed", "finished"]); + assert_true(result.committed instanceof w.Promise); + assert_true(result.finished instanceof w.Promise); + assert_not_equals(result.committed, result.finished); +}; + +window.assertNeverSettles = (t, result, w = window) => { + assertReturnValue(result, w); + result.committed.then( + t.unreached_func("committed must not fulfill"), + t.unreached_func("committed must not reject") + ); + + result.finished.then( + t.unreached_func("finished must not fulfill"), + t.unreached_func("finished must not reject") + ); +}; + +window.assertBothFulfillEntryNotAvailable = async (t, result, w = window) => { + assertReturnValue(result, w); + + // Don't use await here so that we can catch out-of-order settlements. + let committedValue; + result.committed.then( + t.step_func(v => { committedValue = v;}), + t.unreached_func("committed must not reject") + ); + + const finishedValue = await result.finished; + + assert_not_equals(committedValue, undefined, "committed must fulfill before finished"); + assert_equals(finishedValue, committedValue, "committed and finished must fulfill with the same value"); + assert_true(finishedValue instanceof w.NavigationHistoryEntry, "fulfillment value must be a NavigationHistoryEntry"); +}; + +window.assertBothFulfill = async (t, result, expected, w = window) => { + assertReturnValue(result, w); + + // Don't use await here so that we can catch out-of-order settlements. + let committedValue; + result.committed.then( + t.step_func(v => { committedValue = v; }), + t.unreached_func("committed must not reject") + ); + + const finishedValue = await result.finished; + + assert_not_equals(committedValue, undefined, "committed must fulfill before finished"); + assert_equals(finishedValue, committedValue, "committed and finished must fulfill with the same value"); + assert_true(finishedValue instanceof w.NavigationHistoryEntry, "fulfillment value must be a NavigationHistoryEntry"); + assert_equals(finishedValue, expected); +}; + +window.assertCommittedFulfillsFinishedRejectsExactly = async (t, result, expectedEntry, expectedRejection, w = window) => { + assertReturnValue(result, w); + + // Don't use await here so that we can catch out-of-order settlements. + let committedValue; + result.committed.then( + t.step_func(v => { committedValue = v; }), + t.unreached_func("committed must not reject") + ); + + await promise_rejects_exactly(t, expectedRejection, result.finished); + + assert_not_equals(committedValue, undefined, "committed must fulfill before finished rejects"); + assert_true(committedValue instanceof w.NavigationHistoryEntry, "fulfillment value must be a NavigationHistoryEntry"); + assert_equals(committedValue, expectedEntry); +}; + +window.assertCommittedFulfillsFinishedRejectsDOM = async (t, result, expectedEntry, expectedDOMExceptionCode, w = window, domExceptionConstructor = w.DOMException, navigationHistoryEntryConstuctor = w.NavigationHistoryEntry) => { + assertReturnValue(result, w); + + let committedValue; + result.committed.then( + t.step_func(v => { committedValue = v; }), + t.unreached_func("committed must not reject") + ); + + await promise_rejects_dom(t, expectedDOMExceptionCode, domExceptionConstructor, result.finished); + + assert_not_equals(committedValue, undefined, "committed must fulfill before finished rejects"); + assert_true(committedValue instanceof navigationHistoryEntryConstuctor, "fulfillment value must be an NavigationHistoryEntry"); + assert_equals(committedValue, expectedEntry); +}; + +window.assertBothRejectExactly = async (t, result, expectedRejection, w = window) => { + assertReturnValue(result, w); + + let committedReason, finishedReason; + await Promise.all([ + result.committed.then( + t.unreached_func("committed must not fulfill"), + t.step_func(r => { committedReason = r; }) + ), + result.finished.then( + t.unreached_func("finished must not fulfill"), + t.step_func(r => { finishedReason = r; }) + ) + ]); + + assert_equals(committedReason, finishedReason, "committed and finished must reject with the same value"); + assert_equals(expectedRejection, committedReason); +}; + +window.assertBothRejectDOM = async (t, result, expectedDOMExceptionCode, w = window, domExceptionConstructor = w.DOMException) => { + assertReturnValue(result, w); + + // Don't use await here so that we can catch out-of-order settlements. + let committedReason, finishedReason; + await Promise.all([ + result.committed.then( + t.unreached_func("committed must not fulfill"), + t.step_func(r => { committedReason = r; }) + ), + result.finished.then( + t.unreached_func("finished must not fulfill"), + t.step_func(r => { finishedReason = r; }) + ) + ]); + + assert_equals(committedReason, finishedReason, "committed and finished must reject with the same value"); + assert_throws_dom(expectedDOMExceptionCode, domExceptionConstructor, () => { throw committedReason; }); +}; diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/navigate-opaque-origin-page.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/navigate-opaque-origin-page.html new file mode 100644 index 0000000000..831eefdb61 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/resources/navigate-opaque-origin-page.html @@ -0,0 +1,16 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-already-detached.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-already-detached.html new file mode 100644 index 0000000000..b974393df6 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-already-detached.html @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-beforeunload.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-beforeunload.html new file mode 100644 index 0000000000..3b2722235e --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-beforeunload.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-cross-document-preventDefault.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-cross-document-preventDefault.html new file mode 100644 index 0000000000..09c91ee647 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-cross-document-preventDefault.html @@ -0,0 +1,29 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-current.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-current.html new file mode 100644 index 0000000000..212fe992cf --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-current.html @@ -0,0 +1,17 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document-before-navigate-event.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document-before-navigate-event.html new file mode 100644 index 0000000000..ed319f6223 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document-before-navigate-event.html @@ -0,0 +1,32 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document.html new file mode 100644 index 0000000000..8784313b70 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-cross-document.html @@ -0,0 +1,29 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document-before-navigate-event.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document-before-navigate-event.html new file mode 100644 index 0000000000..592ac6f199 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document-before-navigate-event.html @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document.html new file mode 100644 index 0000000000..b0308b8df8 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-detach-same-document.html @@ -0,0 +1,28 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-intercept-rejected.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-intercept-rejected.html new file mode 100644 index 0000000000..f934eae5d4 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-intercept-rejected.html @@ -0,0 +1,30 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-intercept.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-intercept.html new file mode 100644 index 0000000000..a4cb4e711d --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-intercept.html @@ -0,0 +1,27 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-invalid-key.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-invalid-key.html new file mode 100644 index 0000000000..42be40bfa7 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-invalid-key.html @@ -0,0 +1,10 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-repeated.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-repeated.html new file mode 100644 index 0000000000..d1754d6729 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo-repeated.html @@ -0,0 +1,24 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo.html b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo.html new file mode 100644 index 0000000000..8e00f5ba91 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/return-value/traverseTo.html @@ -0,0 +1,25 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-back-parent.html b/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-back-parent.html new file mode 100644 index 0000000000..6eee3f917c --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-back-parent.html @@ -0,0 +1,38 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-back-sibling.html b/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-back-sibling.html new file mode 100644 index 0000000000..97c03ea0c2 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-back-sibling.html @@ -0,0 +1,44 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-navigate-parent.html b/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-navigate-parent.html new file mode 100644 index 0000000000..b7af32443f --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-navigate-parent.html @@ -0,0 +1,16 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-navigate-sibling.html b/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-navigate-sibling.html new file mode 100644 index 0000000000..c8e76fc4a6 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/sandboxing-navigate-sibling.html @@ -0,0 +1,19 @@ + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-after-adding-iframe.html b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-after-adding-iframe.html new file mode 100644 index 0000000000..5ab2820551 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-after-adding-iframe.html @@ -0,0 +1,34 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-after-data-url.html b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-after-data-url.html new file mode 100644 index 0000000000..0b21a741d3 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-after-data-url.html @@ -0,0 +1,33 @@ + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-cross-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-cross-document.html new file mode 100644 index 0000000000..2540639bad --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-cross-document.html @@ -0,0 +1,41 @@ + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-detach-between-navigate-and-navigatesuccess.html b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-detach-between-navigate-and-navigatesuccess.html new file mode 100644 index 0000000000..43bde9a103 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-detach-between-navigate-and-navigatesuccess.html @@ -0,0 +1,54 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-multiple-steps.html b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-multiple-steps.html new file mode 100644 index 0000000000..059eb214a8 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-multiple-steps.html @@ -0,0 +1,25 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-navigates-multiple-iframes.html b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-navigates-multiple-iframes.html new file mode 100644 index 0000000000..3d6adb5341 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-navigates-multiple-iframes.html @@ -0,0 +1,45 @@ + + + + + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-same-document.html b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-same-document.html new file mode 100644 index 0000000000..1a32bce99c --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-same-document.html @@ -0,0 +1,43 @@ + + + + diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-with-cross-origin-in-history.html b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-with-cross-origin-in-history.html new file mode 100644 index 0000000000..a6b7745584 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/traverseTo-with-cross-origin-in-history.html @@ -0,0 +1,37 @@ + + + + + + + -- cgit v1.2.3