diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/portals | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/portals')
38 files changed, 362 insertions, 0 deletions
diff --git a/testing/web-platform/meta/portals/__dir__.ini b/testing/web-platform/meta/portals/__dir__.ini new file mode 100644 index 0000000000..72bd1d3fe1 --- /dev/null +++ b/testing/web-platform/meta/portals/__dir__.ini @@ -0,0 +1 @@ +implementation-status: not-implementing diff --git a/testing/web-platform/meta/portals/about-blank-cannot-host.html.ini b/testing/web-platform/meta/portals/about-blank-cannot-host.html.ini new file mode 100644 index 0000000000..6305ecea7d --- /dev/null +++ b/testing/web-platform/meta/portals/about-blank-cannot-host.html.ini @@ -0,0 +1,4 @@ +[about-blank-cannot-host.html] + [about:blank cannot host a portal] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/csp/frame-ancestors.sub.html.ini b/testing/web-platform/meta/portals/csp/frame-ancestors.sub.html.ini new file mode 100644 index 0000000000..97d38a92ea --- /dev/null +++ b/testing/web-platform/meta/portals/csp/frame-ancestors.sub.html.ini @@ -0,0 +1,4 @@ +[frame-ancestors.sub.html] + [Violation report status OK.] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/csp/frame-src.sub.html.ini b/testing/web-platform/meta/portals/csp/frame-src.sub.html.ini new file mode 100644 index 0000000000..55304af320 --- /dev/null +++ b/testing/web-platform/meta/portals/csp/frame-src.sub.html.ini @@ -0,0 +1,10 @@ +[frame-src.sub.html] + [Tests that a portal will fail to load on an origin different than the one specified in the frame-src CSP, but that it can be loaded when the origin matches the frame-src CSP.] + expected: FAIL + + [Tests that a portal can't be loaded when it violates frame-src] + expected: FAIL + + [Tests that a portal can be loaded when the origin matches the frame-src CSP header.] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/history/history-manipulation-inside-portal-with-subframes.html.ini b/testing/web-platform/meta/portals/history/history-manipulation-inside-portal-with-subframes.html.ini new file mode 100644 index 0000000000..00d192e454 --- /dev/null +++ b/testing/web-platform/meta/portals/history/history-manipulation-inside-portal-with-subframes.html.ini @@ -0,0 +1,14 @@ +[history-manipulation-inside-portal-with-subframes.html] + expected: TIMEOUT + [Setting iframe src navigates independently with replacement in a portal] + expected: TIMEOUT + + [iframe navigates itself independently with replacement in a portal] + expected: NOTRUN + + [Setting cross site iframe src navigates independently with replacement in a portal] + expected: NOTRUN + + [Cross site iframe navigates itself independently with replacement in a portal] + expected: NOTRUN + diff --git a/testing/web-platform/meta/portals/history/history-manipulation-inside-portal.html.ini b/testing/web-platform/meta/portals/history/history-manipulation-inside-portal.html.ini new file mode 100644 index 0000000000..927f03560c --- /dev/null +++ b/testing/web-platform/meta/portals/history/history-manipulation-inside-portal.html.ini @@ -0,0 +1,19 @@ +[history-manipulation-inside-portal.html] + [location.replace navigates independently in a portal] + expected: FAIL + + [history.replaceState navigates independently in a portal] + expected: FAIL + + [Synthetic anchor click navigates independently with replacement in a portal] + expected: FAIL + + [history.pushState navigates independently with replacement in a portal] + expected: FAIL + + [location.assign navigates independently with replacement in a portal] + expected: FAIL + + [Setting location.href navigates independently with replacement in a portal] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/htmlportalelement-event-handler-content-attributes.html.ini b/testing/web-platform/meta/portals/htmlportalelement-event-handler-content-attributes.html.ini new file mode 100644 index 0000000000..175d4983ac --- /dev/null +++ b/testing/web-platform/meta/portals/htmlportalelement-event-handler-content-attributes.html.ini @@ -0,0 +1,4 @@ +[htmlportalelement-event-handler-content-attributes.html] + [Tests that event handler content attributes for supported event names work.] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portal-activate-data.html.ini b/testing/web-platform/meta/portals/portal-activate-data.html.ini new file mode 100644 index 0000000000..effee93902 --- /dev/null +++ b/testing/web-platform/meta/portals/portal-activate-data.html.ini @@ -0,0 +1,22 @@ +[portal-activate-data.html] + [A string can be passed through activate data.] + expected: FAIL + + [A message port can be passed through activate data.] + expected: FAIL + + [Uncloneable data has its exception propagated.] + expected: FAIL + + [Errors during transfer list processing are propagated.] + expected: FAIL + + [An image bitmap can be transferred through activate data.] + expected: FAIL + + [An array buffer can be transferred through activate data.] + expected: FAIL + + [A SharedArrayBuffer cannot be passed through activate data.] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portal-activate-event-constructor.html.ini b/testing/web-platform/meta/portals/portal-activate-event-constructor.html.ini new file mode 100644 index 0000000000..3cb7c4f2b5 --- /dev/null +++ b/testing/web-platform/meta/portals/portal-activate-event-constructor.html.ini @@ -0,0 +1,10 @@ +[portal-activate-event-constructor.html] + [A PortalActivateEvent should expose exactly the data object supplied in the original realm] + expected: FAIL + + [Invoking adoptPredecessor on a synthetic PortalActivateEvent should throw] + expected: FAIL + + [It should be possible to construct a PortalActivateEvent with a dictionary] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portal-activate-event.html.ini b/testing/web-platform/meta/portals/portal-activate-event.html.ini new file mode 100644 index 0000000000..57c01a150b --- /dev/null +++ b/testing/web-platform/meta/portals/portal-activate-event.html.ini @@ -0,0 +1,10 @@ +[portal-activate-event.html] + [Tests that the PortalActivateEvent is dispatched when a portal is activated.] + expected: FAIL + + [Tests that the portalactivate event handler is dispatched when a portal is activated.] + expected: FAIL + + [Tests that the HTMLBodyElement has the portalactivate event handler.] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portal-non-http-navigation.html.ini b/testing/web-platform/meta/portals/portal-non-http-navigation.html.ini new file mode 100644 index 0000000000..5e43a2fca1 --- /dev/null +++ b/testing/web-platform/meta/portals/portal-non-http-navigation.html.ini @@ -0,0 +1,10 @@ +[portal-non-http-navigation.html] + [Tests that a portal can't navigate to javascript URLs.] + expected: FAIL + + [Tests that a portal can't navigate to about:blank.] + expected: FAIL + + [Tests that a portal can't navigate to a data URL.] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portal-onload-event.html.ini b/testing/web-platform/meta/portals/portal-onload-event.html.ini new file mode 100644 index 0000000000..43a50ef059 --- /dev/null +++ b/testing/web-platform/meta/portals/portal-onload-event.html.ini @@ -0,0 +1,4 @@ +[portal-onload-event.html] + [Tests that the load event is dispatched when a portal finishes loading.] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-activate-empty-browsing-context.html.ini b/testing/web-platform/meta/portals/portals-activate-empty-browsing-context.html.ini new file mode 100644 index 0000000000..d465eb2657 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-activate-empty-browsing-context.html.ini @@ -0,0 +1,7 @@ +[portals-activate-empty-browsing-context.html] + [A portal that has not completed an initial navigation cannot be activated] + expected: FAIL + + [A portal that has never been navigated cannot be activated] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-activate-inside-iframe.html.ini b/testing/web-platform/meta/portals/portals-activate-inside-iframe.html.ini new file mode 100644 index 0000000000..1fa9b505df --- /dev/null +++ b/testing/web-platform/meta/portals/portals-activate-inside-iframe.html.ini @@ -0,0 +1,4 @@ +[portals-activate-inside-iframe.html] + [activating portal inside iframe should fail] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-activate-inside-portal.html.ini b/testing/web-platform/meta/portals/portals-activate-inside-portal.html.ini new file mode 100644 index 0000000000..1113cb1444 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-activate-inside-portal.html.ini @@ -0,0 +1,4 @@ +[portals-activate-inside-portal.html] + [activating a nested portal should throw an error] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-activate-network-error.html.ini b/testing/web-platform/meta/portals/portals-activate-network-error.html.ini new file mode 100644 index 0000000000..d7bfc2e14c --- /dev/null +++ b/testing/web-platform/meta/portals/portals-activate-network-error.html.ini @@ -0,0 +1,4 @@ +[portals-activate-network-error.html] + [A portal that is showing inline content for a network error cannot be activated] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-activate-no-browsing-context.html.ini b/testing/web-platform/meta/portals/portals-activate-no-browsing-context.html.ini new file mode 100644 index 0000000000..5d68952cb2 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-activate-no-browsing-context.html.ini @@ -0,0 +1,4 @@ +[portals-activate-no-browsing-context.html] + [A portal with nothing in it cannot be activated] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-activate-resolution.html.ini b/testing/web-platform/meta/portals/portals-activate-resolution.html.ini new file mode 100644 index 0000000000..0b9131b150 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-activate-resolution.html.ini @@ -0,0 +1,4 @@ +[portals-activate-resolution.html] + [portals-activate-resolution] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-activate-twice.html.ini b/testing/web-platform/meta/portals/portals-activate-twice.html.ini new file mode 100644 index 0000000000..44fe2d7261 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-activate-twice.html.ini @@ -0,0 +1,7 @@ +[portals-activate-twice.html] + [Calling activate when a portal is already activating should fail] + expected: FAIL + + [portals-activate-twice] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-adopt-predecessor.html.ini b/testing/web-platform/meta/portals/portals-adopt-predecessor.html.ini new file mode 100644 index 0000000000..b8852c9347 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-adopt-predecessor.html.ini @@ -0,0 +1,22 @@ +[portals-adopt-predecessor.html] + [Tests that a portal can adopt its predecessor.] + expected: FAIL + + [Tests that trying to adopt the predecessor after the PortalActivateEvent will throw an exception.] + expected: FAIL + + [Tests that trying to adopt the predecessor twice will throw an exception.] + expected: FAIL + + [Tests that an adopting, inserting and then removing a predecessor works correctly] + expected: FAIL + + [Tests that activating an adopted predecessor without inserting it works] + expected: FAIL + + [Tests that the adopted predecessor is destroyed if it isn't inserted] + expected: FAIL + + [Tests that an adopted portal can be inserted into a disconnected node.] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-api.html.ini b/testing/web-platform/meta/portals/portals-api.html.ini new file mode 100644 index 0000000000..63d843de20 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-api.html.ini @@ -0,0 +1,4 @@ +[portals-api.html] + [portal element exists] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-cross-origin-load.sub.html.ini b/testing/web-platform/meta/portals/portals-cross-origin-load.sub.html.ini new file mode 100644 index 0000000000..87c65b3381 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-cross-origin-load.sub.html.ini @@ -0,0 +1,4 @@ +[portals-cross-origin-load.sub.html] + [portals-cross-origin-load] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-focus.sub.html.ini b/testing/web-platform/meta/portals/portals-focus.sub.html.ini new file mode 100644 index 0000000000..a507671e1c --- /dev/null +++ b/testing/web-platform/meta/portals/portals-focus.sub.html.ini @@ -0,0 +1,22 @@ +[portals-focus.sub.html] + [test that an element inside a portal cannot steal focus] + expected: FAIL + + [test that an element inside a portal's x-origin subframe cannot steal focus] + expected: FAIL + + [test that a x-origin iframe inside an adopted portal cannot steal focus] + expected: FAIL + + [test that an element inside an adopted portal cannot steal focus] + expected: FAIL + + [test that a portal is keyboard focusable] + expected: FAIL + + [test that we cannot tab into a portal's contents] + expected: FAIL + + [test that a portal is keyboard activatable] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-host-exposure.sub.html.ini b/testing/web-platform/meta/portals/portals-host-exposure.sub.html.ini new file mode 100644 index 0000000000..ca7155d2e2 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-host-exposure.sub.html.ini @@ -0,0 +1,10 @@ +[portals-host-exposure.sub.html] + [window.portalHost should be exposed in same-origin portal] + expected: FAIL + + [window.portalHost should be exposed in cross-origin portal] + expected: FAIL + + [window.portalHost should be exposed in portal after cross-origin navigation] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-host-hidden-after-activation.html.ini b/testing/web-platform/meta/portals/portals-host-hidden-after-activation.html.ini new file mode 100644 index 0000000000..aa8d40a07e --- /dev/null +++ b/testing/web-platform/meta/portals/portals-host-hidden-after-activation.html.ini @@ -0,0 +1,4 @@ +[portals-host-hidden-after-activation.html] + [window.portalHost should be null after portal is activated] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-host-null.html.ini b/testing/web-platform/meta/portals/portals-host-null.html.ini new file mode 100644 index 0000000000..8f7cf8bfd8 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-host-null.html.ini @@ -0,0 +1,4 @@ +[portals-host-null.html] + [portals-host-null] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-host-post-message.sub.html.ini b/testing/web-platform/meta/portals/portals-host-post-message.sub.html.ini new file mode 100644 index 0000000000..24d92eb5b0 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-host-post-message.sub.html.ini @@ -0,0 +1,38 @@ +[portals-host-post-message.sub.html] + expected: ERROR + [Calling postMessage after receiving onactivate event should fail] + expected: FAIL + + [Message received after postMessage from portal host in cross-origin-portal] + expected: FAIL + + [postMessage with invalid transferable should throw error] + expected: FAIL + + [postMessage with array buffer without transfer] + expected: FAIL + + [postMessage with message ports] + expected: FAIL + + [Message received from cross-origin portal host with target origin correctly specified] + expected: FAIL + + [postMessage should throw error when serialization fails] + expected: FAIL + + [postMessage before and after portal navigation should work] + expected: FAIL + + [postMessage with object message] + expected: FAIL + + [Message received from same-origin portal host with no target origin specified] + expected: FAIL + + [postMessage with array buffer with transfer] + expected: FAIL + + [Message received after postMessage from portal host] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-navigate-after-adoption.html.ini b/testing/web-platform/meta/portals/portals-navigate-after-adoption.html.ini new file mode 100644 index 0000000000..9e50db8469 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-navigate-after-adoption.html.ini @@ -0,0 +1,4 @@ +[portals-navigate-after-adoption.html] + [can set portal src during portalactivate] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-nested.html.ini b/testing/web-platform/meta/portals/portals-nested.html.ini new file mode 100644 index 0000000000..3592352ee7 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-nested.html.ini @@ -0,0 +1,4 @@ +[portals-nested.html] + [nested portals shouldn't crash] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-post-message.sub.html.ini b/testing/web-platform/meta/portals/portals-post-message.sub.html.ini new file mode 100644 index 0000000000..465b95fffd --- /dev/null +++ b/testing/web-platform/meta/portals/portals-post-message.sub.html.ini @@ -0,0 +1,55 @@ +[portals-post-message.sub.html] + [cannot call postMessage on portal without portal browsing context] + expected: FAIL + + [postMessage message received by portalHost in cross-origin portal] + expected: FAIL + + [postMessage received by portal host in cross-origin portal when target origin is specified] + expected: FAIL + + [postMessage message received by portalHost] + expected: FAIL + + [postMessage after activate throws error] + expected: FAIL + + [message should not be delivered to cross-origin portal when targetOrigin is not specified] + expected: FAIL + + [message should not be delivered to portal when targetOrigin does not match] + expected: FAIL + + [postMessage before activate should work and preserve order] + expected: FAIL + + [postMessage received by portal host in same-origin portal for multiple valid target origins] + expected: FAIL + + [postMessage during activate throws error] + expected: FAIL + + [postMessage with includeUserActivation] + expected: FAIL + + [postMessage with array buffer without transfer] + expected: FAIL + + [postMessage with message ports and cross-origin portal] + expected: FAIL + + [postMessage with transferred array buffer] + expected: FAIL + + [postMessage with message ports and same-origin portal] + expected: FAIL + + [postMessage should fail with invalid ports] + expected: FAIL + + [postMessage with message object] + expected: FAIL + + [postMessage should fail if message serialization fails] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-referrer-inherit-header.html.ini b/testing/web-platform/meta/portals/portals-referrer-inherit-header.html.ini new file mode 100644 index 0000000000..9d798a01a5 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-referrer-inherit-header.html.ini @@ -0,0 +1,4 @@ +[portals-referrer-inherit-header.html] + [portal contents should be loaded with no referrer if document requests it] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-referrer-inherit-meta.html.ini b/testing/web-platform/meta/portals/portals-referrer-inherit-meta.html.ini new file mode 100644 index 0000000000..5c4a0394df --- /dev/null +++ b/testing/web-platform/meta/portals/portals-referrer-inherit-meta.html.ini @@ -0,0 +1,4 @@ +[portals-referrer-inherit-meta.html] + [portal contents should be loaded with no referrer if document requests it] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-referrer.html.ini b/testing/web-platform/meta/portals/portals-referrer.html.ini new file mode 100644 index 0000000000..8ed1154c81 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-referrer.html.ini @@ -0,0 +1,10 @@ +[portals-referrer.html] + [portal contents should be loaded with referrer] + expected: FAIL + + [portal contents should be loaded with no referrer if referrerpolicy=no-referrer] + expected: FAIL + + [portal contents should be loaded with origin only if referrerpolicy=origin] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-rendering.html.ini b/testing/web-platform/meta/portals/portals-rendering.html.ini new file mode 100644 index 0000000000..ae07b40c60 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-rendering.html.ini @@ -0,0 +1,2 @@ +[portals-rendering.html] + expected: FAIL diff --git a/testing/web-platform/meta/portals/portals-repeated-activate.html.ini b/testing/web-platform/meta/portals/portals-repeated-activate.html.ini new file mode 100644 index 0000000000..a853de10c8 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-repeated-activate.html.ini @@ -0,0 +1,4 @@ +[portals-repeated-activate.html] + [test activation in page that has been reactivated] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/portals-set-src-after-activate.html.ini b/testing/web-platform/meta/portals/portals-set-src-after-activate.html.ini new file mode 100644 index 0000000000..737a2f5385 --- /dev/null +++ b/testing/web-platform/meta/portals/portals-set-src-after-activate.html.ini @@ -0,0 +1,4 @@ +[portals-set-src-after-activate.html] + [Tests that a portal element can be fully reused after activate has detached it] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/predecessor-fires-unload.html.ini b/testing/web-platform/meta/portals/predecessor-fires-unload.html.ini new file mode 100644 index 0000000000..f2dffbe7ef --- /dev/null +++ b/testing/web-platform/meta/portals/predecessor-fires-unload.html.ini @@ -0,0 +1,7 @@ +[predecessor-fires-unload.html] + [pagehide and unload should fire if the predecessor is not adopted] + expected: FAIL + + [pagehide and unload should fire if the predecessor is not adopted, even without a window/opener association] + expected: FAIL + diff --git a/testing/web-platform/meta/portals/xfo/portals-xfo-deny.sub.html.ini b/testing/web-platform/meta/portals/xfo/portals-xfo-deny.sub.html.ini new file mode 100644 index 0000000000..adc00eabae --- /dev/null +++ b/testing/web-platform/meta/portals/xfo/portals-xfo-deny.sub.html.ini @@ -0,0 +1,10 @@ +[portals-xfo-deny.sub.html] + [`XFO: DENY` blocks same-origin portals.] + expected: FAIL + + [`XFO: DENY` blocks cross-origin portals.] + expected: FAIL + + [Portals blocked by `XFO: DENY` cannot be activated.] + expected: FAIL + |