WebKit Bugzilla
Attachment 368345 Details for
Bug 197322
: Update WPT referrer-policy tests to use hosts[alt]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch (text/plain), 4.11 MB, created by
youenn fablet
on 2019-04-26 13:19:53 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
youenn fablet
Created:
2019-04-26 13:19:53 PDT
Size:
4.11 MB
patch
obsolete
>diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index 4987ccfdeb2..7e7c87a9ab9 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,12 @@ >+2019-04-26 Youenn Fablet <youenn@apple.com> >+ >+ Update WPT referrer-policy tests to use hosts[alt] >+ https://bugs.webkit.org/show_bug.cgi?id=197322 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * TestExpectations: Skipping flaky tests. >+ > 2019-04-26 Youenn Fablet <youenn@apple.com> > > Use normal loading path for ping loads >diff --git a/LayoutTests/TestExpectations b/LayoutTests/TestExpectations >index f0c42eb1db2..aa2f61db353 100644 >--- a/LayoutTests/TestExpectations >+++ b/LayoutTests/TestExpectations >@@ -194,6 +194,15 @@ imported/w3c/web-platform-tests/secure-contexts/shared-worker-secure-first.https > # Per specification, if the scripts are identical, we do not install the new script and return the existing registration. > imported/w3c/web-platform-tests/service-workers/service-worker/import-scripts-redirect.https.html [ Skip ] > >+# Newly imported service worker tests that are always failing. >+imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/image-decoding.html [ Failure ] >+imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-stylesheet.html [ Failure ] >+imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet.html [ Failure ] >+imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet.html [ Failure ] >+imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet.html [ Failure ] >+imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction.html [ Failure ] >+imported/w3c/web-platform-tests/referrer-policy/css-integration/image/processing-instruction.html [ Failure ] >+ > # Newly imported service worker tests that are timing out. > imported/w3c/web-platform-tests/service-workers/service-worker/dedicated-worker-service-worker-interception.https.html [ Skip ] > imported/w3c/web-platform-tests/service-workers/service-worker/embed-and-object-are-not-intercepted.https.html [ Skip ] >diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog >index 3396ced2312..9813a215b97 100644 >--- a/LayoutTests/imported/w3c/ChangeLog >+++ b/LayoutTests/imported/w3c/ChangeLog >@@ -1,3 +1,3288 @@ >+2019-04-26 Youenn Fablet <youenn@apple.com> >+ >+ Update WPT referrer-policy tests to use hosts[alt] >+ https://bugs.webkit.org/show_bug.cgi?id=197322 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Update tests to use hosts[alt] instead of hardcoding www1 in the tests. >+ Update python scripts to get redirection origin from the request URL directly. >+ Add expected.txt files. >+ Make WPT server use 127.0.0.1 as alternate host. >+ >+ * resources/config.json: >+ * web-platform-tests/common/security-features/resources/common.js: >+ (getRequestURLs): >+ * web-platform-tests/common/security-features/subresource/subresource.py: >+ (redirect): >+ (create_url): >+ (preprocess_redirection): >+ * web-platform-tests/referrer-policy/README.md: >+ * web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction.html: >+ * web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction.html: >+ * web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/image/external-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/image/external-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/image/inline-style-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/image/inline-style.html: >+ * web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/image/presentation-attribute-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/image/presentation-attribute.html: >+ * web-platform-tests/referrer-policy/css-integration/image/processing-instruction-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/image/processing-instruction.html: >+ * web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/svg/inline-style-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/svg/inline-style.html: >+ * web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet.html: >+ * web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute.html: >+ * web-platform-tests/referrer-policy/css-integration/svg/processing-instruction-expected.txt: Added. >+ * web-platform-tests/referrer-policy/css-integration/svg/processing-instruction.html: >+ * web-platform-tests/referrer-policy/generic/iframe-inheritance-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/iframe-inheritance.html: >+ * web-platform-tests/referrer-policy/generic/link-rel-prefetch-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/multiple-headers-and-values-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/multiple-headers-and-values.html: >+ * web-platform-tests/referrer-policy/generic/multiple-headers-combined-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/multiple-headers-combined.html: >+ * web-platform-tests/referrer-policy/generic/multiple-headers-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid.html: >+ * web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token.html: >+ * web-platform-tests/referrer-policy/generic/multiple-headers.html: >+ * web-platform-tests/referrer-policy/generic/referrer-policy-test-case.sub.js: Renamed from LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js. >+ (crossOriginReferrerPolicyBaseURL): >+ (getOriginHosts): >+ (getSubresourceOrigin): >+ * web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html: >+ * web-platform-tests/referrer-policy/generic/subresource-test/area-navigate-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/area-navigate.html: >+ * web-platform-tests/referrer-policy/generic/subresource-test/attr-referrer-invalid-value-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging.html: >+ * web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging.html: >+ * web-platform-tests/referrer-policy/generic/subresource-test/image-decoding-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/image-decoding.html: >+ * web-platform-tests/referrer-policy/generic/subresource-test/link-navigate-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/link-navigate.html: >+ * web-platform-tests/referrer-policy/generic/subresource-test/script-messaging-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/script-messaging.html: >+ * web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging.html: >+ * web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging.html: >+ * web-platform-tests/referrer-policy/generic/tools/generate.py: >+ * web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive-expected.txt: Added. >+ * web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive.html: >+ * web-platform-tests/referrer-policy/generic/utils.sub.js: Added. >+ (crossOriginReferrerPolicyBaseURL): >+ * web-platform-tests/referrer-policy/generic/w3c-import.log: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html: >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html: >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt: Added. >+ * web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html: >+ > 2019-04-26 Youenn Fablet <youenn@apple.com> > > Use normal loading path for ping loads >diff --git a/LayoutTests/imported/w3c/resources/config.json b/LayoutTests/imported/w3c/resources/config.json >index 2debe3bd09d..04b2f828eb8 100644 >--- a/LayoutTests/imported/w3c/resources/config.json >+++ b/LayoutTests/imported/w3c/resources/config.json >@@ -1,4 +1,5 @@ > {"browser_host": "localhost", >+ "alternate_hosts": { "alt": "127.0.0.1" }, > "ports":{"http":[8800, 8801], > "https":[9443], > "ws":[49001]}, >diff --git a/LayoutTests/imported/w3c/web-platform-tests/common/security-features/resources/common.js b/LayoutTests/imported/w3c/web-platform-tests/common/security-features/resources/common.js >index 782e428c66f..01317923576 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/common/security-features/resources/common.js >+++ b/LayoutTests/imported/w3c/web-platform-tests/common/security-features/resources/common.js >@@ -979,7 +979,7 @@ for (const workletType of ['animation', 'audio', 'layout', 'paint']) { > The fetch result of `assertUrl` should indicate whether > `testUrl` is actually sent to the server or not. > */ >-function getRequestURLs(subresourceType, originType, redirectionType) { >+function getRequestURLs(subresourceType, originType, redirectionType, redirectionOrigin) { > const key = guid(); > const value = guid(); > >@@ -988,13 +988,16 @@ function getRequestURLs(subresourceType, originType, redirectionType) { > > const stashEndpoint = "/common/security-features/subresource/xhr.py?key=" + > key + "&path=" + stashPath; >- return { >- testUrl: >- getSubresourceOrigin(originType) + >+ let testUrl = getSubresourceOrigin(originType) + > subresourceMap[subresourceType].path + > "?redirection=" + encodeURIComponent(redirectionType) + > "&action=purge&key=" + key + >- "&path=" + stashPath, >+ "&path=" + stashPath; >+ if (redirectionOrigin) >+ testUrl += "&redirection-origin=" + encodeURIComponent(redirectionOrigin); >+ >+ return { >+ testUrl: testUrl, > announceUrl: stashEndpoint + "&action=put&value=" + value, > assertUrl: stashEndpoint + "&action=take", > }; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/common/security-features/subresource/subresource.py b/LayoutTests/imported/w3c/web-platform-tests/common/security-features/subresource/subresource.py >index f11f3250568..c957c64edf2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/common/security-features/subresource/subresource.py >+++ b/LayoutTests/imported/w3c/web-platform-tests/common/security-features/subresource/subresource.py >@@ -19,35 +19,29 @@ def redirect(url, response): > response.writer.write("") > > >-# TODO(kristijanburnik): subdomain_prefix is a hardcoded value aligned with >-# referrer-policy-test-case.js. The prefix should be configured in one place. >-def __get_swapped_origin_netloc(netloc, subdomain_prefix = "www1."): >- if netloc.startswith(subdomain_prefix): >- return netloc[len(subdomain_prefix):] >- else: >- return subdomain_prefix + netloc >- >- > # Creates a URL (typically a redirect target URL) that is the same as the > # current request URL `request.url`, except for: >-# - When `swap_scheme` or `swap_origin` is True, its scheme/origin is changed >+# - When `swap_scheme` is True, its scheme is changed > # to the other one. (http <-> https, ws <-> wss, etc.) >+# - When `new_origin` is not None, its host name is changed >+# to redirection_origin. > # - `query_parameter_to_remove` parameter is removed from query part. > # Its default is "redirection" to avoid redirect loops. >-def create_url(request, swap_scheme = False, swap_origin = False, >+def create_url(request, swap_scheme = False, new_origin = None, > query_parameter_to_remove = "redirection"): > parsed = urlparse.urlsplit(request.url) > destination_netloc = parsed.netloc > > scheme = parsed.scheme >+ port = parsed.port > if swap_scheme: > scheme = "http" if parsed.scheme == "https" else "https" > hostname = parsed.netloc.split(':')[0] > port = request.server.config["ports"][scheme][0] > destination_netloc = ":".join([hostname, str(port)]) > >- if swap_origin: >- destination_netloc = __get_swapped_origin_netloc(destination_netloc) >+ if new_origin: >+ destination_netloc = ":".join([new_origin, str(port)]) > > parsed_query = urlparse.parse_qsl(parsed.query, keep_blank_values=True) > parsed_query = filter(lambda x: x[0] != query_parameter_to_remove, >@@ -76,9 +70,9 @@ def preprocess_redirection(request, response): > elif redirection == "swap-scheme-redirect": > redirect_url = create_url(request, swap_scheme=True) > elif redirection == "keep-origin-redirect": >- redirect_url = create_url(request, swap_origin=False) >+ redirect_url = create_url(request) > elif redirection == "swap-origin-redirect": >- redirect_url = create_url(request, swap_origin=True) >+ redirect_url = create_url(request, new_origin = request.GET["redirection-origin"]) > else: > raise ValueError("Invalid redirection type '%s'" % redirection) > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/README.md b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/README.md >index ea158fe5394..303362df924 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/README.md >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/README.md >@@ -96,7 +96,7 @@ The ```./generic/tools/clean.py``` utility will only work if there is a valid `` > > ## Updating the tests > >-The main test logic lives in ```./generic/referrer-policy-test-case.js``` with helper functions defined in ```./common/security-features/resources/common.js``` so you should probably start there. >+The main test logic lives in ```./generic/referrer-policy-test-case.sub.js``` with helper functions defined in ```./common/security-features/resources/common.js``` so you should probably start there. > > For updating the test suite you will most likely do **a subset** of the following: > >@@ -105,7 +105,7 @@ For updating the test suite you will most likely do **a subset** of the followin > > * Add a sanity check test for a sub-resource to ```./generic/subresource-test/```. > >-* Implement new or update existing assertions in ```./generic/referrer-policy-test-case.js```. >+* Implement new or update existing assertions in ```./generic/referrer-policy-test-case.sub.js```. > > * Exclude or add some tests by updating ```spec.src.json``` test expansions. > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet-expected.txt >new file mode 100644 >index 00000000000..3514e46728d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that child css are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+FAIL Child css from external stylesheet. promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'server_data.headers')" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet.html >index 3ced0f49983..63e957f77d8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/external-import-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body> >@@ -19,7 +19,7 @@ > <script> > promise_test(function(css_test) { > let id = token(); >- let url_prefix = location.protocol + "//www1." + location.hostname + ":" + location.port; >+ let url_prefix = crossOriginReferrerPolicyBaseURL(); > let css_url = url_prefix + > "/common/security-features/subresource/stylesheet.py?id=" + id + > "&import-rule" + "&referrer-policy=no-referrer"; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet-expected.txt >new file mode 100644 >index 00000000000..b96dc4a008b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that child css are loaded with the referrer and referrer policy from the internal stylesheet. >+ >+ >+FAIL Child css from internal stylesheet. promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'server_data.headers')" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet.html >index df835c45e10..7dd58afd8c5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/internal-import-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="never"> > </head> > <body> >@@ -19,7 +19,7 @@ > <script> > promise_test(function(css_test) { > let id = token(); >- let url_prefix = location.protocol + "//www1." + location.hostname + ":" + location.port; >+ let url_prefix = crossOriginReferrerPolicyBaseURL(); > let css_url = url_prefix + "/common/security-features/subresource/stylesheet.py?id=" + id + "&import-rule"; > let check_url = url_prefix + "/common/security-features/subresource/stylesheet.py" + > "?id=" + id + "&report-headers"; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction-expected.txt >new file mode 100644 >index 00000000000..7213f4c827e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction-expected.txt >@@ -0,0 +1,5 @@ >+Check that child css are loaded with the referrer and referrer policy the external stylesheet(referenced from a ProcessingInstruction). >+ >+ >+FAIL Child css via a ProcessingInstruction. promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'server_data.headers')" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction.html >index 1a0d9ebdda2..2077fdc5433 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/child-css/processing-instruction.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body> >@@ -18,8 +18,7 @@ > <script> > promise_test(function(css_test) { > let id = token(); >- let url_prefix = location.protocol + "//www1." + location.hostname + ":" + >- location.port + >+ let url_prefix = crossOriginReferrerPolicyBaseURL() + > "/common/security-features/subresource/stylesheet.py?id=" + > id; > let css_url = url_prefix + "&import-rule"; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet-expected.txt >new file mode 100644 >index 00000000000..6f57317cd0a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from imported stylesheets (loaded from external stylesheets) are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+FAIL Font from imported stylesheet (external). promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'server_data.headers')" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet.html >index db655fbb726..2f1aed956ab 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-import-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="never"> > </head> > <body> >@@ -20,8 +20,7 @@ > <script> > promise_test(function(css_test) { > let id = token(); >- let css_url = location.protocol + "//www1." + location.hostname + ":" + >- location.port + >+ let css_url = crossOriginReferrerPolicyBaseURL() + > "/common/security-features/subresource/stylesheet.py?id=" + id + > "&import-rule" + "&type=font"; > let url_prefix = location.protocol + "//" + location.hostname + ":" + location.port; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet-expected.txt >new file mode 100644 >index 00000000000..4469b89eaaf >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from external stylesheets are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+FAIL Font from external stylesheet. assert_equals: expected (string) "http://127.0.0.1:8800/common/security-features/subresource/stylesheet.py?id=0cfaf0c4-3f46-4939-a15f-3aa98cbdba75&type=font" but got (undefined) undefined >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet.html >index cc99b1f3ddc..52fa2fa9ea4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/external-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="never"> > </head> > <body> >@@ -19,7 +19,7 @@ > <script> > promise_test(function(css_test) { > let id = token(); >- let url_prefix = location.protocol + "//www1." + location.hostname + ":" + location.port; >+ let url_prefix = crossOriginReferrerPolicyBaseURL(); > let css_url = url_prefix + "/common/security-features/subresource/stylesheet.py?id=" + id + "&type=font"; > let font_url = url_prefix + "/common/security-features/subresource/font.py" + > "?id=" + id + "&report-headers"; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet-expected.txt >new file mode 100644 >index 00000000000..c53e1bd4638 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from stylesheets (imported from internal stylesheets) are loaded with the referrer and referrer policy from from the imported style sheet. >+ >+ >+FAIL Font from imported stylesheet (internal). assert_equals: expected "http://127.0.0.1:8800/common/security-features/subresource/stylesheet.py?id=a0d1a15b-ee5b-492d-b4ba-acceda1b7517&type=font" but got "http://localhost:8800/" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet.html >index 969db95179e..07374b79ef5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-import-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body> >@@ -20,8 +20,7 @@ > <script> > promise_test(function(css_test) { > let id = token(); >- let url_prefix = location.protocol + "//www1." + location.hostname + ":" + >- location.port + "/common/security-features/subresource/"; >+ let url_prefix = crossOriginReferrerPolicyBaseURL() + "/common/security-features/subresource/"; > let css_url = url_prefix + "stylesheet.py?id=" + id + "&type=font"; > let font_url = url_prefix + "font.py?report-headers&id=" + id; > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet-expected.txt >new file mode 100644 >index 00000000000..682e5a0d28a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from internal stylesheets are loaded with the referrer and referrer policy from the document. >+ >+ >+PASS Font from internal stylesheet. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet.html >index 40eb09357b9..2927ffe8ddc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/internal-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body> >@@ -19,8 +19,7 @@ > <script> > promise_test(function(css_test) { > let id = token(); >- let css_url = location.protocol + "//www1." + location.hostname + ":" + >- location.port + >+ let css_url = crossOriginReferrerPolicyBaseURL() + > "/common/security-features/subresource/font.py" + "?id=" + > id + "&type=font"; > let font_url = css_url + "&report-headers"; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction-expected.txt >new file mode 100644 >index 00000000000..7cbe434ce15 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from external stylesheets (referenced from a ProcessingInstruction) are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+FAIL Font from external stylesheet (from ProcessingInstruction). assert_equals: expected (string) "http://127.0.0.1:8800/common/security-features/subresource/stylesheet.py?id=c7cc998c-186d-4cf3-bfb4-052f1d1d6a2c&type=font" but got (undefined) undefined >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction.html >index 25b0ed13473..b63b29fa385 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/font-face/processing-instruction.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="never"> > </head> > <body> >@@ -20,7 +20,7 @@ > <script> > promise_test(function(css_test) { > let id = token(); >- let url_prefix = location.protocol + "//www1." + location.hostname + ":" + location.port; >+ let url_prefix = crossOriginReferrerPolicyBaseURL(); > let css_url = url_prefix + > "/common/security-features/subresource/stylesheet.py?id=" + > id + "&type=font"; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet-expected.txt >new file mode 100644 >index 00000000000..53e756d7e94 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from imported stylesheets (loaded from external stylesheets) are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+FAIL Image from imported stylesheet (external). promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'server_data.headers')" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet.html >index 370bc44b6c1..1d0cca263cd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-import-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="never"> > </head> > <body> >@@ -20,7 +20,7 @@ > <script> > promise_test(function(css_test) { > var id = token(); >- var css_url = location.protocol + "//www1." + location.hostname + ":" + location.port + >+ var css_url = crossOriginReferrerPolicyBaseURL() + > "/common/security-features/subresource/stylesheet.py?id=" + id + > "&import-rule" + "&type=image"; > var url_prefix = location.protocol + "//" + location.hostname + ":" + location.port; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-stylesheet-expected.txt >new file mode 100644 >index 00000000000..827729424cf >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from external stylesheets are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+FAIL Image from external stylesheet. assert_equals: expected (string) "http://127.0.0.1:8800/common/security-features/subresource/stylesheet.py?id=513401ea-6826-42d7-997e-a8a565a7718c" but got (undefined) undefined >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-stylesheet.html >index eb1b019c988..216b4c2823f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/external-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="never"> > </head> > <body> >@@ -19,7 +19,7 @@ > <script> > promise_test(function(css_test) { > var id = token(); >- var url_prefix = location.protocol + "//www1." + location.hostname + ":" + location.port; >+ var url_prefix = crossOriginReferrerPolicyBaseURL(); > var css_url = url_prefix + "/common/security-features/subresource/stylesheet.py?id=" + id; > var img_url = url_prefix + "/common/security-features/subresource/image.py" + > "?id=" + id + "&report-headers"; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/inline-style-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/inline-style-expected.txt >new file mode 100644 >index 00000000000..5b1b68bf315 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/inline-style-expected.txt >@@ -0,0 +1,6 @@ >+Check that resources from inline styles are loaded with the referrer and referrer policy from the document. >+ >+ >+ >+PASS Image from inline styles. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/inline-style.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/inline-style.html >index d6ff26e7bcc..54956e0062a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/inline-style.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/inline-style.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body> >@@ -19,7 +19,7 @@ > <script> > promise_test(function(css_test) { > var id = token(); >- var css_url = location.protocol + "//www1." + location.hostname + ":" + location.port + "/common/security-features/subresource/image.py" + "?id=" + id; >+ var css_url = crossOriginReferrerPolicyBaseURL() + "/common/security-features/subresource/image.py" + "?id=" + id; > var img_url = css_url + "&report-headers"; > > var div = document.querySelector("div.styled"); >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet-expected.txt >new file mode 100644 >index 00000000000..2ff0531e912 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from stylesheets (imported from internal stylesheets) are loaded with the referrer and referrer policy from the document. >+ >+ >+FAIL Image from imported stylesheet (internal). assert_equals: expected "http://127.0.0.1:8800/common/security-features/subresource/stylesheet.py?id=5c9f19c1-739d-483e-a690-d37231c8b44c" but got "http://localhost:8800/" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet.html >index e96b25a9712..b99c76014ac 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-import-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body> >@@ -20,7 +20,7 @@ > <script> > promise_test(function(css_test) { > var id = token(); >- var url_prefix = location.protocol + "//www1." + location.hostname + ":" + location.port + "/common/security-features/subresource/"; >+ var url_prefix = crossOriginReferrerPolicyBaseURL() + "/common/security-features/subresource/"; > var css_url = url_prefix + "stylesheet.py?id=" + id; > var img_url = url_prefix + "image.py?report-headers&id=" + id; > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet-expected.txt >new file mode 100644 >index 00000000000..69f7899a122 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from internal stylesheets are loaded with the referrer and referrer policy from the document. >+ >+ >+PASS Image from internal stylesheet. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet.html >index 29a8517e117..a6c81f86285 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/internal-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body> >@@ -19,7 +19,7 @@ > <script> > promise_test(function(css_test) { > var id = token(); >- var css_url = location.protocol + "//www1." + location.hostname + ":" + location.port + "/common/security-features/subresource/image.py" + "?id=" + id; >+ var css_url = crossOriginReferrerPolicyBaseURL() + "/common/security-features/subresource/image.py" + "?id=" + id; > var img_url = css_url + "&report-headers"; > > var style = document.createElement("style"); >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/presentation-attribute-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/presentation-attribute-expected.txt >new file mode 100644 >index 00000000000..535397ec566 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/presentation-attribute-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from presentation attributes are loaded with the referrer and referrer policy from the document. >+ >+ >+PASS Image from presentation attributes. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/presentation-attribute.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/presentation-attribute.html >index 95d3b11a42a..033a98ca6b9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/presentation-attribute.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/presentation-attribute.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body> >@@ -17,7 +17,7 @@ > <script> > promise_test(function(css_test) { > var id = token(); >- var css_url = location.protocol + "//www1." + location.hostname + ":" + location.port + "/common/security-features/subresource/image.py" + "?id=" + id; >+ var css_url = crossOriginReferrerPolicyBaseURL() + "/common/security-features/subresource/image.py" + "?id=" + id; > var img_url = css_url + "&report-headers"; > > document.body.background = css_url; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/processing-instruction-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/processing-instruction-expected.txt >new file mode 100644 >index 00000000000..9114fbc134f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/processing-instruction-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources from external stylesheets (referenced from a ProcessingInstruction) are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+FAIL Image from external stylesheet (from ProcessingInstruction). assert_equals: expected (string) "http://127.0.0.1:8800/common/security-features/subresource/stylesheet.py?id=abcd8a36-2e12-4c9b-bb0d-b5f336dda4f3" but got (undefined) undefined >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/processing-instruction.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/processing-instruction.html >index e52d9b65097..3fd52c2383c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/processing-instruction.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/image/processing-instruction.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="never"> > </head> > <body> >@@ -20,7 +20,7 @@ > <script> > promise_test(function(css_test) { > var id = token(); >- var url_prefix = location.protocol + "//www1." + location.hostname + ":" + location.port; >+ var url_prefix = crossOriginReferrerPolicyBaseURL(); > var css_url = url_prefix + "/common/security-features/subresource/stylesheet.py?id=" + id; > var img_url = url_prefix + "/common/security-features/subresource/image.py" + > "?id=" + id + "&report-headers"; >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet-expected.txt >new file mode 100644 >index 00000000000..16cf2be7103 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet-expected.txt >@@ -0,0 +1,13 @@ >+Check that resources from external stylesheets are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+FAIL Test styling SVG from external style fill promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Test styling SVG from external style stroke promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Test styling SVG from external style filter promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Test styling SVG from external style clip-path promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Test styling SVG from external style marker-start promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Test styling SVG from external style marker-mid promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Test styling SVG from external style marker-end promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Test styling SVG from external style mask promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Test styling SVG from external style mask-image promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet.html >index 54ee36ce30b..c02e5598f74 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/external-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <!-- Helper functions for referrer-policy css tests. --> > <script src="/referrer-policy/css-integration/css-test-helper.js"></script> > <meta name="referrer" content="never"> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/inline-style-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/inline-style-expected.txt >new file mode 100644 >index 00000000000..85508a84868 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/inline-style-expected.txt >@@ -0,0 +1,13 @@ >+Check that resources from inline styles are loaded with the referrer and referrer policy from the document. >+ >+ >+FAIL Styling SVG from inline styles fill promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from inline styles stroke promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from inline styles filter promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from inline styles clip-path promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from inline styles marker-start promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from inline styles marker-mid promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from inline styles marker-end promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from inline styles mask promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from inline styles mask-image promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/inline-style.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/inline-style.html >index 59fb4025f3b..5e8552ce8c7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/inline-style.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/inline-style.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <!-- Helper functions for referrer-policy css tests. --> > <script src="/referrer-policy/css-integration/css-test-helper.js"></script> > <meta name="referrer" content="origin"> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet-expected.txt >new file mode 100644 >index 00000000000..838246c9082 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet-expected.txt >@@ -0,0 +1,13 @@ >+Check that resources from internal styles are loaded with the referrer and referrer policy from the document. >+ >+ >+FAIL Styling SVG from internal styles fill promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from internal styles stroke promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from internal styles filter promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from internal styles clip-path promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from internal styles marker-start promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from internal styles marker-mid promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from internal styles marker-end promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from internal styles mask promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from internal styles mask-image promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet.html >index 82d75665ea1..c061f3ab13d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/internal-stylesheet.html >@@ -7,7 +7,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <!-- Helper functions for referrer-policy css tests. --> > <script src="/referrer-policy/css-integration/css-test-helper.js"></script> > <meta name="referrer" content="origin"> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute-expected.txt >new file mode 100644 >index 00000000000..a3ca9d9cd48 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute-expected.txt >@@ -0,0 +1,12 @@ >+Check that resources from presentation attributes are loaded with the referrer and referrer policy from the document. >+ >+ >+FAIL Styling SVG from presentation attributes fill promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from presentation attributes stroke promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from presentation attributes filter promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from presentation attributes clip-path promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from presentation attributes marker-start promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from presentation attributes marker-mid promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from presentation attributes marker-end promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from presentation attributes mask promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute.html >index 8e616416380..859e405e223 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/presentation-attribute.html >@@ -8,7 +8,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <!-- Helper functions for referrer-policy css tests. --> > <script src="/referrer-policy/css-integration/css-test-helper.js"></script> > <meta name="referrer" content="origin"> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/processing-instruction-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/processing-instruction-expected.txt >new file mode 100644 >index 00000000000..5878d1f4fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/processing-instruction-expected.txt >@@ -0,0 +1,14 @@ >+Check that resources from external stylesheets (referenced from a ProcessingInstruction) are loaded with the referrer and referrer policy from the external stylesheet. >+ >+ >+ >+FAIL Styling SVG from ProcessingInstruction fill promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from ProcessingInstruction stroke promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from ProcessingInstruction filter promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from ProcessingInstruction clip-path promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from ProcessingInstruction marker-start promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from ProcessingInstruction marker-mid promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from ProcessingInstruction marker-end promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from ProcessingInstruction mask promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+FAIL Styling SVG from ProcessingInstruction mask-image promise_test: Unhandled rejection with value: object "SyntaxError: The string did not match the expected pattern." >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/processing-instruction.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/processing-instruction.html >index 99ec1ae6aeb..93b6037ca63 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/processing-instruction.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/css-integration/svg/processing-instruction.html >@@ -8,7 +8,7 @@ > <script src="/common/utils.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <!-- Helper functions for referrer-policy css tests. --> > <script src="/referrer-policy/css-integration/css-test-helper.js"></script> > <meta name="referrer" content="origin"> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/iframe-inheritance-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/iframe-inheritance-expected.txt >new file mode 100644 >index 00000000000..ab97c44592b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/iframe-inheritance-expected.txt >@@ -0,0 +1,5 @@ >+Referrer Policy: iframes correctly inherit the ancestor's referrer >+ >+ >+FAIL iframes correctly inherit the ancestor's referrer assert_equals: expected (string) "http://localhost:8800/" but got (undefined) undefined >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/iframe-inheritance.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/iframe-inheritance.html >index ca17e03933a..3b1653a7a9b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/iframe-inheritance.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/iframe-inheritance.html >@@ -8,7 +8,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > <meta name="referrer" content="origin"> > </head> > <body onload="runTest()"> >@@ -26,10 +26,10 @@ > document.body.appendChild(iframe); > iframe.contentDocument.write(` > <script src = "/common/security-features/resources/common.js"></` + `script> >- <script src = "/referrer-policy/generic/referrer-policy-test-case.js"></` + `script> >+ <script src = "/referrer-policy/generic/referrer-policy-test-case.sub.js"></` + `script> > <script> > var urlPath = "/common/security-features/subresource/xhr.py"; >- var url = "${location.protocol}//www1.${location.hostname}:${location.port}" + urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > requestViaXhr(url).then((msg) => { > parent.postMessage({referrer: msg.referrer}, "*")}) > .catch((e) => { >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/link-rel-prefetch-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/link-rel-prefetch-expected.txt >new file mode 100644 >index 00000000000..ebc44331f2d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/link-rel-prefetch-expected.txt >@@ -0,0 +1,5 @@ >+Check that resources loaded via link rel prefetch use the referrer and referrer policy from the document. >+ >+ >+PASS Prefetched image. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-and-values-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-and-values-expected.txt >new file mode 100644 >index 00000000000..9ed987c6161 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-and-values-expected.txt >@@ -0,0 +1,7 @@ >+Referrer Policy: multiple Referrer-Policy header and header values are allowed >+ >+Running... >+ >+ >+PASS Image uses the last recognized Referrer-Policy header value >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-and-values.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-and-values.html >index b7a9c9fe0e4..0d6944cb1ec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-and-values.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-and-values.html >@@ -6,7 +6,7 @@ > <script src="/resources/testharnessreport.js"></script> > > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Referrer Policy: multiple Referrer-Policy header and header values are allowed</h1> >@@ -17,8 +17,7 @@ > <script> > promise_test(() => { > var urlPath = '/common/security-features/subresource/image.py?cache_destroyer=' + (new Date()).getTime(); >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaImage(url, null, 'no-referrer') > .then(function(message) { > assert_equals(message.referrer, document.location.origin + "/"); >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-combined-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-combined-expected.txt >new file mode 100644 >index 00000000000..772c6f29bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-combined-expected.txt >@@ -0,0 +1,7 @@ >+Referrer Policy: multiple Referrer-Policy header values are allowed >+ >+Running... >+ >+ >+PASS Image uses the last recognized Referrer-Policy header value >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-combined.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-combined.html >index c13403aa22a..816b02249f4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-combined.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-combined.html >@@ -6,7 +6,7 @@ > <script src="/resources/testharnessreport.js"></script> > > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Referrer Policy: multiple Referrer-Policy header values are allowed</h1> >@@ -17,8 +17,7 @@ > <script> > promise_test(() => { > var urlPath = '/common/security-features/subresource/image.py?cache_destroyer=' + (new Date()).getTime(); >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaImage(url, null, 'no-referrer') > .then(function(message) { > assert_equals(message.referrer, document.location.origin + "/"); >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-expected.txt >new file mode 100644 >index 00000000000..39bfa08bfa6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-expected.txt >@@ -0,0 +1,7 @@ >+Referrer Policy: multiple Referrer-Policy headers are allowed >+ >+Running... >+ >+ >+PASS Image uses the last recognized Referrer-Policy header >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid-expected.txt >new file mode 100644 >index 00000000000..2b18812defd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid-expected.txt >@@ -0,0 +1,7 @@ >+Referrer Policy: multiple Referrer-Policy headers with one invalid >+ >+Running... >+ >+ >+FAIL Referrer policy header parsing fails if one header is invalid assert_equals: expected "http://localhost:8800/referrer-policy/generic/multiple-headers-one-invalid.html" but got "http://localhost:8800/" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid.html >index c36c456e23a..20a8aca537b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-invalid.html >@@ -6,7 +6,7 @@ > <script src="/resources/testharnessreport.js"></script> > > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Referrer Policy: multiple Referrer-Policy headers with one invalid</h1> >@@ -17,8 +17,7 @@ > <script> > promise_test(() => { > var urlPath = '/common/security-features/subresource/image.py?cache_destroyer=' + (new Date()).getTime(); >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaImage(url, null, 'no-referrer') > .then(function(message) { > assert_equals(message.referrer, document.location.href); >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token-expected.txt >new file mode 100644 >index 00000000000..68b24126d67 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token-expected.txt >@@ -0,0 +1,7 @@ >+Referrer Policy: multiple Referrer-Policy headers with one invalid >+ >+Running... >+ >+ >+PASS Image uses last recognized referrer policy token from Referrer-Policy headers >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token.html >index 6a8c8eecbff..b721f3f9aff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token.html >@@ -6,7 +6,7 @@ > <script src="/resources/testharnessreport.js"></script> > > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Referrer Policy: multiple Referrer-Policy headers with one invalid</h1> >@@ -17,8 +17,7 @@ > <script> > promise_test(() => { > var urlPath = '/common/security-features/subresource/image.py?cache_destroyer=' + (new Date()).getTime(); >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaImage(url, null, 'no-referrer') > .then(function(message) { > assert_equals(message.referrer, document.location.origin + "/"); >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers.html >index 5b9c4eb20a4..8d6f43a454b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers.html >@@ -6,7 +6,7 @@ > <script src="/resources/testharnessreport.js"></script> > > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Referrer Policy: multiple Referrer-Policy headers are allowed</h1> >@@ -17,8 +17,7 @@ > <script> > promise_test(() => { > var urlPath = '/common/security-features/subresource/image.py?cache_destroyer=' + (new Date()).getTime(); >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaImage(url, null, 'no-referrer') > .then(function(message) { > assert_equals(message.referrer, document.location.origin + "/"); >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.sub.js >similarity index 90% >rename from LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js >rename to LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.sub.js >index c8a3beaf89e..8fb419d5950 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.sub.js >@@ -1,15 +1,25 @@ > // TODO: This function is currently placed and duplicated at: > // - mixed-content/generic/mixed-content-test-case.js >-// - referrer-policy/generic/referrer-policy-test-case.js >+// - referrer-policy/generic/referrer-policy-test-case.sub.js > // but should be moved to /common/security-features/resources/common.js. >+ >+function crossOriginReferrerPolicyBaseURL() >+{ >+ return getSubresourceOrigin("cross-" + location.protocol.substring(0, location.protocol.length - 1)); >+} >+ >+function getOriginHosts() >+{ >+ return { sameOriginHost: "{{host}}", crossOriginHost: "{{hosts[alt][]}}" }; >+} >+ > function getSubresourceOrigin(originType) { > const httpProtocol = "http"; > const httpsProtocol = "https"; > const wsProtocol = "ws"; > const wssProtocol = "wss"; > >- const sameOriginHost = "{{host}}"; >- const crossOriginHost = "{{domains[www1]}}"; >+ const { sameOriginHost, crossOriginHost } = getOriginHosts(); > > // These values can evaluate to either empty strings or a ":port" string. > const httpPort = getNormalizedPort(parseInt("{{ports[http][0]}}", 10)); >@@ -72,10 +82,17 @@ function ReferrerPolicyTestCase(scenario, testDescription, sanityChecker) { > "cross-origin-http": "cross-http", > "cross-origin-https": "cross-https" > }; >+ >+ let redirectionOrigin; >+ if (scenario.redirection === "swap-origin-redirect") { >+ const { sameOriginHost, crossOriginHost } = getOriginHosts(); >+ redirectionOrigin = scenario.origin === "same-origin" ? crossOriginHost : sameOriginHost; >+ } >+ > const urls = getRequestURLs( > scenario.subresource, > originTypeConversion[scenario.origin + '-' + scenario.target_protocol], >- scenario.redirection); >+ scenario.redirection, redirectionOrigin); > > const referrerUrlResolver = { > "omitted": function(sourceUrl) { >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin-expected.txt >new file mode 100644 >index 00000000000..671d35dfe79 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin-expected.txt >@@ -0,0 +1,9 @@ >+CONSOLE MESSAGE: Origin null is not allowed by Access-Control-Allow-Origin. >+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8800/referrer-policy/generic/undefined/common/security-features/subresource/xhr.py due to access control checks. >+Referrer Policy: A document with an opaque origin doesn't send referrers >+ >+ >+ >+FAIL Sandboxed iframe with opaque origin doesn't send referrers. assert_equals: expected (undefined) undefined but got (string) "FAILURE" >+FAIL Sandboxed iframe with tuple origin sends referrers. assert_equals: expected "http://localhost:8800/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html" but got "FAILURE" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html >index da3455cb2a8..18d481a2c04 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html >@@ -8,7 +8,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Referrer Policy: A document with an opaque origin doesn't send referrers</h1> >@@ -27,10 +27,10 @@ > iframe.srcdoc = ` > <meta name = "referrer" content = "always"> > <script src = "/common/security-features/resources/common.js"></` + `script> >- <script src = "/referrer-policy/generic/referrer-policy-test-case.js"></` + `script> >+ <script src = "/referrer-policy/generic/referrer-policy-test-case.sub.js"></` + `script> > <script> > var urlPath = "/common/security-features/subresource/xhr.py"; >- var url = "${location.protocol}//www1.${location.hostname}:${location.port}" + urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > requestViaXhr(url).then((msg) => { > parent.postMessage({referrer: msg.referrer, description: "${description}"}, "*") > }) >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/area-navigate-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/area-navigate-expected.txt >new file mode 100644 >index 00000000000..e6d98633389 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/area-navigate-expected.txt >@@ -0,0 +1,21 @@ >+Area Link messaging - cross-origin Area Link navigation >+ >+If you can read JSON encoded HTTP request headers of the Area link below, the messaging works as expected. >+ >+http://127.0.0.1:8800/common/security-features/subresource/document.py: >+ >+{ >+ "accept-language": "fr-fr", >+ "accept-encoding": "gzip, deflate", >+ "connection": "keep-alive", >+ "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", >+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko)", >+ "host": "127.0.0.1:8800", >+ "referer": "http://localhost:8800/referrer-policy/generic/subresource-test/area-navigate.html", >+ "upgrade-insecure-requests": "1" >+} >+ >+ >+ >+PASS Area is responding with HTTP headers >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/area-navigate.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/area-navigate.html >index 936e2ef0f50..afb01d2953c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/area-navigate.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/area-navigate.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Area Link messaging - cross-origin Area Link navigation</h1> >@@ -19,8 +19,7 @@ > <script> > promise_test(function() { > var urlPath = '/common/security-features/subresource/document.py'; >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaArea(url) > .then(function(message) { > var pre = document.getElementById('received_message') >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/attr-referrer-invalid-value-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/attr-referrer-invalid-value-expected.txt >new file mode 100644 >index 00000000000..0f9a480392a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/attr-referrer-invalid-value-expected.txt >@@ -0,0 +1,6 @@ >+Invalid referrerPolicy attribute value >+ >+Running... >+ >+FAIL Invalid referrerpolicy values not reflected assert_equals: expected "" but got "not-valid-value" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging-expected.txt >new file mode 100644 >index 00000000000..c21bd5f9805 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging-expected.txt >@@ -0,0 +1,20 @@ >+Fetch messaging - same-origin Fetch request >+ >+If you can read JSON encoded HTTP request headers of the Fetch below, the messaging works as expected. >+ >+http://localhost:8800/common/security-features/subresource/xhr.py: >+ >+{ >+ "accept-language": "fr-fr", >+ "accept-encoding": "gzip, deflate", >+ "connection": "keep-alive", >+ "accept": "*/*", >+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko)", >+ "host": "localhost:8800", >+ "referer": "http://localhost:8800/referrer-policy/generic/subresource-test/fetch-messaging.html" >+} >+ >+ >+PASS Fetch is supported by the browser. >+PASS Fetch is responding with HTTP headers >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging.html >index cc17b3d8de9..2d835274c13 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/fetch-messaging.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Fetch messaging - same-origin Fetch request</h1> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging-expected.txt >new file mode 100644 >index 00000000000..2c0e8654811 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging-expected.txt >@@ -0,0 +1,21 @@ >+Iframe messaging - cross-origin iframe request >+ >+If you can read JSON encoded HTTP request headers of the iframe below, the messaging works as expected. >+ >+http://127.0.0.1:8800/common/security-features/subresource/document.py: >+ >+{ >+ "accept-language": "fr-fr", >+ "accept-encoding": "gzip, deflate", >+ "connection": "keep-alive", >+ "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", >+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko)", >+ "host": "127.0.0.1:8800", >+ "referer": "http://localhost:8800/referrer-policy/generic/subresource-test/iframe-messaging.html", >+ "upgrade-insecure-requests": "1" >+} >+ >+ >+ >+PASS Iframe is responding with HTTP headers >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging.html >index 45c5abc8644..f83167b3cab 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/iframe-messaging.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Iframe messaging - cross-origin iframe request</h1> >@@ -19,8 +19,7 @@ > <script> > promise_test(function() { > var urlPath = '/common/security-features/subresource/document.py'; >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaIframe(url) > .then(function(message) { > var pre = document.getElementById('received_message') >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/image-decoding-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/image-decoding-expected.txt >new file mode 100644 >index 00000000000..adfb656ac25 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/image-decoding-expected.txt >@@ -0,0 +1,21 @@ >+Image decoding - cross-origin image request >+ >+If you can read JSON encoded HTTP headers of the image below, the decoding works as expected. >+ >+http://127.0.0.1:8800/common/security-features/subresource/image.py?cache_destroyer=1556308330222: >+ >+{ >+ "origin": "http://localhost:8800", >+ "accept-language": "fr-fr", >+ "accept-encoding": "gzip, deflate", >+ "host": "127.0.0.1:8800", >+ "accept": "image/png,image/svg+xml,image/*;q=0.8,video/*;q=0.8,*/*;q=0.5", >+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko)", >+ "connection": "keep-alive", >+ "referer": "http://localhost:8800/referrer-policy/generic/subresource-test/image-decoding.html" >+} >+ >+ >+ >+PASS Image is encoding headers as JSON. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/image-decoding.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/image-decoding.html >index a3c8626641c..890a5498000 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/image-decoding.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/image-decoding.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Image decoding - cross-origin image request</h1> >@@ -19,7 +19,7 @@ > <script> > promise_test(function() { > var urlPath = '/common/security-features/subresource/image.py'; >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >+ var url = crossOriginReferrerPolicyBaseURL() + > urlPath + "?cache_destroyer=" + (new Date()).getTime(); > return requestViaImage(url, undefined, "always") > .then(function(message) { >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/link-navigate-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/link-navigate-expected.txt >new file mode 100644 >index 00000000000..4c9fa6a349a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/link-navigate-expected.txt >@@ -0,0 +1,21 @@ >+Link messaging - cross-origin Link navigation >+ >+If you can read JSON encoded HTTP request headers of the Link below, the messaging works as expected. >+ >+http://127.0.0.1:8800/common/security-features/subresource/document.py: >+ >+{ >+ "accept-language": "fr-fr", >+ "accept-encoding": "gzip, deflate", >+ "connection": "keep-alive", >+ "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", >+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko)", >+ "host": "127.0.0.1:8800", >+ "referer": "http://localhost:8800/referrer-policy/generic/subresource-test/link-navigate.html", >+ "upgrade-insecure-requests": "1" >+} >+ >+ >+ >+PASS Link is responding with HTTP headers >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/link-navigate.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/link-navigate.html >index 966547c3580..9859f48f520 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/link-navigate.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/link-navigate.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Link messaging - cross-origin Link navigation</h1> >@@ -19,8 +19,7 @@ > <script> > promise_test(function() { > var urlPath = '/common/security-features/subresource/document.py'; >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaAnchor(url) > .then(function(message) { > var pre = document.getElementById('received_message') >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/script-messaging-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/script-messaging-expected.txt >new file mode 100644 >index 00000000000..cbbe01e55ca >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/script-messaging-expected.txt >@@ -0,0 +1,19 @@ >+Script messaging - cross-origin Script request >+ >+If you can read JSON encoded HTTP request headers of the Script below, the messaging works as expected. >+ >+http://127.0.0.1:8800/common/security-features/subresource/script.py: >+ >+{ >+ "accept-language": "fr-fr", >+ "accept-encoding": "gzip, deflate", >+ "connection": "keep-alive", >+ "accept": "*/*", >+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko)", >+ "host": "127.0.0.1:8800", >+ "referer": "http://localhost:8800/referrer-policy/generic/subresource-test/script-messaging.html" >+} >+ >+ >+PASS Script is responding with HTTP headers >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/script-messaging.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/script-messaging.html >index 0a93266e2c5..d5039610418 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/script-messaging.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/script-messaging.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Script messaging - cross-origin Script request</h1> >@@ -19,8 +19,7 @@ > <script> > promise_test(function() { > var urlPath = '/common/security-features/subresource/script.py'; >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaScript(url) > .then(function(message) { > var pre = document.getElementById('received_message') >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging-expected.txt >new file mode 100644 >index 00000000000..761f133d8a7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging-expected.txt >@@ -0,0 +1,19 @@ >+Worker messaging - same-origin Worker request >+ >+If you can read JSON encoded HTTP request headers of the Worker below, the messaging works as expected. >+ >+http://localhost:8800/common/security-features/subresource/worker.py: >+ >+{ >+ "accept-language": "fr-fr", >+ "accept-encoding": "gzip, deflate", >+ "connection": "keep-alive", >+ "accept": "*/*", >+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko)", >+ "host": "localhost:8800", >+ "referer": "http://localhost:8800/referrer-policy/generic/subresource-test/worker-messaging.html" >+} >+ >+ >+PASS Worker is responding with HTTP headers >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging.html >index c85cfca5c39..0612e996598 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/worker-messaging.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Worker messaging - same-origin Worker request</h1> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging-expected.txt >new file mode 100644 >index 00000000000..444e8f68dc2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging-expected.txt >@@ -0,0 +1,20 @@ >+XHR messaging - cross-origin XHR request >+ >+If you can read JSON encoded HTTP request headers of the XHR below, the messaging works as expected. >+ >+http://127.0.0.1:8800/common/security-features/subresource/xhr.py: >+ >+{ >+ "origin": "http://localhost:8800", >+ "accept-language": "fr-fr", >+ "accept-encoding": "gzip, deflate", >+ "host": "127.0.0.1:8800", >+ "accept": "*/*", >+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko)", >+ "connection": "keep-alive", >+ "referer": "http://localhost:8800/referrer-policy/generic/subresource-test/xhr-messaging.html" >+} >+ >+ >+PASS XHR is responding with HTTP headers >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging.html >index dd48dec8e6b..fb353df4202 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/subresource-test/xhr-messaging.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>XHR messaging - cross-origin XHR request</h1> >@@ -19,8 +19,7 @@ > <script> > promise_test(function() { > var urlPath = '/common/security-features/subresource/xhr.py'; >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaXhr(url) > .then(function(message) { > var pre = document.getElementById('received_message') >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/tools/generate.py b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/tools/generate.py >index a59770ffa26..b3e3340d97b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/tools/generate.py >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/tools/generate.py >@@ -25,7 +25,7 @@ the target request is %(origin)s.''' > > self.test_page_title_template = 'Referrer-Policy: %s' > >- self.helper_js = '/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub' >+ self.helper_js = '/referrer-policy/generic/referrer-policy-test-case.sub.js' > > # For debug target only. > self.sanity_checker_js = '/referrer-policy/generic/sanity-checker.js' >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive-expected.txt >new file mode 100644 >index 00000000000..7895b423cbf >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive-expected.txt >@@ -0,0 +1,11 @@ >+CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'referrer'. >+ >+Referrer Policy: CSP 'referrer' directive should not be supported >+ >+CSP used to have a 'referrer' directive to set a Referrer Policy. This directive has been removed and should not be supported. >+ >+Running... >+ >+ >+PASS Image has a referrer despite CSP 'referrer' directive >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive.html >index 190aa5212f3..cde54ed9824 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive.html >@@ -7,7 +7,7 @@ > <script src="/resources/testharnessreport.js"></script> > <!-- Common global functions for referrer-policy tests. --> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <h1>Referrer Policy: CSP 'referrer' directive should not be supported</h1> >@@ -18,8 +18,7 @@ > <script> > promise_test(function() { > var urlPath = '/common/security-features/subresource/image.py?cache_destroyer=' + (new Date()).getTime(); >- var url = location.protocol + "//www1." + location.hostname + ":" + location.port + >- urlPath; >+ var url = crossOriginReferrerPolicyBaseURL() + urlPath; > return requestViaImage(url, null, 'always') > .then(function(message) { > assert_equals(message.referrer, document.location.href); >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/utils.sub.js b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/utils.sub.js >new file mode 100644 >index 00000000000..4a199bf7cd5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/utils.sub.js >@@ -0,0 +1,4 @@ >+function crossOriginReferrerPolicyBaseURL() >+{ >+ return location.protocol + "//" + "{{hosts[alt][]}}" + ":" + location.port; >+} >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/w3c-import.log >index 3f8fb2a841d..49a7c636ec6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/w3c-import.log >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/w3c-import.log >@@ -26,7 +26,7 @@ List of files: > /LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers-one-unknown-token.html.headers > /LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers.html > /LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/multiple-headers.html.headers >-/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.js >+/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/referrer-policy-test-case.sub.js > /LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html > /LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/sanity-checker.js > /LayoutTests/imported/w3c/web-platform-tests/referrer-policy/generic/unsupported-csp-referrer-directive.html >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..990efabc695 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 42be3b8892e..ea712646bb1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1fc873a454c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index bf4894dea18..cfc379c0534 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..23f9b1323b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index cbbccd6cd4c..0d592b59d40 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6253edf6c97 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 0e201a2d8eb..8d108c74608 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6b4f10d4c78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 346326f9245..8a3731927e0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..532bd8ecbaa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 91119cc9eef..463728a4ecd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ead412f1bdb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 25d9de531ae..d5275be0409 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..90045dee569 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 9cd52ad2acd..21ea496ca49 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..de2d44565f7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 51c7beb7690..c54ac62bfe9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1898e934ae7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 06434ccb743..cdcc134dedf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ef4a55dadf7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 9d80f4b1e72..43435ff17b2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..eaa41450e75 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index fc18b7eb3cb..61b962276bb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..cecec56b0a0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index f5e284dbdf2..0ac4282fb41 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8258484417d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 33f88211bd7..ad75a53979d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a8585b702d3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index ef4c62e3562..0cfaedb10bf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..88be539d01b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index f3eed251927..3ef49b93f0f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..30bd98040f0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 15be1dbc74b..a060a3bcfe2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ca9746db02d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index ee133164489..deb4132ab08 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e19bdbeb872 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 2e1190bda4a..793166af730 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d4cfe7c6326 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index c77c6e692b1..1737e72548c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..66049331455 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 29b2e708b94..57fb4a946c1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..cf70132fe29 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index f7c4e35e2aa..c64034d2bbd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..73303d0f876 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 7f3a6b86945..387f84c09ba 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..68aa70732ab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 4ca9775d6bb..4d0c946bd7a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e9e00bbe397 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index f19ff96c945..9c769ba10d9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3859466c7ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 23fe26c9ab5..2b1ee01973e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b8460ce0c2c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index db8daa3957f..42665670f5b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dd09c643664 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 5093a462d0f..fa0accb2c06 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9b4cf4a4c4a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 493fad2ae30..59d852294b2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..042f3429b78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 02dd4ec339c..e1b79bca805 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a644e8843de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 299fc9f6267..f0d321a52cf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d583de98a49 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index ad2f7e9f51d..ceeaba32d59 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d0d0d2bf01b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index f034708abaf..59322a856e0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a5f352f6fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 4c8f33a6334..ea8dcab7c7d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..24a1bd0c1bc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 41219e4b5f1..5aa80479004 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..34a29129bb4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 6c1bca655a3..df88f442fab 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..70a49a78f94 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 3f15616a04e..8ffbd3a852c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bc0d7e076c4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index e0bc023c1f5..455efc4ae70 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..99d7177f0e5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index b841182703f..89da6893a20 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dcc397371c8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index dafb2477b9f..6b29a191efe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1b59a490d82 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index a029a7eae14..eedf34f796d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..96d736a4c00 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index 06966301d0a..8b77fb75247 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c581e856eab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index 26a74ef2fdd..3e921ee2051 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e0467612699 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 461a108d180..c7821aae3f6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a67a7126c17 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index caa18cc0690..bae8956bf7d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..539214d8b31 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 5d9ba45af0e..c418c5a2714 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3dfc682fbba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index a8305f77a29..d8c7a5467c5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ca550793318 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 387257aed31..437a2c703c0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a54dd6a9a4b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 163d9e7d4ca..5887e73ae7a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bcc516b2c6f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index aaed1cd1248..e320e6191b6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..88eb03212cc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index eff18098e71..fc100af0081 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5dd469e812f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 79c395728ff..c9810465b2c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..73f6ee6e59b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 7ff6788142d..71c95f870ff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..001552045a2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index ad55af9e009..9fe5ef8a619 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7818a26a583 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index cb5f93ece0a..0901c1bc1f6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0ea5f65fff4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index 118262cccd2..3f3bcb557ef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d84e3692a8c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index df071559f7b..7a78d49b641 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8fbc71adde0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index a741bbce667..51adeac1f15 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..06995e20501 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 66b527001be..97c8b34e5fb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5a1fb0e893a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index c22ac9819c5..67241ce4616 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c0cd60fa55c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index aff550f0dcf..f60094da322 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ac464d80630 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index be319727156..183e4dd4367 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b0d981232d4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index dc1758ab702..5a3b4486d82 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..47e34206d0b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index eccaeafc502..6144b6e19ba 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6af2c171ca0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 5d608aa5fce..4fe4fe8bc0d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..604e99ccadc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 4c59595e060..0ed931f885d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..38365366aac >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 147088b7b2a..9be57e4a592 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2297f42baba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index f655ea4eac6..2df7c747290 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3e436402f54 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 21d84a1deb1..75d4b9fbe19 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f614f775731 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 15b99758704..2a9392df1d6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..243f04fe371 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index c5377a40030..028ee939474 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ded57c10f2f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index ce61e3e124f..66e42d84e1b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..89a0e8103c5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index ab594bdde60..0fc1d169c9a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e9795458463 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index c515745a002..7e988ffbc8e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a8968bdbb85 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index 85f9acb33fb..335fde0034b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0efcb5c7523 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 56db3510a7a..3ab4e9b33a7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..969c31bc65a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index 1e942bc9649..c8946d88a00 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2f7b8143471 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index d8b7367afd3..e79e8a05742 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8708b00c608 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 970122cf57c..cc5ea2700e1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..442fd0263ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 1d9ae9943a9..759625f622c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d5be4cdd187 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index d7dd197d6a2..34c39041f99 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..df30d7bbbac >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index d3d58cdd055..9301f0b2719 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..178effac3a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >index 2a2832c603c..7b9a33f47e4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..31c3ff613e1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >index d749b1fb534..3303e355a48 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5427c30120d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 6ea648d497d..932ac4e18f9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7baebce3242 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 6452e189535..32dac4bf4fa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7db65da50fc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 2eea5bce5c2..88a6f0b3283 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..add63200fd4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >index eb402eb930a..0caca74b53d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dd6ceec1fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >index d8f2cc325f1..f6215762acb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..611b5a31448 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >index 770aa2196c9..35123332a8a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..344b7222be3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >index cbd81ef8c9b..757b06bc6ac 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..90e62d99f4c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index 04a71c73283..3044b007cd9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0fa0241dc63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index 666f273d48e..2f61fa770d7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f2f22d08c67 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index 9e0a6320302..fbbb9efd933 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ecccd5f1183 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 5573699066a..93479418ab5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..32614d71cd7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 5cfb653e611..8a6ba540eea 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2bf92bd04c0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 4467c6fc86e..de595abdeda 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..85a3e108f5b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 20c6e672845..07a1ddc3a02 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bdf5fb09e5b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 61c183df1e9..47c96588dbf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3f219f9bcfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 94a55f631d5..e047b17d411 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8e0c78a113c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 6572626f169..404e18bd654 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..195c6f579cd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 052c4f3071c..246db457035 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..76bcb2334ca >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 7a639efc055..0a2a0f026c6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9da789454f3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 35ea0233668..b35d8f7f4f1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2e3092ec220 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index ae707095f09..aee79e7279e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..64a6b468944 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 5efe260b42e..e1ae930f78b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6d0573fa6a0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 46d4d6f770f..5e871b80659 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2fe5ebd809b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 5c177baeeee..c606d407a3d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9db93cb3465 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 48ba4fbec2a..bb9ccab8126 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..49ed9bc9548 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index afe482af237..4544ade5134 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dcf1f10a491 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 0c013c4f0db..14d891c6ca0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a942d320a6d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index ce637b53eb7..7205b5b5e20 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..982a7f390d7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index d48760a422c..2bd7f7f9f96 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3e34c73a83f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 06a9d7d4a72..6c941b98aff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4a45e72d373 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index a608e3ae09e..78a12c0faf7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1b43cc6356d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index d6e741e3f62..8cb3b1da63c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e57224b5c86 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index c39a1430b20..98b574b0334 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..fe002ff77a6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 3b97f957b2f..f6755e99add 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f880dd5e16f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index b67f4397f7a..9ee1de48295 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..131a07f19ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 19fdfe685f3..1f0b254a2a1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..54320d08bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index f6e26655cc5..85b47db7c49 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..37bceadab92 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 6e2a592ff5d..e2b6315eed7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..609cab7fe95 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index cd5c2c08b4c..8cd18a658d0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..59f6d6e3e7d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index dd579ccc99c..db8b65c9070 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ff94f3db9de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index b5a81887911..b37fab1c7d1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2265bdd3088 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index 27d3900a4a8..a8967e2f007 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..52222354ba0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 912f9992422..0f512823e8e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bc91342f237 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 42b78741757..1a7931b1016 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..05c152ea136 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 421d4d9e09f..7c80c012b34 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..14bc1da7e2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 397ad2d6833..221dfb63ef9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2b399804c98 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 3f04ea7736c..6373a785fc2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..11391383837 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 77605609762..20f91bbeb1d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a988c656d5f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 59a8041e699..c20b8e0eff6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c7ede2d1410 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 08e3f97c09e..44b8145030a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5c98a00032c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index e3ca9c6ab65..dde31a65bfc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5fc3169e193 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 84654cab5dc..98d1e981204 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2d14c83bae3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index c56716ebd31..e6f1a3e27c8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..015de53de39 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 22ebf6e76b8..4737eb59404 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dc7735a1b58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 5eaa959e054..41018d5e2c0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..acea11340c2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 132eb3cdd93..adc9f952d66 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..44e7bdde1c6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 5a0aa248a97..2210516aeca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bdfe799e185 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index 02c61798094..43fab7d5701 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a514e63656e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 9156260a10f..6a5f3c4fcc5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1a9c7a93359 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index 9f232627d47..1f280d02fb4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bd94fe57b2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index ddcc0e02cd8..603daa98f17 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..220cf31bdfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 154aca212a0..6ce64e62d24 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3ac3bccf5c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index b171edf427e..93075883216 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d0037d4b36f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 45ccc753e08..ef700be7505 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d924d233983 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index f2940a424d1..070e6a8817d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a8ee8b3995a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index c4fe80639d4..7784873f7f3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0ba732dbc46 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index c6915f8341a..917c0b88847 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5fc2b605d20 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index e5d0b8f3d10..a00848a63ec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..eead4be52b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >index 6a6d1d46e28..f75b72157f4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7ca9ebf0a55 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >index 8694c941d27..f6367edbb22 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e08ba26d84f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 19fabf6fc37..c603a42b7c5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..36125e3bb91 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index e3909a54f80..6d303558e7a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..98518f8ac84 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 754bb727a07..4436fc516bc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7f47c4dbb6b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >index 11df0d69acc..20047defd66 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a12343aa07f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >index cb2882b62f7..966abff838d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c6c2bf36c9b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >index bc28f2bf84f..c6ee143fc88 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..59b3752c8ea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >index 233ffad4859..7e239d69aff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..af9f72d5bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index ee95a6ca6fb..31c3b79a581 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..76a388b62df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index 3a0a025e72d..6eed03783b2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8fc43fc7ff1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index decdcef4b9d..61a5e51e637 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d6277eb34db >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index bf1e8ec167b..ebb93af5050 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..37f60a4a1fd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 2aed2d235a6..7699f0f96b6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..25011a38355 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 80ce3783597..12f4286f8d8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ec7c61f8243 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 66b6c28112d..e44a4fc096e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f166b2b08fb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 1b67ec6aca1..6a338aa72ce 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7addea4045c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 035a8f30206..5c81707fb55 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f52f9ba1a78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 912a9a13dbd..90c65ae6e87 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0a1d3260c2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 4a329a1f3de..f4bdee5ce86 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5fc5e7b31dd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 8de2e24297a..5e12002f256 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1e6778446ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index c6c75eaebd6..134f342965e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..15fa08d781c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index ee046e2aa40..ee71a0d6f04 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..97d706d1481 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index b65e1a448a4..efe2c0d2f95 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d8438b499f0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index c216046a1e0..83ca9017551 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..cce2a4ad651 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index c7844b8d79a..c902ffc410f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4c06d4b2d52 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 94749a5e4e5..7bfc7656576 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..af917847891 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index 3bfc3c54616..c85180f01e1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..196a8ce1088 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index 15d6d703128..d0ab6e1ccbe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dcd6f599e57 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index ace01a8c14f..8f5b1a70b21 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d4ac880d437 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 87a3d2c6b18..086c8b1a047 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d024b6e9622 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 07bbfd3ca36..d0e05376f09 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bc7404a7f21 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index f881b1fa904..74ed8a8903d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..276cc390cde >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index 019d330457e..41a4c940c12 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a9425007829 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 57670bc8697..37879ce158d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4c25872a7de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index e4efa6eeff3..7bab6eff28e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..cb7036888dc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index a3b162e0b1f..b874f1970b1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8d8f85ddcf5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 81fe68ccce9..ce4957f92f0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4939550be91 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index 59aa6a99b70..08dd0a18a46 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2692c6e3052 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 429fbeb81fc..d940fe023d5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..38bc67f7d8d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 3c06d739857..ae67228e393 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3a4b87b4607 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index d17bf1c93c5..edb49e27f23 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bac5d240d0f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index bee60557c65..f48a0217588 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..767f9e4d50e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index 4d4e09bbca4..795774b4006 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e4622f69faa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 7d78a9e44e9..8d4143e4ab9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e331d128212 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 2ab167d0ce2..68547fdbb73 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8124fd68587 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index 62a67844560..acf4458a168 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d08e5b96f02 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 1bf40e66f2f..6f57c7c4b2b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..373be260eaa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >index 549851abf84..e2404361ecd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1dbf45fda3c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index c57951a0a2b..66660f05264 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9759504043d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index e7a22774a22..15e97825424 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3fca2c64518 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 12b8220736b..f5e38ddb803 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a4431dea1ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 47e76c0a1e2..20dfb8a3d66 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..06038e6d89b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >index 67e3d38c17e..661a0cb964c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..712c61d3ae8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 184a637ed68..4705a198887 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7d0f6e69c5f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index e7b04e82ed7..66310f711b5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b3f610a1ac6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >index 42977a1babd..79be70d7587 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3ccd66cd5a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 846b585792e..d3a7d9627f3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5775f0f99fb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >index be8d5997fff..4140287d379 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..924d55ab857 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 629f4649ccd..0816608f10f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6304b27e041 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index ff78c96c8d4..4af019d39fb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8c6eba69cd6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index a2d94af9139..fde81606e41 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6d13dd4abe3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 984eb926b7a..930a9c1450c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5dfd860205f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >index 5cfcd569d69..8d08d63d728 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5c844a15897 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index b8fb99174fe..dbbc89ead38 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..22f9a2e543c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 9f0f9884e5c..a190ee17938 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..818f357776c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >index 44044767d1d..3a1d16bec4e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f96929a057f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 67fa569157b..572d84007c9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..115bd730b05 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index 0ac870c47c5..c1a8a0a0bc2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a48ad6185e1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index af7827fed49..c5726ef3701 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..638faa84014 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >index 0bead7943fe..a851d5bd818 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..cf8991f3949 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 27018f7b550..54e6d020281 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..fb7c861405c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index 995e8e10a88..8250944c36f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6f670df2273 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 6fec6ccca28..df0fe535c15 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..13dda576ae3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index b2728cfa0c1..e56f9107aae 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..659ab14cc45 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 23b325b573d..a47e2e0c615 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9f4d467bbe5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index b24d53bd2a1..3dd2c1247dc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a2ae119bd6b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index ffb70e5b701..256db1aa584 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..338a3f8d0ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index a0ef0088a26..7c05f53f14f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0a84f1a9600 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index 6022c1a8927..83a91abf2bd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3ee6f501cd6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index affaa0c387a..461fce61eef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e8063d2b5f5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index 4232b25a0f6..9d5a65e3171 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..da3561fef99 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >index c0addfbad60..26912186351 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..49ac02229fe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 2595ff89e78..d67f6bdbfba 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..261c24e901e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index f5805796344..e1a27e3fbae 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..229f4e2721a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index 7faa8adac37..bfd73c92dc6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3ffddac810c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >index d0ee98496e3..4b61d4478a5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..724bdb4c10b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index 3ad094a328e..eb4e0b3414d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..076d886eafb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 50f2649d3f7..7ebd1199cc1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a759aa821cd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 07abb8e5cbf..45675268814 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dd9ea8f0c6f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index 964449d2663..fecf19ce75a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e6b9304869b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 94bcc64d46e..8a07db8736e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7886f6bc602 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index 34079bf8986..ab0b3501c39 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..152d07908fa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 0ca38518196..3493ca250b8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..792023470a5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 366db4e4be7..fe714d038bc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c5783028d41 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index f24392c0915..82002683fc9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..fc33178b588 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 7142ad4f6ea..f84861f792a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4f892f756fd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 0fe52855874..8482c8ae977 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8db2333882c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >index 733db4a841e..48168636f42 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..06413f3fc56 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index 81b4f4d86fc..aa3455bc2df 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ba3478c92d7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >index 155d48f43a2..121bfdfa468 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..01db265dd13 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 560c9a1227d..ed2159b6473 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b0aab9e7609 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >index a677f73429b..4495c5440cb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..908769cb0f4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 97e792bcfb9..eb067ac7967 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..06a8c32a387 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index ae8cdc91efb..72b43aa9936 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3306b6cc52d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index df52f3058d5..d2cf0366dca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9efb27bf80f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 4c3c0706090..34d467754d9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8e49f84c974 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 7a9ec93295c..637b156a282 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..fd92e53f9a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >index 71bc6bf37af..ad34824d58d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..daa9f9459f8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index a37cc7545f4..f89a079a552 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d79fa97a3dd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >index 420d190d6c7..40e0fd0a810 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..be951c6fc98 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >index e5509fa0184..a8d3c3ed2b6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..093f8b26703 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index c7b2fdf2e35..df047a0ff44 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..12bec56f19f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >index d3c9121b537..6454292d6f0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3d1c9ce51cb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index c4bffccd640..9a9c91976d8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b9673ffe0af >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >index e6f13a4cb31..fedae8b7f7b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..50a9990374b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >index dd3faa6b87c..31892705e0f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1c33c4dd6a6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >index 1ad2fbdd20f..c3981366c5d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4d5523db823 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >index 295fe6e58d4..daf2637065f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..44c770b25fe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index bacdc0b2183..eb5e616ecd6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..79944e321af >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >index 54ae74c6b30..abbf8fcb914 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d8bd866592c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 9826add65df..b5f28d2d671 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1dea76a28bf >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >index 305ba094ce9..3780ae41833 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9ffb13b05a5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index 0c85bf84eb6..e40426f78a8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..010a114ba7e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >index 1f6c3bc7ebf..a4bd83ad284 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..04ae64fb6c4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index af59665cf4e..6696fba26b3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..43482de7c89 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index fee454c3d55..fbb4fa45f7d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e6fd9776320 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index b4b8a21a9d2..35af16f4dca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a2e818e3fc2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index 1c3f86a913a..0c1af722041 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dea1899aebd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 7c93de3d5e8..d2bc6fd4842 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e07e200920d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >index 4b89570dbaf..7cdfc9bd414 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..acdc687def2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index fc779aa8652..6a1d773f91b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9090b5a758f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 3fe0152390f..47c4a60aed7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2748989d190 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >index edcf827aa2d..9e95ed2ef1b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2805b5fb381 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 34660256411..2a897d97add 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..09f0c845362 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 469d8f70b05..507432c9db1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d81e19b59ae >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >index e71021bade6..1a6cf6884b9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2ea24a2c949 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index 840a1f7a074..2b7beb3a4bb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b564872eedf >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index 374902ef366..ba1fd4a4110 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6c347a00da1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index e2c2cd4dd56..43df09f493c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1fae15df701 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >index 9f17129a4b5..346c0165cf2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4336ccaf0e2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 5e5bd63da04..9c19546b28b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7863b005e32 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index f94b5d59213..dc74b170064 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..32f84650d6d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index ca07e207067..0726049eefc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..416a816b192 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index df2429b6a25..93b5b91c161 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9998d111942 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index f103376eb3d..a09e04cd22c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7652e136ea9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index 2af6647bfc7..9981baec4ba 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..02720db4c7c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 90148accbdf..c2a92aa157e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0737f6d6096 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 4c6847caf27..6b094f9b36e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d7582d7896a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index 1f21cefa068..fa473268c6d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..66436e815d0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index b56e5b8524b..2f8afbe8aed 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..502fd20c371 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index 6b9544a0dde..65cafa2b4f9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a637c2db57b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >index 6202549dcc2..21a26882771 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0da37694431 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index d031329a3f1..ce35564bf9d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2cfbbdeccd5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index 6e46166057e..80165257482 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..94b5f409518 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index 95e8de45caa..47aaeb0646d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7a48532386b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >index f742f21d8f0..1e3252924fe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f39c34e7ac0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index 0cfc6ecefb6..e09bacfa6fd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c939aedb2ea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index be708f879ea..ec641955cab 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..af129dd2811 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 645c7f0bb98..298ed876f0a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..58f2f07055c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index e46169ce4bc..c80d5bfd080 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..572bd7f361b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index a419537cd50..33451710956 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dd44e150580 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index c9b86740595..c444cb95402 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0be9910c25d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index f68e12df619..8d06c867b75 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a718d338816 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 7f8c3fba5d2..6b4d7aaf3d0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..87c6e735844 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index fe517279177..02f1cec108a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5be018b42a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index e4e1599e76c..3ab475dd62f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8a7b0f09452 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index bdc96d0383f..180cf23b63f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7f4c11a0bef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >index 58cdf01e3ad..fb63204561f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5657751b7da >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index cd10a5c9fe8..856c6e24e13 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9153c16ced1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >index dce6ced3f82..96ac4f9de15 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e8f7305209b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 16df4a1a945..1fdff5963da 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2477eb8d2f1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >index 0f99427b672..05c28a5475d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6182a5bb98a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index e53f5b42068..c60ecc104a8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..498ee92573f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index 08978a33c3f..8d81edd0440 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a362cf1419f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 316011bef19..a5a728cf86b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b7e3bf68d6c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 410956b9fe4..df4f87235d0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..cd419d5992d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 0318305cd2d..ec0a21e2db1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b124af412aa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >index a5a1cc939db..6255a8d29cf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..56b784fa70c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 751da7c02a5..b878f3839f2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..99091710937 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >index 56fa33cde33..2ce35a6ee3c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b32b07f141d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >index eebb7a97223..bde8e0f0d13 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..61401ab1a29 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index ed3608e5d24..6b5ea62e345 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a567b870670 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >index 483edb33208..b39c40d1698 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ee0f19a8371 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index ddb4d1a41e3..ba4fe78409f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..071bfa80894 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >index c30a50e1895..9b6574020c6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b65b864aaa9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >index 90ea1080614..544426d28c6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8e884cf581e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >index ce4d4606e11..833d0f69136 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5ed57754bca >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >index 7c92e52d2bd..55709bb0db2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8bea2cb4234 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index 7ad39cfa2aa..a4919c0f7dc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..13b6d617e03 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >index f62c5d870ae..9da55918ae3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4ffc812f824 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 517734843cc..9884fb1f072 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7ba7e127c48 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >index 6d14ffa0768..01179a3fab9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..61a9c70925b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index ca7c37392e7..5a27c133476 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c1e297a3692 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >index e5c3b9b584e..915801c177d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c0595449b23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index a80f646780e..504092c875f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..85af67651a4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 3a08e3fdebe..f128c96d648 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1fe30bd4f14 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 99cdbf23fc6..9ffd13b1c9f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b9703d1202d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index e6b82d9a47d..c3bc40e34b8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7beced7913e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 518d9246bd0..5072cbcf152 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..df0b5cec2b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >index 160591e9286..6941a3a73a3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1e9d366f408 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index b7e66752c39..cf296add12b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1ad998ae9ab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 636b3dc8380..6219c76898f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a1cc8b0742e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >index 679cfe519de..3a2ea609daa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1280aaf35d2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index dd4fed69476..c9bd5781db9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2a00ccaae71 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 41268757bc8..28239d6b595 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3ad2179e91c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >index c18b2c4445d..cabb0193e6d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9ee308215fa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index 6e6c3fa217e..22147bafb08 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..37554d0b3ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >index 23954df4320..630393ca7b7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..be84096fa74 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >index 3669e9b1566..660496841a4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..db69e2f17ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >index 80e254d9365..3f0455561a7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7d4bcf9e026 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >index 17b30ec2ccf..58a3e67dfb7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..dd933ae1695 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >index ff598293c77..fe7d67eac06 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..337a134d428 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >index 2ed99daf6f9..94d9aa008c8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..af8883f7347 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >index 823b59775c9..5b7d1de44cc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..6f7a6806e8c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >index 511d41f9447..8b6ac65947c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..19d00666cd1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >index e63fa654aa4..2f6692c4293 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..ed99e55f43b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >index ec1bb58ad05..93e56189dfb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..ed9b740c808 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >index 2c39f3fd93a..baf2fe78440 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..9d7dab0554f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >index 189a82c85aa..0736088aa84 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..4e726ad42e4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >index f87ad3a5d32..e6de3ee6078 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..e3d1b498bab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >index 34438f354b2..eb27059a957 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0c77b629250 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >index eba9addd891..eb1c0191a3b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..9ab4cdf83d9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >index 173c6495577..9d006903a0e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..4c9628e4c11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >index bfe6a69006f..911649a5d14 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..be29cff1ec3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >index df7a1dd4463..27cb0340e0f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..23b1c9f7632 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >index bed99339a37..08c297eae3b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..9ff905d447e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >index ffb89bdf1cc..3b72cc842c9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..66049331455 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >index 3c22697590f..89532a53691 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..cf70132fe29 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >index dc8ac21f0ab..959d00137c0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..73303d0f876 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >index 4166504179a..7ba2e047912 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7bdd18cf6bb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index 01293507748..8b215bc8f4c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e9e00bbe397 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >index f9aff9a3e9f..4c4ea0c52d5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3859466c7ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >index ae3c99d79a5..3ae29a17caa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..444e868e55d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index c4bbb04f499..e47bca42c76 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..dd09c643664 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >index 05d016aa8e1..c6421476aef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..9b4cf4a4c4a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >index 06874952d0b..77c266d21e2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..42ff5f1f272 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 633bca5dd9b..511058ccf50 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..4bd806e5409 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >index 1a6e774a450..ffc0a2ee559 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..2a23fd356ef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >index 51f4051dffc..8ede638ebbf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..5eade8500ed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >index 04fb16a1be3..288fa038a4f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..5951b046bfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index 320062ffd09..f8e8509b8c8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..212722c9321 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >index 3de3c060a97..88ab886b233 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..a2a728b7b5c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >index 910791a8f7e..f2482c3b3ae 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0b2beaeb72a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 64295c74134..24ab142cfd7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..69252055d3e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >index 5d96c06a329..91d8a23ea5e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..475e1ab04e7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >index 4452586c190..d486a7b8569 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..01169d097da >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 35673291ad7..bac54212f09 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7ace2c03eb3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >index a1e54114712..fe1ec67414d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..4b7790e5f9a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >index 08962578590..3d02acfc5f9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3817c7ebdea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >index cffde877e10..4fc0a20ca2a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..e30d90bcd52 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >index 96e1557063d..46ca3525e66 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..ea9f21544a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >index b10f9c0f5c4..6367857969a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..2403e94c922 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >index 44f635102c1..dc266208a24 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3d6253e0690 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >index c15d5403d18..ae9a1a24c96 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..1180c3558e5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >index 1f56ff4ec9c..3b0e4d177d7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3f6fc0c25f6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >index 98121e02780..fd2db5728fc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..68889048d58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >index 5c8725b21ac..b900db726c2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..94ecfd4cd31 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >index cc796d1d10f..62acabf41c5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3016f83efbd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >index 6fdf28dab6a..ba056619102 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..ea102de5d22 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >index 95ca50ec9d5..d86a85b208d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..6547780c092 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >index d1e4ec5e5a5..a5940fd6d94 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..d3fd8c6037d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >index 9ae77fc8525..e53a0ed387a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7a128673be0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >index 5afe2786920..ebba94e987d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..63369de5015 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >index 80ac216ce53..d36ac614868 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7cfb36b30b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >index f978eee6e13..8ddd1581839 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3dd15a15bef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >index 48021931887..3740814c441 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..2ceb79aa4d2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >index d1a6470f4f5..461c255ec90 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..1e8b7cfb3df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >index dc816247653..f8cecd0d791 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..364a673346f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >index 2d9914b0cc0..e1b46f72b9d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..1cfeb596323 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >index fbffbb36315..010656cfb05 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..9fee107c669 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >index 7d5176b31d3..0feafdce56e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..9b74cb5274b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >index 3535e470e3b..a72089286fb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..9a49e208134 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >index c005cdb21ad..db330329909 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..e5d4322651d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >index 92d5ad04dfc..47e98f19d00 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..a69c7d9eb9d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >index 80c2dc96234..ddf8b522b59 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3ce8728da93 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >index 43956fb2773..17f72f72702 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..4b0d5ca5441 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >index b78a54bdec2..4dbd0d1e8c5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..6911bd80558 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >index 5f75d954708..01b339b41d2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..e7b6afa183a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >index 972f53c499d..07a972315fc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..89a0e8103c5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >index 2ed48c76b59..f4db0be0e50 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e9795458463 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >index fc7ce513774..befe72d9695 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a8968bdbb85 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >index 73c74711d74..b2eca76078f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0c1848505b1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >index 2c20f0678cd..50768c30cf4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..969c31bc65a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >index 36dea90ccd9..8fae2caef61 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..2f7b8143471 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >index 6aaf6bcc355..4a41087b095 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..bd0d460d03f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index b0a83b027e5..b6a898c1ad2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..442fd0263ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >index c4b5d2dc307..a26f0dd202e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..d5be4cdd187 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >index cbde3dc348e..8b178d9990c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..59d9ac6f3c7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 17a49b5e9a0..0a46c97106b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..178effac3a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >index d8d63426e63..cc92566b86d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..31c3ff613e1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >index 021cde83cf5..99927886521 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..5427c30120d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >index 55d1153b4eb..a7d6c72f08c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7baebce3242 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >index cef8c446d0d..c4df370a717 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..043eabbda9f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 0b5e66191bf..8c45a5dac20 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..add63200fd4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >index 085e7f94dc6..bd13da2a292 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..dd6ceec1fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >index 93e882f38f8..3c53fa01167 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..611b5a31448 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >index d8f37e50d29..ec3e284c3c5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..344b7222be3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >index 942d1e58614..e6854db2f3d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..90e62d99f4c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >index 3e897a0df32..526c2648432 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0fa0241dc63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >index 309a08d9c1d..bbf21e785f3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..94fbeffb5ed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >index 3c551d85fc8..9cef48221ac 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..1b3f80d96d0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >index c260249ec34..e9125ad0682 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..1e1a6908efb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html >index 60237386565..4b59071d48b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..70c140a4d1d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html >index 9e261a6bd39..0a8ce7cfe01 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..11014e75147 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >index 3e787e57045..09f21bf5294 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..f60b4769396 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >index e9e7be04b64..53229010cfd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..690759d6ecc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >index 4e950e8fec5..6a53bb812b3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..b1660c56688 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index 3141c630194..dd27004c1c4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..9efdbe48b93 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >index 88c7a890ba4..131c0e0893a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..26b87beba66 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >index e12c0aaac75..61753d6188a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..f7529c58577 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 2e21ae4dd55..e3cd0610003 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..bf167224f84 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >index 35d0b6ddcb4..6c8a0fd643d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..7ed39bedf82 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >index d5b58f05de2..5c6d59f53ec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..893568e3a70 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index c98d80d76e4..4ccf6b24c82 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..a8bb168d0f9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html >index 0df0cb032c3..07887aa6a61 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..7b0efa8262e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html >index a77d5f4093e..a226cfc9422 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..c8d7b825023 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >index a85b2278ada..9d2cb261d6e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3e098eda2c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >index c744a58972b..7d128a216ef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..42999179f13 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >index 212ab9cbf2e..f95a61709ba 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..803b14f3f11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >index f222c73ba35..e5c4a5b9d70 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..1010e5dd506 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >index 48e45cf0bd3..6b69d4f3399 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..dc3edd3bc23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >index aecad6912fe..b36d8e43696 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..a18f098be11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >index f32b57b4618..cb22d1880e1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3df5d15e947 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >index 1511e2698b0..10c4f953428 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..e4037a99cb7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >index 16663cef199..f93f8399ef7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..8a996be4089 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >index 03a416fef88..ef7dfd49fe4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..edad55c3df6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >index 93359f78a7b..6335b58a250 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..649510a1373 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >index 9c13229902e..9087f457aa7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0290cc3ce0c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >index 91d2de7e66d..cfbb2478acd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3b68e4c1fff >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >index 75db963a5e1..562bc513b1b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0991c172642 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >index fc37bed2d67..2aa2cdd9b4c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..4fcf8570f58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >index aee2ea7c9d0..92b2a2069cf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..87f2615e299 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >index e7e8c62d18f..9703cae9306 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..67dd39746c1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >index c08627c88bf..bfae1b4ce35 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..1e4cf1c3549 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >index 61fe98cc34f..8f5342fc17a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..b33d61b2fea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >index 5a3ac9cad35..c4f1a54f2c6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..6c46a9d4f23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >index 751fe6f733f..1b961e3dfb4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..67408429258 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >index 2aeead25c70..137aa7e3af8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..606eb7b432f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >index b58bb94275e..1703a958e78 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..fd7acc30ef0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >index 5b615aa638d..c3c98c4d440 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3bf6462f38f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >index f258c7d56b5..3d8e32017d1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..ea7aa041f98 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >index 2847f7f7bd0..9fa4ca3c127 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..a2f381c735d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >index 89e14deaf8d..feec6a71fff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0167f462537 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >index 58b52343262..c1c349086bc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..6200215d51b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >index 8a38f962858..a796ddbddc4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..d8a68ba93b7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >index 3657c99b060..cd2d7972f0d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..488f24e9c14 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >index 929eee92da6..592768a121e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0b64e16698c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >index facb2bb4f5e..7824367f87b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..ffd5e02938c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >index 32139a7e67c..7f07485e08e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a514e63656e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >index 7c4fa4c0f8a..c9d64acd3ff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..1a9c7a93359 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >index c9d040eba31..8d8aa7b1407 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..bd94fe57b2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >index 8aceb49eedc..585c54a5b78 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0b923150566 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >index e81c2dd3f9f..53e908467c8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3ac3bccf5c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >index 70c3f7425ff..48e6c69b555 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..d0037d4b36f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >index f44dc59e66f..aa3dda32d62 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..fc28dbbc24f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index ddc2046916e..d319c671e1f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a8ee8b3995a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >index 85d8099abc5..2986e09860f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0ba732dbc46 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >index 6debb95cb57..b44acdd3f3b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..ae716116b9a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 1a4487f292a..da358ee0e1c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..eead4be52b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >index 19e07a14190..2127ef3ada6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7ca9ebf0a55 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >index adc00249ccc..cfb23ead044 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e08ba26d84f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >index cf3252420e0..57db10fef10 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..36125e3bb91 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >index fcc357a289a..e854d09454f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..064b082c8ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index d74ebe4a8a6..58993fbddb9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7f47c4dbb6b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >index 47dd5a3b7ee..58588cbd89f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a12343aa07f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >index 8472b004cb3..57abce25ec0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..c6c2bf36c9b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >index 7d7df4db6ec..73a9963f1f0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..59b3752c8ea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >index e2ee48a6b5f..e5d89fb2d20 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..af9f72d5bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >index ad37935f0ed..f69d366a327 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..76a388b62df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >index 767fc96eacc..ee0f051f770 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..bab1725b978 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >index 9b27e8aa0d8..ec455a6aef7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..d6c1eee7266 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >index a3890c90eae..a709e40c51b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..2f3e924a6b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html >index 71f4f82d195..dc2c9d9ab75 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..dc0d9ca7d63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html >index 025d2fe085a..9fbc08e5384 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..79b9bf587fb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >index c9d64651295..3f46fabe37b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..d225f9beccd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >index a549857a4dc..3ca5a0b0d7c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..796ae832baa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >index 99797a3cfcb..a17b3ba8c17 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..22c5bcf2e43 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index 0c266d63d47..fda77dbd15b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..988290ca855 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >index 9e66977275f..140fbb9684b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..4a766eb47de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >index ba464fe3ac6..be879a22314 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..c40026e5ae7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 8290ed5189f..95973ce7308 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..c26459c46d4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >index 1991fd3d354..fb2ae653afe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..873e1cdb0e7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >index 85286d15a71..13669d31a69 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..76830d47444 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 183f6364f17..0f8985d1427 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..f3989640a94 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html >index 81c6a2700df..26434dd0a05 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http-expected.txt >new file mode 100644 >index 00000000000..100f1f09113 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html >index e85befc20d0..62e3849d679 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/same-origin-upgrade.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..38cfca4fcaa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >index 832ac698a5c..6a09e53315a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..81b3c6e910e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index 4d59f674b98..ef0836b8e87 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..be84096fa74 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index ca81802a256..86f6a004c32 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..db69e2f17ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 37d6dbe8b30..c404fcf03f9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7d4bcf9e026 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 31516d48b3d..f3f701fd230 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..83ec85e48c7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index b84f1f575e9..2ea65da273e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4184f2c06dc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index 2daa6a24c58..90a500cfae7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0c35ea2dc2e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index bdbab61818d..79c96e6f2b4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..afd79b3f4d8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 0f736f19b6e..714a08bc7bd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8e8aac1ab23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index bfb5349a641..ff7e409b8d9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0c4d9502ffd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 08e015bf785..6e914683ee8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d1e1580543e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index ce605fd5f5e..1a8ab2b4830 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9d7dab0554f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index bdd2cd63dc8..4f8dadde3c4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4e726ad42e4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index aefce7aae8d..8f130d28a17 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e3d1b498bab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index 5dfdefd487f..75eadba3d1e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7666a3274c5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 4aefa909094..4fe3af9ffd3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..905495c377b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index 070cdcd6fe5..48631e39d26 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..76e44bd9f55 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 8bfbfdded24..3b10e291d33 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..da7ed8433ab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 85e9536c51f..bbc4061c2d2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..69bf27447ef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index 7ff64169d47..2d2ef35f681 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..306ec8c3e7c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 9cf165fc9e2..47c51d9df66 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a0f856bcc24 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >index 412dd7319f3..330d3f0f907 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a59d2931df6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index 4c8dcb9bb14..ea15eec3189 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3f550ac7594 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index e5126a170db..61323de7a02 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d4ee19304f9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 0ee559675bb..c59ee9d340c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d10f5056421 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 14eed644445..51b9ba26564 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2c2345299ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >index b07f6b7302a..72e74ac6802 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..65a77074aa4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 4ebdb286df0..39c65173264 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1294fae8cf0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index e17185329b4..9af146296a2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e59a9e046f9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >index 135a4fb22a3..4000dd3467d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7b8819c91b8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 3a3f291f176..547c19ff485 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1325ec4b738 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >index b7fadf8e55e..ec64d6fff5a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2a23fd356ef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 7ba3045ef0c..2623fe82db0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5eade8500ed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index bb303226b7e..adce8bdb569 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5951b046bfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index 57801468115..fbfb700eb94 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8720a11a0ee >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 6996618954b..68a33b74a18 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..351b696c9a5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >index b73f65da88c..40e7caed485 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1fafb43df7b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index dfa86e093d8..7992aa6e009 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dfc251c2ab9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index d996f1eb49f..9c4011d2817 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..22d4b18008f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >index b7f20cb80a3..b174ef4feca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2d6990980e8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index d358fdb4423..6d987fbcb52 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7ace2c03eb3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index 95d57c2b9ce..9fa486e6ef1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4b7790e5f9a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index d90b3b8df34..5577dd290e8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3817c7ebdea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >index 0c84b5e9efc..3dfd7e3526c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e30d90bcd52 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 852e16e47d7..5fbda64f1df 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ea9f21544a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index 0d265edeb9a..b498a7d7a31 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2403e94c922 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index c2450a514eb..cf30937880f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3d6253e0690 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 5bc159a13a3..5123048a961 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1180c3558e5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index c0c2ae7cd90..1a6b8711327 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3f6fc0c25f6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index 6dd1c699406..6ecead7d50e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..68889048d58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 7f284d7ab69..abaf6d3efb8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..94ecfd4cd31 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index cefe89addbc..849754d0a23 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3016f83efbd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index 7e9aadfca7e..c9009ba9bb4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ea102de5d22 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 3a2025adf47..e10011d34f1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6547780c092 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index 9120ee2daa1..3a8045104ba 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d3fd8c6037d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >index 1897e65d091..7e4275cad39 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7a128673be0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 05e3c5061e8..130958a292a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..63369de5015 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index 9a50c94e13e..40606039bed 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7cfb36b30b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index c1341fba415..35fa4d4e120 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3dd15a15bef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >index 5a14370027b..8bbdbcaf518 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2ceb79aa4d2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index b40e78125f4..f765d8e5ed4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1e8b7cfb3df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 9229b712c59..81abd80a316 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..364a673346f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 975bbef9eec..dce1889cdaf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1cfeb596323 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index 200d2581d7f..2d300936294 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9fee107c669 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index c4f86b6f13f..7490ce2006c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9b74cb5274b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index e561639229e..efa72adcc59 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9a49e208134 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 9e05f3169fd..6c5960010bb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e5d4322651d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 6ea52cc0b8a..c3f9f1540c8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a69c7d9eb9d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index 9d7a35e7321..972258f7c09 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3ce8728da93 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index eabbc62da39..a0b43f146fc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4b0d5ca5441 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 8d4ae17f4a7..e4b8632fdcd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6911bd80558 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >index 7abbf86e45c..f01ce4e0289 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e7b6afa183a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index 5964582f93a..f0d6a0fd054 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..37c0ab66dcb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >index d8d232ae484..669b174a081 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8b4e7f16a1a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 23632702001..f62fcf98e40 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..130456e69d7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >index ae3efa41619..c6c6a1e4837 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0c1848505b1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 9df73a22f39..b74b0d48002 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..fd703f491cb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index 86fcde84c97..e18a7d6a716 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..53579c92a0e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 91a00709615..792f0231e44 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5e7be7c3ef9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index da9e364cc25..a3d13d7ef6b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bc0e22c0df1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 0aa29edb30a..e4dc43e104e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d17b5814704 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >index 5141185712a..fcc9e44e29c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..59d9ac6f3c7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 866d1e85d9b..41d15b0fcde 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b8fe04b732e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >index 380654d5817..8f54379c868 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..27f17fa506f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >index 59db4660452..fabac2224ef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..241c5e42574 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index aeb58ff3e98..9635d1c76c6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..15277bcb7ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >index 8b487f6c0c7..b825d86ed65 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..043eabbda9f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 0688080d1fa..a8231d341c6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..834756ca877 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >index 239684dd290..ac410b09142 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..28feb12b7bc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >index 1e7e81a29da..53d23827867 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..997ac819619 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >index e2fb1961894..35418f29644 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7446fbf2060 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >index b00cdd18680..4d62a43436b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..54442922128 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index e938e2948a5..ae89a6a0880 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..982f0e0b2f3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >index 4607b2f2904..06c3b88fb1c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..94fbeffb5ed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 866663bf416..237a5f0f491 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1b3f80d96d0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >index f692ede758e..ed249742bfd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1e1a6908efb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index 6901246fd9d..ec9ed5db268 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..70c140a4d1d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >index 4e80eb02c64..545d5215b80 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..11014e75147 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index 3b18bbb823e..0a8b8a98c18 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f60b4769396 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index a3a534244a9..a4efc8f4d6b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..690759d6ecc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 5953cb46675..5ff897669a4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b1660c56688 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index b42b245873a..51d8fd3ede2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9efdbe48b93 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 127050a1515..bf13e92fa48 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..26b87beba66 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >index 89b20840265..d1fddfb6a42 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f7529c58577 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 5d1e2edf777..cbdc2336ada 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bf167224f84 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index ac2de9e9025..8563ebfd9fe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7ed39bedf82 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >index 7be8878c8dc..6365a8bcf02 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..893568e3a70 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 8a8ea462a79..35002016c5a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a8bb168d0f9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 6d84859d9a6..0f0d047fffa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7b0efa8262e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >index 2470adc1294..4c9cd6fdaa1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c8d7b825023 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index 72447eb8214..d9787a4e6d5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3e098eda2c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index a8750785088..8a7ede0d2dd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..42999179f13 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 664289ffa68..a150b8ea76d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..803b14f3f11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >index 01783b97c69..e1c0b2a5b5a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1010e5dd506 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 9cef3616cb7..8dc5fd5aa9a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dc3edd3bc23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index d18562e64c7..f74e8d3cbd5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a18f098be11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index e0cf6d2d9fb..71d01012864 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3df5d15e947 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index bc042eab8b3..c5e42caa8ba 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e4037a99cb7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index a9c87d94ff4..1a5ad9592d5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8a996be4089 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index 71c9c907358..0ada60ada71 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..edad55c3df6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 0ee1eb93da8..17379055260 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..649510a1373 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 4bd1a03dcc5..f9673638209 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0290cc3ce0c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index 2642535512a..d4306b79349 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3b68e4c1fff >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 06543ec39db..0b0ff184b64 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0991c172642 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index 242d995189f..414c8723ca1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4fcf8570f58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >index f101b25a201..ba53dcf3508 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..87f2615e299 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 07258ac6c72..0525b3cd2ee 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..67dd39746c1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index 43cf88c2f65..60094d7f0ab 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1e4cf1c3549 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index ee250105544..35b705119f7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b33d61b2fea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >index e7518ed3bf8..d5908e7ba78 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6c46a9d4f23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index 5d7e052a1d8..3be90e5d4ac 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..67408429258 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 332388ea25c..d64247c6447 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..606eb7b432f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 428258e2ba6..f9769b95f9f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..fd7acc30ef0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index a0888ea6f73..7c9b8c83221 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3bf6462f38f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 8d63366815a..483a43cddb1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ea7aa041f98 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index eb5e55d20c1..f27831c876c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a2f381c735d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 70611c502d3..44042cd5008 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0167f462537 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 53d81620f4e..2385c83cab9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6200215d51b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index 41c700bc81f..bfe81dde602 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d8a68ba93b7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index daa1a3aae85..c4305ba0bc8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..488f24e9c14 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 535f3bebccc..7d89052f52f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0b64e16698c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >index f874efccd74..738ef6b1996 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ffd5e02938c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index ee647402d00..f34d5494e7d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e14ecdbda50 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >index a8425d86c34..7599f2ff243 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6389bbea77a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 9b427a8afd0..3209281673b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c36b1949bad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >index eef34cc540a..e5d16e24a55 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0b923150566 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 2a00a0655be..8009f57b1ee 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3e46d64e2d6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index b7f17b1ae4f..b702eef57fc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3d091bec4c8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 30e950dd1aa..b97825de1e0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6d014a66296 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index d27633cda98..5c73dd4d88d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e710ddd206d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 58fbc1ce17b..f2a25196f71 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b502e2b73c2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >index f37fc76170e..79c61faa417 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ae716116b9a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 53967957173..3c2117ec022 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ef3ff1663cb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >index 07b34aef6f6..aa9af02fe1e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b7851b167f4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >index 19a4b7dc36a..43f41479755 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..83b99148f10 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index f841857ace0..cd10ed2b6b5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..43856325bed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >index 39fffb013a1..a1538cc41be 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..064b082c8ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 3acf7cd000d..4fc2718a910 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..728b9f31b6d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >index be3189f7605..2ffaea9826c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..750c26b7f77 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >index 4357b4568a2..c997e228e17 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..988c59c67ff >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >index 7505361c716..2872d59fc51 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..329e1920a22 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >index c61dde7781d..dc7222d3732 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6feecfd4a13 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index c56f4990bb7..a2c953d6e74 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..498961b526d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >index f8c686e48b2..2bf98b82119 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bab1725b978 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 55fdf3837d9..0af634a6d27 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d6c1eee7266 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >index 98cc61436e0..f3608e17eb9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2f3e924a6b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index 1110ef082b6..57d8f47d4f2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dc0d9ca7d63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >index 00e304fa40f..47870a7628e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..79b9bf587fb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index 52103eb8d41..3d1253229e3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d225f9beccd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 85a8aa12f6f..8c0a1ec4eb7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..796ae832baa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index d69b1f9dbc5..eaf45d6f7a5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..22c5bcf2e43 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index 004a25c2977..9eaefdaf1ec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..988290ca855 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index c194a59094d..bde05c454fd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4a766eb47de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >index 141da1af782..7d723ab86a1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c40026e5ae7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 103b06e923e..e04b8253413 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c26459c46d4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 4fb66f80c3a..413e8ad82a1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..873e1cdb0e7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >index 313c1bc368c..2832c088422 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..76830d47444 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 261516d3ba7..78773bd5e71 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f3989640a94 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 810f1c73cf8..3cd75589c30 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..100f1f09113 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >index 8fa3c37a9c0..cbccc42abda 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..38cfca4fcaa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index 93c5d95b994..ccd15b3bbfc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..98b33ee249c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >index 1441f041505..7bcc2189a06 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..dcd6f599e57 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >index 8dfa7ad6b40..052a9df8e71 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..d4ac880d437 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >index c4d2401e1e2..92b1559f77a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..d024b6e9622 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >index c0ec1c7b35a..c047ae9b3d2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..fa299387093 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >index 765e2d03fb4..a1e4d2d8adc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..5e069aa85db >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >index 616eda833c8..7a1fd76a930 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3d6dda91bab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >index b3b9e780904..9b7cf05f66e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..68e895a5ba2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >index 0e530132808..6c6bf43a24d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..97f6be9ac63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >index d14658ffaa2..adbecffb505 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..e17b2aed262 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >index 47f1cea345b..a0942713fda 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..fc06bdb809c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >index de614235731..b37889b65b8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..2692c6e3052 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >index 69833f84e27..dad6e7ec9af 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..38bc67f7d8d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >index aca13b25172..0e379e43123 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3a4b87b4607 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >index 41e112b0966..1f7a8985a9e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..262f56ec725 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >index e7de640c72b..2cbb6fd3489 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..b5df87d91e5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >index fa168fd9b11..289aa3faacd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..1dd9195f112 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >index 506c4957d04..eaa417eca08 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..52f3d926107 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >index 553a6fd3881..2d2c6d6d04b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..2a50d85e22a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >index 68d11650ada..7e99eba7a8c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..58140d37abd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >index 5c98dc5bd38..a294cba7c53 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..66049331455 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >index 96b5d35daab..0f0f3f586c7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..cf70132fe29 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >index d48f34cba67..29598521aae 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..73303d0f876 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >index 2321745a58d..03618c360eb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..4c9f2b5ac68 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index 93a43ccff7f..1e785d961ab 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e9e00bbe397 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >index 48f17b2bf82..4e046873b80 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3859466c7ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >index e4e1f25613e..c61e82351ab 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..f7409b38eea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 5110aef69a5..96fc319aeeb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..dd09c643664 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >index 688a5ea7743..1e54e3910e4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..9b4cf4a4c4a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >index 9f5d1fe4c00..a67da150084 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..91116c3eac1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 5344928b729..b5c0081ef67 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..8c6eba69cd6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index 8f36bc8a214..9aeeff94ea2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e76e59e5dc4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html" >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html" >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index d14056f807b..0b75d688875 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..957b75dee70 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 384c0434b07..2be11cbd75b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..115bd730b05 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >index a682eac220f..5923bd66f21 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..a48ad6185e1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >index f86c2410971..cca4a0ceb6e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..638faa84014 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >index ac48fc6aef1..8bf793b5b86 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..cf8991f3949 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >index 2ce423d390b..7c0a9b9bc60 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..fb7c861405c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >index ff00fdd2eb3..9c2b85af9b3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..6f670df2273 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >index 05ac113570a..96bc005ebf9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..13dda576ae3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >index 33345545211..4e35615bf1b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..659ab14cc45 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >index 26263c5b5bb..b78a720df68 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..9f4d467bbe5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >index 583f80e75d0..7d5905ba238 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..a2ae119bd6b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >index a90a29e9d88..5a8e1fd812c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..338a3f8d0ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >index a44157c8f45..f4a53c631d5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0a84f1a9600 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >index 754a7932af0..d6b14df4795 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3ee6f501cd6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >index e9d4ffa7f2f..b5daa974365 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..e8063d2b5f5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >index cf42f306bfa..7fdc05de8d6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..da3561fef99 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >index a1c3a41153c..c5b705bef4b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..49ac02229fe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >index 53cc66bf3b1..926ed948d51 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..261c24e901e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >index a7ca6718c10..0bb7ff22833 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..229f4e2721a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >index ce275d2aa72..b1d5c24fdad 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..3ffddac810c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >index 82f4495695f..29efe5be1eb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..724bdb4c10b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >index b92937fdb54..79b406bb6ef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..076d886eafb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >index bb56f640667..553334e038b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..a759aa821cd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >index 6b658e12a38..c23a6cdf198 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..dd9ea8f0c6f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >index e3c366d8e6f..7dbb28b150e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..e6b9304869b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >index f77583edb57..0f8c2d41b9a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7886f6bc602 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >index e93152dbca1..85236c6263d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..152d07908fa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >index 442a92535e2..26767fab0b3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..792023470a5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >index c977d6abf0d..2c98ba5babf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..c5783028d41 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >index f6ea03447a8..3a4e85ec7e6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..fc33178b588 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >index d5649a0442c..7b0b4552057 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..4f892f756fd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >index db7320e4e3f..274f04abe69 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..8db2333882c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >index 790b470b6fa..dc7dfebee06 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..06413f3fc56 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >index b0a1155a7b6..b2d25b69e30 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..89a0e8103c5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >index c30696cc711..86ad248198c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e9795458463 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >index 6c0cc53bb13..622f77bde2d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a8968bdbb85 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >index 109a92e4080..dab704a425d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..908769cb0f4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >index 3af24e81b45..878d948ceb3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..969c31bc65a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >index 8c0cea74794..603ecc55779 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..2f7b8143471 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >index 8d563e77529..43a132e6808 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..2454582baf3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index f1b8cdf20ba..1bd76067b27 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..442fd0263ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >index 167f2d2d88d..d00194b1437 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..d5be4cdd187 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >index 6a8dba9757a..2daad670867 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..daa9f9459f8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 06eb373aed0..1cda061aa01 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..178effac3a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >index 5e2a108f2f8..735a4acbdf6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..31c3ff613e1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >index 328682e0974..19e5416cb3f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..5427c30120d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >index ec2a37a2caf..e45cbc673ae 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7baebce3242 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >index 9dba3effaba..4539d076c49 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3d1c9ce51cb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 6320d8efc72..7f3e435f11a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..add63200fd4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >index 02919e7ef97..81607785f9a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..dd6ceec1fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >index bd042ca8f17..a8a6aa1d828 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..611b5a31448 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >index 73f432c16a2..f1eba7aacdc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..344b7222be3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >index 679ef88d994..7ab09331785 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..90e62d99f4c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >index f9eaa06a95c..29ba286e378 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0fa0241dc63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >index b3340eeb24d..0d1b267039a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..d8bd866592c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >index 45e2c2760a1..dd07624a999 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..04ae64fb6c4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >index 43051d36855..38df795e3a5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a2e818e3fc2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index 2e3fd52e4aa..525df39fd4b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..acdc687def2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 5b368ab7bcd..a4533c649ae 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..2805b5fb381 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index b4866f9faa1..037bb3fee46 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..2ea24a2c949 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >index 3d6aa3805a1..7671fa5c539 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..b564872eedf >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >index cd4c32b9393..ed415758d06 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..6c347a00da1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >index 387714fcb77..085a267a574 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..1fae15df701 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >index cd4ee2d6fb2..cc554724b30 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..4336ccaf0e2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >index 16dd0012855..011ffcd01eb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7863b005e32 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >index 20ba4f05912..3f7d38759e9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..32f84650d6d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >index 81e8b03a642..f66e36d7a9b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..416a816b192 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >index b3a4df02596..e10c1066d64 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..9998d111942 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >index 09aca420769..b3424b1ea90 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7652e136ea9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >index 1497633d365..40c2b7a9ff8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..02720db4c7c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >index f74a4c0a14f..13b9d94f53e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0737f6d6096 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >index e230f1cc900..e50f65e16b9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..d7582d7896a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >index 7c5f43da6b2..5b5dd12e596 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..66436e815d0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >index 57b33f26515..ebc18c61cdc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..502fd20c371 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >index 9bf8885fd84..06becc108f4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..a637c2db57b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >index 8c6c5575988..88a7cddb0b0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0da37694431 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >index 180b6f5c30a..ebd68284221 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..2cfbbdeccd5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >index 5f8b261c504..b50c0b60db8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..94b5f409518 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >index 8f44d1179d2..df69d477669 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7a48532386b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >index f1955a0ae5d..eda910d0922 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..f39c34e7ac0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >index 34eb383a5de..37370379123 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..c939aedb2ea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >index a76e568c7a2..56e124b1470 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..af129dd2811 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >index ec42bdaf812..2d1110639e0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..58f2f07055c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >index a18a4ae4d92..22fe64a0945 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..572bd7f361b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >index 602c4bc4cfe..2ae690c53d9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..dd44e150580 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >index 77b4460ea8e..b14908a7b2c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..0be9910c25d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >index 63b244f94ff..485c8784c69 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..a718d338816 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >index 8a3bdfe72eb..f81dd12dc60 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..87c6e735844 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >index 1281bc7ee41..484d9ec036f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..5be018b42a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >index d78713d8c6a..e566233091f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..8a7b0f09452 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >index 22adee613d2..f68dac93582 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..7f4c11a0bef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >index f28f6917a50..7ffc2824a8b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >new file mode 100644 >index 00000000000..5657751b7da >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >index e2e7ded1497..0834f026a39 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/cross-origin.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a514e63656e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >index cf2b5269048..6f2de0eeff1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..1a9c7a93359 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >index a7d5d03782d..51d538a7502 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..bd94fe57b2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >index 504ece5d888..09e9945924b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..6182a5bb98a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >index 709f577dfc4..ebd39b1026f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3ac3bccf5c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >index c5cbe784834..3cefbeb1b7d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..d0037d4b36f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >index 4bf9dc87276..1f883558c63 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3f477f55409 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'omitted'. expected (undefined) undefined but got (string) "http://localhost:8800/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index d1b3228de87..d705e0ad324 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a8ee8b3995a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >index 562da359007..f6a28d48c1c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0ba732dbc46 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >index 56bf9a992ef..a38fcd1affa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..56b784fa70c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 3fcff7ff5ca..9ac2ca34857 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..eead4be52b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >index 7b87fb43bc3..1dc4c4cd4d1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7ca9ebf0a55 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >index 5d0a7069193..1c28100003e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e08ba26d84f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >index 5997b079765..8abb5198b86 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..36125e3bb91 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >index 68dbe6d2a52..9d4630b46c5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..ee0f19a8371 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 30972c3a693..58e0f26e2f8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7f47c4dbb6b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >index 3646d06a6d8..f47b1f37046 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a12343aa07f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >index b885670555e..b45744a94ea 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..c6c2bf36c9b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >index 7e1b68370d2..d2061267c24 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..59b3752c8ea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >index a04b753a15d..5f35a68ef06 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..af9f72d5bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >index d0009e0462a..e9787edaecc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..76a388b62df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >index 48bba7e7e8c..e00a911d55a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..4ffc812f824 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >index 61273ce04db..699e73a837f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..c0595449b23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >index 2f5e63f5f6f..fd369ed2ec5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..b9703d1202d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >index 1eefddd0bdc..426a91f7370 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..1e9d366f408 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >index 160c3cae70f..f0d6cdbf00c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..1280aaf35d2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >index 203765c8c30..18250c8c3d9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >new file mode 100644 >index 00000000000..9ee308215fa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is omitted when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >index 7bbb54db6f9..019debb40a5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/same-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/same-origin-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..5d14fca5afa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >index 98c847f5051..849efbc4e7f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..be84096fa74 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >index 6a88ec1b6af..d3ee7cb684b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..db69e2f17ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >index a66dd71e7ed..0f8d60ca672 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7d4bcf9e026 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >index 362b875a990..f09d000eb72 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..5631c1fdd9d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >index 739a649e2b3..e28acbe9429 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..f0153e22786 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >index 205080652fd..948bb087919 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..75d49f6c151 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >index d194c9b2392..ebf8d26f517 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..8ef25d0cf84 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >index 896f4df0751..990f752a23d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..861a79a8a72 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >index 9939c679481..66f41a0e325 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..af4d3758efa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >index 1796ffbd26a..8e23ad41ded 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ac209d9dc86 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index f17d565b43e..3baa66d36b8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9d7dab0554f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index be3469eb37f..e5c060c86b3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4e726ad42e4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 9b089cdac2d..8b036117d70 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e3d1b498bab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index a58e196c216..e165003f6ea 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..09072da672d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 4e95aa3c58e..42492e23b77 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6b22fd7741f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index d97f749f00e..984b0790d42 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..df494455138 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 630d21df237..9bcf3910c1e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..622fed8dfb8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 58922dff54f..cd8c557f05d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..97353a61006 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 05bb00af49f..c38f3063536 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5a971b17f6e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index f737207b916..b38e3d4668b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..66049331455 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >index 85611c41e3a..a90739dc499 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..cf70132fe29 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >index ab0895dae0e..83b3601256f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..73303d0f876 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >index e7f413f4bad..72dcd1d2738 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e460432e83e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >index 17127f4d207..b56aa7a2c44 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e9e00bbe397 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >index 851ffa37b34..bc6c1bfd1ea 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3859466c7ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >index 044d1165f86..6087f4b7db9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..f08bc3e5a3b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >index 0c8bd4f1373..7d2599a1b71 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..dd09c643664 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >index 6f890f66fb4..6581ee64e4a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..9b4cf4a4c4a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >index 397fa9cb469..9403ed73bcd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..98fbc11af58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >index 6fdbce59c04..5345da2d6d4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dfb505a3bf5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 21b089ea62f..7230246dd23 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2a23fd356ef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 593531dc9bb..382334bba5c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5eade8500ed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 7dd540b4afd..8481ed5ab38 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5951b046bfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 985461620b5..db04cf7f5cc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f3b58ecf6fd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 9a8387d0b41..d35d0c25cc0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2f0bcb2e866 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 01ecfe03cb9..1a6e2a4aeb3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9c7e2cc72f2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 9271c730a2a..117a3dcd2e9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5fd23a867c0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 69ba51cd605..bfd21f6f15f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3f78b2afd4a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index c6ff5f31708..2e6a113369b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c4a13032d76 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 91fd73f0bb7..b9d2ab53f9a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7ace2c03eb3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >index 24aafa27b29..4dd11a19be9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..4b7790e5f9a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html >index cb33a237015..a65eaa7901b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3817c7ebdea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html >index 322319fdf91..7d5e9f51eef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e30d90bcd52 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html >index f1a38d55adf..bac63c5fb0e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..ea9f21544a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >index 508405bb881..60d5073c3fc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..2403e94c922 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >index fafeac9f988..6be18f7699d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3d6253e0690 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >index 4b65f3066c2..952e77c9cc6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..1180c3558e5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >index a47d8059b16..48f71be2eb1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3f6fc0c25f6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >index 5106ece01b0..a28deb3c0dc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..68889048d58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >index e0c5a01d588..2ebcc268d93 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..94ecfd4cd31 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >index 6f0cbb6da67..6425c693b33 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3016f83efbd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >index 0f840f6b3cc..fcae5517b70 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..ea102de5d22 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >index 30ba21dbaaf..92437dea18b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..6547780c092 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html >index a45899f8680..9d2f1dc7bb0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..d3fd8c6037d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html >index f28a7dac315..77a7c7198da 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7a128673be0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html >index 36647bd217c..490c294ced5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..63369de5015 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index b37a41a0f79..22f1f3bdc72 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7cfb36b30b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 29185f3be8a..bb47761b3b5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3dd15a15bef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 1aad94ca47d..4dc7edb6f57 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2ceb79aa4d2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 20c4b42180d..11d7fe3e261 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1e8b7cfb3df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 431bcc29631..12e2c923aa9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..364a673346f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 26ea4bab71c..269c233f650 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1cfeb596323 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index cb3b22bd887..3dc041adb2b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9fee107c669 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index c1e09f76152..7985b8b5397 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9b74cb5274b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 9d8a29e3b21..6f2526ec2ce 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9a49e208134 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 18bb1796e0f..408a84a46e9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e5d4322651d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 02d240f4ef6..73a6d401686 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a69c7d9eb9d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 7ff1c2d477f..db3836944c0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3ce8728da93 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index f3234db7fba..3e93e19a718 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4b0d5ca5441 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index cda5c213858..f556a17b5f4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6911bd80558 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 01b9b2f6d45..966ccd4a906 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e7b6afa183a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index ab501ba4829..b0f1c512bb3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..89a0e8103c5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >index d731d349adf..26ba5374576 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e9795458463 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html >index d5fce9bd4c7..3c24da11403 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a8968bdbb85 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html >index 1bd6d4d7af2..5147d1ae55f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0c1848505b1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html >index 3fadc6ed1d0..5f043f56d9c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..969c31bc65a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >index 5314bdc4292..7235b46f693 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..2f7b8143471 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >index e480475c4c1..898791470cd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..ea76a3a17f1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >index 5b663c86663..915a0e04cb1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..442fd0263ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >index 1f8ad54a5e0..2b5c254b315 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..d5be4cdd187 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >index 7cfe3c95608..448fc03146a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..59d9ac6f3c7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >index 3b118b1573c..b71a1ba2fea 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..178effac3a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html >index fe0acac1c2a..c23f33e377c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..31c3ff613e1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html >index 994f4980029..0f8a6123318 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..5427c30120d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >index 55ea446adca..25e7bed4966 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7baebce3242 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >index d969209f05e..0366ca590a2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..043eabbda9f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >index c870703a446..e43090fc94d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..add63200fd4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html >index af83435da71..94737a8ad11 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..dd6ceec1fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html >index 939e659235b..7f20701fc23 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..611b5a31448 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html >index 96e809bc922..1e0251a14db 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..344b7222be3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html >index 133cb3f8152..a04b093f052 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..90e62d99f4c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html >index 2d4ce605db2..4c888a8955a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0fa0241dc63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html >index 62e3401af57..ea5c378b938 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..94fbeffb5ed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html >index 9cb8d09c957..f95d9dcf862 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1b3f80d96d0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 474c14bd284..2fe55648eeb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1e1a6908efb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 4527f4c14d7..805c1fce6ec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..70c140a4d1d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index df2c18b63d7..3be3cef8fe6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..11014e75147 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 5fa94c07a42..001876c67ea 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f60b4769396 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index f1462a3904e..d065511201c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..690759d6ecc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index f3f4eacdf57..8372e89bb96 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b1660c56688 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index f113c71f88e..0cb91426123 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9efdbe48b93 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index d4aedcd44c3..880ac954014 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..26b87beba66 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 50e35f214eb..d1e21f26bee 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f7529c58577 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 295a8e28d36..81ea510e482 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bf167224f84 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 3dcf63d3175..66353279841 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7ed39bedf82 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index a5eb6db025a..d9bc87d7ed1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..893568e3a70 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index ec19f422cf7..f4c0db2b33b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a8bb168d0f9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 551856e96b5..e0a4c18164a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7b0efa8262e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index d19eeec61e2..ddf12c7dfbc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c8d7b825023 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index 323962143c3..967c856ca94 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3e098eda2c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >index b0a852d431c..e2c794e2e27 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..42999179f13 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html >index d12ac42bec2..1d53a856484 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..803b14f3f11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html >index 8d2050bc6b8..11002b84ccd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..1010e5dd506 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html >index e77b1cf749f..0660a7152c1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..dc3edd3bc23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >index f39dc4a867a..6dcd7f6fb5c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a18f098be11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >index 80794c90460..0776180d9a2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3df5d15e947 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >index 0666e64d116..38e9578454e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e4037a99cb7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >index 8b2e83b163c..6f0993c8010 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..8a996be4089 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >index 6e4127e8d8b..9e03d5384e9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..edad55c3df6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >index 5a821e9be18..1a928cfec18 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..649510a1373 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >index 9f6900504ca..ab822dec774 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0290cc3ce0c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >index dca6f9a5783..c51ebf6c472 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3b68e4c1fff >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >index dd77fa1e854..14ee299d92a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0991c172642 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html >index f700a2e4406..ead14cf5f9d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..4fcf8570f58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html >index acbbcf40d2d..1ee7fd41367 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http-expected.txt >new file mode 100644 >index 00000000000..87f2615e299 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html >index e30f960523c..0110bf0e34f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/cross-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..67dd39746c1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index a6c9d8d09e0..12a1bc66e0f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1e4cf1c3549 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index c062ad75f5c..05ade9a9562 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b33d61b2fea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index af5ee5bb983..ad0fa26cee5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6c46a9d4f23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index f585f96f2fe..074dc1c008c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..67408429258 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index fbc89f63472..02a8550756e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..606eb7b432f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 3826723cffa..c67cc2478a0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..fd7acc30ef0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index b7b973ed00d..e53c8315664 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3bf6462f38f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 0aa06dd0477..3e11ade1bcf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ea7aa041f98 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 8c5db573dc9..27c4c842c94 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a2f381c735d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 068f3a7494d..f28e884825e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0167f462537 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 50c0bb6d499..5c8ef0ef3e3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6200215d51b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 1017cc3a28a..bb9bf2c1ee5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d8a68ba93b7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 46f518e21cd..a4798d7b47d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..488f24e9c14 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 156c0a79114..0b58c64c200 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0b64e16698c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 13734caf4c7..3ab27355d09 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ffd5e02938c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index f921e398c87..6c8d7ecd7b8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a514e63656e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >index 739830636c1..62b85068c20 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..1a9c7a93359 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html >index d0044e5908d..efcd74ac789 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..bd94fe57b2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html >index 18de1edc8e2..eb84455bc12 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0b923150566 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html >index 48f57a97c61..dc71fc362ed 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..3ac3bccf5c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >index 2d05a1e8a09..8752f5d2cc8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..d0037d4b36f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >index 0b968145541..4c3a3e733dd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..9a264e69b11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >index b2b7ce96cab..33640559429 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a8ee8b3995a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >index 3f497621ebc..9acebe2f0b0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..0ba732dbc46 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >index b8d150d39aa..d1f8677bc8b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..ae716116b9a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >index 16f7ed4ec07..a205d415fa3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..eead4be52b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html >index 32b1e0dfab8..dbffdfd9b70 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7ca9ebf0a55 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html >index 5299292a39a..ac598a4aef9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..e08ba26d84f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >index 2ff8ed8e516..fe796af905d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..36125e3bb91 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >index 6fcf861fd26..df0b66b578a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..064b082c8ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >index f523700deef..3e6a5ef1e50 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..7f47c4dbb6b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html >index 41d8dfb4063..fc8d3c41bbb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..a12343aa07f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html >index b7357a73361..3291f436ea9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..c6c2bf36c9b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html >index af24a7c3a0b..19ad046a8a6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..59b3752c8ea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html >index a70b0e72e38..c8fe4c6ec6f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..af9f72d5bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html >index 03018d57bd0..ec2f7efe8ac 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..76a388b62df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html >index 42e86391b26..207a092d679 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http-expected.txt >new file mode 100644 >index 00000000000..bab1725b978 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html >index 09a483fa928..6ca54f81610 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/same-insecure.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d6c1eee7266 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 614d050f1ec..d8ba3dd25db 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2f3e924a6b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 1bcb11e8e06..6d3dc7018c6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dc0d9ca7d63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 744d2ef10e3..685cb213ab0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..79b9bf587fb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 84b48ea87d0..65b84cbd52e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d225f9beccd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index b6b7315f641..931a865b0a0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..796ae832baa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index f1a842a9161..44da9c8838e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..22c5bcf2e43 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index bcbc4fa6063..3e272c6f36d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..988290ca855 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index dc49acfd7bc..4b94af4929c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4a766eb47de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 5b1f0f8a5f0..95d6345f7c4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c40026e5ae7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 5cc2ca54a08..17f127f6036 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c26459c46d4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index b5304e12221..bfb222a4475 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..873e1cdb0e7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 5cf441b8bfb..e989b00ce58 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..76830d47444 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index a259914ccb5..a1f1e0e6f1b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f3989640a94 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 20148fefbc0..ec4786e1e4d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..100f1f09113 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index ace1c310142..baee333cbb8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..38cfca4fcaa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index 8479327c2a5..2041b46c26c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin-when-cross-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..eadf66cd54a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index f6b970af922..2fb347ef35b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..be84096fa74 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index 792597f6ab1..0c34da119fc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..db69e2f17ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index d084d7d0281..f992e393925 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7d4bcf9e026 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index bea3f45b42f..e1e6c13ea35 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e5e6cbb2630 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 96a6b20c97d..fc07b47fd64 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..794569fd077 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 0dc1eee0d87..083891dc3c1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bf29bd9fba7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index d19621cecd1..07601e37eb0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..df0a4ce62a7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 957091cae3c..811265f11ce 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9c5e02665f0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 8dece5695f0..254a29152f8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..75b2f34338b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 1d8dc4aa39e..f78fb878fff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..64d45892fa1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 068d7533951..9c5035945c9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9d7dab0554f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index b100c0667c5..4b238c0449d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4e726ad42e4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 1303bbed50b..a860c257fd7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e3d1b498bab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index d311f8e74dd..a798c85d6f5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..620f8e7e456 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index d3d12931b34..3955b78f7ac 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d8bf8099f27 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 9bed9572ff2..f755d35c825 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b331777ef64 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 18cc457503e..240a3c7f186 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..cf671b85bdb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index a94c064241c..8d18e84cb76 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7833ae66753 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 4bc11069cb5..38edd1b85df 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..309d3b3e0f1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 2d3bc04b7e1..95f4a17a2a7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..aac36c17157 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index e88fef892a2..f80ba375958 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a59d2931df6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index 3e1ab9b5993..ed1b8c033be 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3f550ac7594 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 3d7ec735d6a..050eb6a3904 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d4ee19304f9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index da884876476..143f3f7c87a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8846efb4d1f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 330715606ad..ffc81902980 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..42777bfb598 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 41dc81c404a..5d8be2bd928 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..042da7eef47 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 6598ba613c6..7ceb389b35b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a0bf2132e08 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index ecf97d6f5d9..f3f5573b758 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..421125ef917 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 327ad157116..55edfc93760 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..59b91c439eb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index a98a8bb315a..902fa3341a1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e1b37b686c0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 1674455a5d1..bd278695088 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2a23fd356ef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 066047220a1..331f865afb2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5eade8500ed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 7dd5bacbc01..b26af2a076c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5951b046bfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index f05e57b3573..0d7bdf20697 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b3567641f83 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 371633ed2df..1360edbceff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a494d76c770 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index d3efe045593..2f99fa63217 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..28fde8e11dd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html" >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html" >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index e1efd9f8b89..f69c1341e09 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8942c2755a9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index b1548cbcd90..e7ea376cd14 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7edfa2e4351 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 83ad16ec11f..859c7267ad5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4bdd35c04df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. assert_equals: Reported Referrer URL is 'origin'. expected "http://localhost:8800/" but got "http://localhost:8800/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index d55fc452fbb..747c8e1059d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7ace2c03eb3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 6ca3f08f728..9aa77a78c63 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4b7790e5f9a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index 0dd755c1c1a..0db6b0fbc2e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3817c7ebdea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index 143fb97db81..95eb256986e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e30d90bcd52 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index f5d37d11e0d..59de544a1c0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ea9f21544a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index 9e52e01675a..42dffc718dd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2403e94c922 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index fa8842df5a4..a1c0ad2ecbd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3d6253e0690 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 43dff534e21..4214ed39789 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1180c3558e5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index a72f47dd4ba..c74fdf48aa7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3f6fc0c25f6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 1ff937f5767..d6c256cdd00 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..68889048d58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 59b7ba10708..84f50a7242b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..94ecfd4cd31 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 3179c6ecbd5..a4c9484c8c0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3016f83efbd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index f62209fe6e1..5ff57615500 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ea102de5d22 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 05e2c7ea8b3..214d0a41e68 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6547780c092 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index 5fbbc7e5180..21f6bd1faaa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d3fd8c6037d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index 8f895f658aa..a7054707dc4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7a128673be0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index b3c39fc9f3e..62dbdaff92b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..63369de5015 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 8b06f445e85..3877d5bce4f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7cfb36b30b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 89b288f85ef..b537c0352c1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3dd15a15bef >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index dcbd51e3b90..0881853070c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2ceb79aa4d2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index e4d0c83510b..390e5a114d0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1e8b7cfb3df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 2d55efbc28d..21ec099f4cf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..364a673346f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 04f886a39eb..9c05e66587a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1cfeb596323 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index fd58e4e70ab..2bba3d1b958 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9fee107c669 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index c06869b7b8b..4e46c27514d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9b74cb5274b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index adde522b522..43b78c36946 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9a49e208134 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 51d88233bfa..745f65c0488 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e5d4322651d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 3e5400c007f..e503b77b05c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a69c7d9eb9d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 1c47d057f14..9067040bb86 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3ce8728da93 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 0a8e19556a5..7b2f46326a3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4b0d5ca5441 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 0f894d0a416..e471c1fb030 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6911bd80558 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 7df421d68a1..dda3d2fb493 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e7b6afa183a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index 65a0315226d..5e3c7911cd7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..37c0ab66dcb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 5f39f8933c6..3449a347dca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8b4e7f16a1a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index 9b405a8ff74..d68b3f0d60b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..130456e69d7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index d84c7f5904c..0d32296e8fd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0c1848505b1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 207eb95f8bc..e0fe2ed9eca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..fd703f491cb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index c371de93ab0..5a66aa2ca70 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..53579c92a0e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index a76bc5841c9..228473d37a4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5e7be7c3ef9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 0bf104829d7..556a260ea63 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bc0e22c0df1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 24900cd3ba8..e9f49f4ed9a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d17b5814704 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 3da8fda74a4..e225adb44b6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..59d9ac6f3c7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 3c95f290262..a2a97e73d1e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b8fe04b732e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >index 52b7fd3c93b..eae326f66c1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..27f17fa506f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >index 5b417f5fa0e..870b555c7b4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..241c5e42574 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index e3cada3c95c..92186b38318 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..15277bcb7ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 9c2223229a8..924ebe5e76c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..043eabbda9f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 956f83b91ed..8e374ad73ae 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..834756ca877 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >index 9c90fc295cd..698ba1f52dc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..28feb12b7bc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >index 7b605a64df4..c3eead4ac0c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..997ac819619 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >index e58d778fe17..b1c1f720a14 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7446fbf2060 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >index c39673a685c..f0082510aaf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..54442922128 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index 39b3d4d5a03..dbb8da1e03c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..982f0e0b2f3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index 2b1537c99d0..09aeb8fc143 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..94fbeffb5ed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index b7fc76ffab3..e2f73ada79c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1b3f80d96d0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 42b67db7bb0..fb86bc5c45f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1e1a6908efb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 575ad28f89a..637f7d80196 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..70c140a4d1d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index d14b0b5a377..649574394f1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..11014e75147 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 80052e293d9..1bb79c1f38a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f60b4769396 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index b797c7167ed..a9053cc0649 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..690759d6ecc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index e3e35115f51..c7536fc5080 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b1660c56688 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 34ee1e680a9..b27ed1830b6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9efdbe48b93 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index ce2a8629bdc..39a7b701c33 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..26b87beba66 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index ba28809961e..27f637f8447 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f7529c58577 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 137aa0a469a..3c11a22da1c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bf167224f84 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index dbde2fcde46..b02da368869 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7ed39bedf82 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 2e43ff0392c..5f542a4c16c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..893568e3a70 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 09f4fd3dac1..a5a9a71c2d1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a8bb168d0f9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 5e664817c57..be363d79516 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7b0efa8262e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 5f0426410b5..04e317062aa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c8d7b825023 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index a70b6773a5b..3504c73637c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3e098eda2c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 27cf9918048..597f4092c2f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..42999179f13 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index 4bed5f9bf75..2177b2407fb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..803b14f3f11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index 1e0ecb22618..54b2947dc66 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1010e5dd506 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 637e63db7a4..94f10a8e9de 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dc3edd3bc23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index a7713596022..9463f5394ad 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a18f098be11 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 84d8cb7780d..3838698b0a8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3df5d15e947 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 2283585fa45..5a1df9c256b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e4037a99cb7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 3786e3c2ee2..0fc489100e8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8a996be4089 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index c87dad26607..0028b48d0b7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..edad55c3df6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index d7c00a2cbe0..8b2dea1cb62 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..649510a1373 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index bdddd53ee04..71a0b692afb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0290cc3ce0c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 6f51fe1845e..48861eb9bb7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3b68e4c1fff >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index e30392e0f96..c63d9a1608c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0991c172642 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index 79ac18fb22f..e2143e1a320 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4fcf8570f58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index 7146324b317..b8d84f7726c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..87f2615e299 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index 20250b21f83..4f36a9cb357 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..67dd39746c1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index c7bac19efea..c43e52e9dfb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1e4cf1c3549 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 72e3f0005bf..8edd239db2f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b33d61b2fea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index b11b48f2b70..873b26a46eb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6c46a9d4f23 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index d1fbc240322..f0d5c81eca2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..67408429258 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 79161c901ff..c985a404544 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..606eb7b432f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 2284e99ec7e..9881576a69b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..fd7acc30ef0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 532ff5f00cd..203c5e73cbe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3bf6462f38f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 9f98c017984..41025c58578 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ea7aa041f98 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index e7c6aba4352..ada714dcc50 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a2f381c735d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index c6acd2b5dea..a574b130411 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0167f462537 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index de84f49ced1..20a3252bf2f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6200215d51b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 42190ffdb98..d48173ffecc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d8a68ba93b7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 1396c3194bd..c5a1548b12d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..488f24e9c14 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 14869d14cda..0ee367c9316 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0b64e16698c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index a332aaaca37..3e6c3a175f1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ffd5e02938c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index f5b44c6dff9..533a22a7241 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e14ecdbda50 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 9c85284827f..335ff468d90 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6389bbea77a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index 1ed6966d7c3..32aab014434 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c36b1949bad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index 33d85483930..a92d87e2782 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0b923150566 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index b6d35027965..6f9417785ff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3e46d64e2d6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index bceda6b6222..ad8d9e7f190 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3d091bec4c8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index e4452e8889f..a218fb4980d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6d014a66296 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 5ec40bf6127..f3fed6c88b8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e710ddd206d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 3f20ecde7d3..3675e2391e4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b502e2b73c2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index bec41c1ee04..a94bdfa5d53 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ae716116b9a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 5751b140f39..623f6a6e81a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ef3ff1663cb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >index 63efc923d64..a991f0c6757 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b7851b167f4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >index f6514637935..1546f57a7df 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..83b99148f10 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 8631f9768b7..3877c0cbaa2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..43856325bed >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 9012a8b3b7b..8542943aabe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..064b082c8ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 34dcb856a52..f688eda4732 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..728b9f31b6d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >index ead01d68363..aefc8786e2c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..750c26b7f77 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >index 2ded70b2f4c..107e1ca1a67 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..988c59c67ff >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >index 0807c9cf5cc..2b4472d3554 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..329e1920a22 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >index 43d514d8d01..5889d9e90f2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6feecfd4a13 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index f96c2bc5b76..2edd19df54f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..498961b526d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index 8f24883a35a..418e84a8210 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bab1725b978 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index f8cef232a87..d46cf842c63 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d6c1eee7266 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index ae72d6df240..0e40587a040 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2f3e924a6b2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 6ba8d503428..538500ad734 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dc0d9ca7d63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 2a1c02fbfe7..58da77e1a29 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..79b9bf587fb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 5d2f1ca9e6b..85dab619c2b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d225f9beccd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 8c9214bcb26..92c2b51d15e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..796ae832baa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 88ef542d163..b9818652513 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..22c5bcf2e43 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index ff9fc6dfda6..20f21df5657 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..988290ca855 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index d009ad41b82..7c597fbcec5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4a766eb47de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 56f21b478cd..7ba85fb790c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c40026e5ae7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 8bbeb71b993..fe6b2b59b8b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c26459c46d4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 0dcdd09671c..7cb4aaf0943 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..873e1cdb0e7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index e5f30e2116e..e7caa273156 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..76830d47444 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index ffe6cfd0fd8..b0fc558d76e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f3989640a94 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 3bc89e8aa80..bac4c36dfe5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..100f1f09113 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index fa5f9600d59..0d76c92864d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..38cfca4fcaa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is origin when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index 5523b92f215..2b24a45ec52 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/strict-origin/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..990efabc695 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index 2c091a19091..00587b4f18a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1fc873a454c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index cafe70e7b5c..3bcc6e82a70 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..23f9b1323b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 571ecb99fb9..387a0b3e6d5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6253edf6c97 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 59d593788aa..e19734a542a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6b4f10d4c78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index a9ca0f209d5..72eef24fef5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..532bd8ecbaa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index 02ea40247df..c789cf6d302 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ead412f1bdb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index a8376076e9e..a24af8beb2d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..90045dee569 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 02d24f43981..a2773bfb160 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..de2d44565f7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index a57cf27cb9d..72cedc5e35c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1898e934ae7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 2fde9f85ca8..612d7b36280 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ef4a55dadf7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index 1f464c65115..dca3d062994 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..eaa41450e75 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index fbbefcfc327..2c5328ff25e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..cecec56b0a0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 5f476997226..54dab293d80 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8258484417d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index dec87409692..9899e2f4e6b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a8585b702d3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index d0ee8283b49..98a55358c7e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..88be539d01b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index 3d7deb5d690..d5843c83a95 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..30bd98040f0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 1e1d7cc7d06..f7d63a639ef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ca9746db02d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 2ff7491aa44..bcf8f70bbf7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e19bdbeb872 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index b669e643b2d..eca04d52b02 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d4cfe7c6326 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 96297ef373a..91d7ac0ab4d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..66049331455 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >index fc280d887a7..72eed78e5a2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..cf70132fe29 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index 4f41d3a9b3a..7a45e12f4f8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..73303d0f876 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 5e1fd3ad072..5facb852896 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..68aa70732ab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 091e47be9ab..8ed4f634005 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e9e00bbe397 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 2ac8da1378e..70403fe5365 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3859466c7ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >index 9b861d9028f..32dacf7ffdc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b8460ce0c2c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 6873ffaeca9..433f51b1431 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dd09c643664 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 362df9ada72..b23ffd4b8e2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9b4cf4a4c4a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >index 2e89b249fa0..08f7d092894 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..042f3429b78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 7ea56f60dfd..f5bec43c8b2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a644e8843de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >index dee2d6d4912..c1d52ddb514 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d583de98a49 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index d72a6fa952e..5225f28f850 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d0d0d2bf01b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 2f5f1cd7f4d..e17dbf9ef6a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a5f352f6fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index be9327362f2..613eac440b5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..24a1bd0c1bc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index b1156ca958d..dfc5328013a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..34a29129bb4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >index 8f6459a49fb..ea9605e8169 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..70a49a78f94 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 72d2fea16c1..8b5e5cd9c0c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bc0d7e076c4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 4bf19c93d71..0913d31a24f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..99d7177f0e5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >index 667a01425b5..2b06a9ab2a2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dcc397371c8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 3ac4b60555e..d8375c93426 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1b59a490d82 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index 44d2d7ff531..3353f707404 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..96d736a4c00 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 2f27941d33e..a82cc859c33 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c581e856eab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >index b75f8d3c179..8f57b3335ac 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e0467612699 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 86c2a31212a..3991c324090 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a67a7126c17 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index ab9d5a2b934..f61537ab2b7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..539214d8b31 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index d421be327aa..5dfb2f8a164 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3dfc682fbba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 82624d67db7..50010aaeafa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ca550793318 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index d9503327116..d17712e1d17 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a54dd6a9a4b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index 2de08cf93e0..e514cb738d3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bcc516b2c6f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index b19e9c63736..679128d15f3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..88eb03212cc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 70cdab12318..8afd60eabca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5dd469e812f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index 896cb0ffe37..f63430fde91 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..73f6ee6e59b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index baa966698e3..6f78f7ab581 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..001552045a2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index 3c8d120751a..10fca8ad729 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7818a26a583 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >index 410b00d95ae..f60d3ed06cc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0ea5f65fff4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index f469e2034eb..44b1b21a711 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d84e3692a8c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index cb5137b7110..8d9b118d13f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8fbc71adde0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index 756fe3d4128..e9349686169 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..06995e20501 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >index b7651581b8e..894676e8544 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5a1fb0e893a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index ce86369596d..42b84b21508 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c0cd60fa55c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index f1d12065c07..9383af1ee71 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ac464d80630 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 9f7a47c8262..03c22def281 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..b0d981232d4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index ec2dff0e842..f14ea6703b3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..47e34206d0b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 4dd8bd2b860..de791441ea7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6af2c171ca0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index edb482fbc03..83707cdee07 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..604e99ccadc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 1d631cfd83a..2b92b33df18 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..38365366aac >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index d6cfd058bc4..142267bd452 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2297f42baba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index ff8a7f68c5b..738f5c34ade 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3e436402f54 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 0c6165860da..a3be0469c9f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f614f775731 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 1ab7f58d797..29ac25d14a1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..243f04fe371 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >index 9e850de0579..3a95f9f42b8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ded57c10f2f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index 41f07968946..177abec135b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..89a0e8103c5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >index 1f93d7f0e47..8dace833026 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e9795458463 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 178cb8b1e25..5ba49e0acdd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a8968bdbb85 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >index 037b8e9498a..4bff34e02c9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0efcb5c7523 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index f4b3de94b4d..fa58ac157f2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..969c31bc65a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index f690596c58b..4cf2262dab7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2f7b8143471 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 42e366cb1d8..aedf67b946b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8708b00c608 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 2b53b402bc3..4181c8a875f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..442fd0263ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 13af9b92e47..dc6f090b51b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d5be4cdd187 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >index 5eacfc71beb..22d449d42f4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..df30d7bbbac >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 3d5a0f56fbd..1492be672bf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..178effac3a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >index aefaa47a7f9..c35639823ec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..31c3ff613e1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >index 3443749f66b..bc5f3bc3e94 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/module-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5427c30120d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 9fd91229678..c458763f10e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7baebce3242 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >index 3250c6e5192..00e1d936324 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7db65da50fc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index cc0a5b952b3..c17379cfad0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..add63200fd4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >index d18028876a3..faca9b10f87 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dd6ceec1fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >index 44f058b9c8f..b0c9e254228 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/shared-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..611b5a31448 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >index 46bcf18943b..ec8d76fc0c9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..344b7222be3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >index 7dc7b6247ab..3334b1aba36 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/worker-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..90e62d99f4c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index 71c77a981e0..cf19b751ec8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0fa0241dc63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >index da2e9749c62..4c44cbce0d9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f2f22d08c67 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 78a52999a02..61889e61f95 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ecccd5f1183 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >index 728c0b9fe40..1a03c3d9dde 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..32614d71cd7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index b01056a5928..35f3e69127d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2bf92bd04c0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >index 724609f9149..9cc15eb4b90 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..85a3e108f5b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index 3cdffe67ffe..dc5ffbd5de6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bdf5fb09e5b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index f1575cb70fa..2ac2803d0ed 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3f219f9bcfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 796a330f30f..5b22bbc5dce 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8e0c78a113c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index 131c10be9be..125d2fb6c3d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..195c6f579cd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 912467477e8..bf9143c2874 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..76bcb2334ca >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >index b3412f7d80c..bdb66972d4a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9da789454f3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index be489bfddcd..8aaeb884177 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2e3092ec220 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 8408e1537da..ff3cd97f497 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..64a6b468944 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >index 46eabada371..3f38a8a242d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..6d0573fa6a0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index b78455112a9..b1d13cdf89d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2fe5ebd809b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index cb1a94b8680..6e02ec75c7d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..9db93cb3465 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >index 12e87e0847a..dbba2048bac 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..49ed9bc9548 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index d09ea914be8..f945a1d0c83 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dcf1f10a491 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >index a20cea74b25..1ed2a0198ca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a942d320a6d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 586afb4acef..ba120250e94 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..982a7f390d7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >index 292fe3a636c..46522686598 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3e34c73a83f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 1483bebbdc9..0c7c8484a4e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4a45e72d373 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index 17a4a30a9ba..d6b47ccbd36 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1b43cc6356d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >index b699abdddbd..96e137e4112 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e57224b5c86 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index bbc37575bd9..06ba58084f3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..fe002ff77a6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 89c51bc9f03..cc71a6ca689 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f880dd5e16f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >index 3268adea80b..18fa571fbf2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..131a07f19ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 54b5692df97..bbfd11f31fe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..54320d08bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 6f196270e9e..d54694fb1ed 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..37bceadab92 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >index eb060a8bbe4..6e1a080f9cb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..609cab7fe95 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index b1254a01895..6343373d16a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..59f6d6e3e7d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index 4824a3a1725..5659e1f17fd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ff94f3db9de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >index 853cf0f639e..bf32a5b6b59 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2265bdd3088 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 6a15feb308b..59919b70ecd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..52222354ba0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >index d83a1411362..7b81605b86f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bc91342f237 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index 8f5f30e65a4..4a337036964 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..05c152ea136 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >index 4eda9b843eb..d767da3fd7b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..14bc1da7e2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index f8a8c2235b5..a119bd26f51 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2b399804c98 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 1c120f03174..9045c6f9877 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..11391383837 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >index b2ed1f2a4b4..79164f38d4f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a988c656d5f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index e190427a1cf..dabf50d51c6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c7ede2d1410 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 07ffaf428a9..6a28a4c5e54 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5c98a00032c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >index 9651117f5bb..5c47aac9269 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5fc3169e193 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 20c08a716bb..c5367f0e3cb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..2d14c83bae3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 0b306eb6fe1..6df7de3ecdb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..015de53de39 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >index d91096748d5..88c6a0f7aba 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..dc7735a1b58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 346efd7b703..df434df7ab1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..acea11340c2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 1524fe75ef7..2a264a4b107 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..44e7bdde1c6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >index 2bdcedada2c..a6775759e6a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bdfe799e185 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index 039df094f3c..91e3cd52054 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a514e63656e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >index b4dcff3d96a..cc66c5cacd1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1a9c7a93359 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >index 548efa17cbd..cbf5e1c28ff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..bd94fe57b2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >index c8832328a7a..f2035473523 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..220cf31bdfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >index 600a384a030..f1837a8f7bb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..3ac3bccf5c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >index 51e067dfed7..3882bfd35d9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d0037d4b36f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >index 93e2e7d60a3..698f9f64c05 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d924d233983 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >index 4bacdb7d0d0..5e6177d1728 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a8ee8b3995a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >index 7269727302b..07314409e95 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0ba732dbc46 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >index 83764468686..c6aafb2d306 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5fc2b605d20 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >index 9f3426e3497..3e27d0de2aa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..eead4be52b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >index 3cfbfc69836..621ac5bb3e5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7ca9ebf0a55 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >index ce4eb22b3c5..8711a507ab5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/module-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..e08ba26d84f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >index 6e88e62de39..81294f80501 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..36125e3bb91 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >index 6ba93c949a4..d0b1553b75a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..98518f8ac84 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >index 06498b0a154..1d5ef969999 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7f47c4dbb6b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >index bf535f51d2e..2e732e6567c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..a12343aa07f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >index c894530bb07..2529091d31c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/shared-worker/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..c6c2bf36c9b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >index 8ce347a651d..ab2c0a35831 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..59b3752c8ea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >index 15b9c1e3e1c..56668b94ca1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/worker-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..af9f72d5bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >index bd59c62bed1..f2593530884 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..76a388b62df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >index 3252b205203..b5c7283668c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..8fc43fc7ff1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >index 806e1fb2b17..d4af8f3c3bb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d6277eb34db >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >index e06e2f9b8df..82055a7d4a2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/a-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..37f60a4a1fd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >index 5bb6055a596..f501512aaf3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..25011a38355 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >index 336792a860f..d76e3c62c56 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..ec7c61f8243 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >index b0db112d2e7..7f50fdbe077 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f166b2b08fb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >index 6462ab026e2..529b4b30658 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..7addea4045c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >index 3541430743a..340e5d55d5c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..f52f9ba1a78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >index 082d5a98934..709d209649b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..0a1d3260c2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >index 33520d4c383..a94a77be567 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..5fc5e7b31dd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >index 1a74dd98cb5..289d7ee4ee5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..1e6778446ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >index 6bb1f146470..e8314118acb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..15fa08d781c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >index 4398edcf9f4..3b744a333ca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..97d706d1481 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >index e148449dabb..00c704c6e38 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..d8438b499f0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >index 966bcab0dd1..e35b0a640e3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..cce2a4ad651 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >index 73b629724c5..19f9faed619 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..4c06d4b2d52 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >index d4dda347ace..42b8a17f079 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/no-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >new file mode 100644 >index 00000000000..af917847891 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >index c0cb708a89c..50ab0a6eaeb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/generic.http.html >@@ -15,7 +15,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..990efabc695 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index e291b25622d..14a6eeb2bc6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1fc873a454c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index b601eac442c..92c65585c59 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..23f9b1323b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 8afc306a5ab..ede753c5361 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6253edf6c97 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 284441d9529..b1f6e1dc1dd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6b4f10d4c78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 2b2d2bc41ba..b69090ff2b9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..532bd8ecbaa >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 2d6a2257650..a5bda07fa17 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ead412f1bdb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 883c4caddc8..c61e9dfe6f1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..90045dee569 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 1060b3a3fdf..d7a06eae0dd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..de2d44565f7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 62c1bb6b13a..bd9d445ddc7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1898e934ae7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 254b585a6aa..4bcfe741384 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ef4a55dadf7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 2cefa7d7a55..2f55f3f4bf3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..eaa41450e75 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 38b31583fe9..fcdb3014ef7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..cecec56b0a0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 75529cdac19..f6fc0deec71 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8258484417d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 053812ab43e..90db32e3818 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a8585b702d3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 16019f74b96..22605533552 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..88be539d01b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 8d1c47429a9..83d37336587 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..30bd98040f0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 7ec5986c538..269dd5ab815 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ca9746db02d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 971d72f269a..5367d9e882e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e19bdbeb872 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index b5d1a81244f..999d68c277f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d4cfe7c6326 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 520d166fbc5..6e57d20ba55 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..66049331455 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 32ac74e3636..b5e3d6c80a3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..cf70132fe29 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index 50ae745b422..35dc6568c3a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..73303d0f876 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index fcfba132f25..cc38b182da7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..68aa70732ab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 7b227863492..dc3f4cf1e5e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e9e00bbe397 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 7b05f73b014..e5c1855fde4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3859466c7ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index cdfcef9f6a0..4724f670f98 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b8460ce0c2c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index f1d62e85da9..74f9f0e8a74 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dd09c643664 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 5194038e4f4..15a6abbf5ca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9b4cf4a4c4a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 7bb8efe9edb..d8f487a90ef 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..042f3429b78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index a872a8ab191..14d4f5fb06b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a644e8843de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 53000e7c218..3e02f034fec 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d583de98a49 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index efbaf4f75a4..3f20abbb40e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d0d0d2bf01b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 978b57918e1..e594604429f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a5f352f6fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 5654b4acaf9..3e0dcd40d3d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..24a1bd0c1bc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index c1598b359f2..ef5a7e6c88b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..34a29129bb4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 17cb27df3d8..a50da9cb0cc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..70a49a78f94 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index f5133f94c5c..4a01a41549b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bc0d7e076c4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index de4788d03af..0a66eea4641 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..99d7177f0e5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 13c40a28128..5984794f2a0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dcc397371c8 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the attr-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 2c8aa643e08..0c02a2ead89 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1b59a490d82 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index dc33c3b3976..f22c4142335 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..96d736a4c00 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index 297561ebfab..c656d41de40 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c581e856eab >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index d41f5b3c7df..874e3cb3bed 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e0467612699 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 3d7d6191032..9d54a271872 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a67a7126c17 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index 17e4aad57b0..43015a873cf 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..539214d8b31 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 980330031db..ed58d7bd11b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3dfc682fbba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 680911c121a..c5114ecd89c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ca550793318 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 0043cccb481..34f650da7f4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a54dd6a9a4b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index c21596e95ad..1e668ae6d8b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bcc516b2c6f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index e91495b6765..19d80342987 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..88eb03212cc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 381891560fe..705411d518c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5dd469e812f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index ed4a807f2ee..99c1bc56a43 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..73f6ee6e59b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index 2079f95ee4d..607b4c29e80 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..001552045a2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index eb8677f1be1..1bc364522cd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7818a26a583 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index bc3d297fa65..ca8adad1243 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0ea5f65fff4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index eac37782a55..b04ed3354dd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d84e3692a8c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 98230e1c097..5f1e54d48db 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8fbc71adde0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index edad4c61f59..a06130ce4a4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..06995e20501 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 81d67f9619b..fbdaf4b0557 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5a1fb0e893a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 852cfcc7276..4fd95a894c4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c0cd60fa55c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index f46bb775d86..1f65303cd10 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ac464d80630 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index faa3ecc5b26..4b70a9afd13 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..b0d981232d4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 9982670f2a0..f3c586e12e2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..47e34206d0b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 794876ce236..9bcb05db1fe 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6af2c171ca0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 65694ea8ef2..7b48d72c92e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..604e99ccadc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index bc5fd8f7dad..5b539644181 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..38365366aac >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 6d21efeb108..841b54b5843 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2297f42baba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index b62b8dfd19a..ae3939410a8 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3e436402f54 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 915b89d0d82..4e7d7c9b988 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f614f775731 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 24f64dcd266..f48a201bbb0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..243f04fe371 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 25f7b70fef2..111fa37e95e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ded57c10f2f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index d50c6124ac9..d1cc1faef43 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..89a0e8103c5 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 2865c75d9a9..155e9fb7bf2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e9795458463 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index d380572c889..bcd5661d9c0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a8968bdbb85 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index babc4da1eb4..a637f732ea0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0efcb5c7523 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 2b416d9d9c7..18e29ee1fc6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..969c31bc65a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index b4610eec301..14ce35bd1eb 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2f7b8143471 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 5d4339beeee..e9b5f75f9cc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8708b00c608 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 6fce0113fa2..392c5783558 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..442fd0263ba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 3e390334953..58977c3e7b4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d5be4cdd187 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index fbc85115c58..59cc2bda485 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..df30d7bbbac >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 606fa45a9f0..67625838e8d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..178effac3a1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >index 8e8b4171f61..45d7f1e9169 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..31c3ff613e1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >index 1ca701f83a6..7d495b43c57 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5427c30120d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 8fd755b7324..afd29bcd69b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7baebce3242 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 2c23d01e031..e12c41d3b65 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7db65da50fc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index d9741ac502f..e4499893714 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..add63200fd4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >index 6f2468ed73a..7544a66b826 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dd6ceec1fbe >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >index 5a33342e331..6c1bf133745 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..611b5a31448 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >index 9d5f839b697..e6424cdf933 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..344b7222be3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >index be690fd1ac5..284af1c6860 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..90e62d99f4c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index 77fdb88b0a4..8c7f2bd5d37 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0fa0241dc63 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index 9f6c2b9e090..5ba5152bc2b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f2f22d08c67 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index d2839e7fbc0..fcf8844e900 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ecccd5f1183 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 223ef23df6d..698f15f58c1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..32614d71cd7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index d2c37e36e88..26b14d73149 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2bf92bd04c0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index a9ea7a4cbdb..c632fa8e783 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..85a3e108f5b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 344e99468e0..4590df6a015 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bdf5fb09e5b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 74b759eaa41..cbe8df3c410 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3f219f9bcfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 9c41c2408e7..69e5b6b483c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8e0c78a113c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index afabdd7c4a3..177bdd6c772 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..195c6f579cd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 3da7d6e7932..abe6ef4500c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..76bcb2334ca >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 3a23209ca1b..15fb33654e5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9da789454f3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 25ff9fedb69..0d52c78f4a9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2e3092ec220 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index d90818e03aa..ef9db2cbca1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..64a6b468944 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index e78acc588a9..02678004f51 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..6d0573fa6a0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 424becc9ed3..c391b257a81 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2fe5ebd809b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 06241a094a8..03c4677086d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..9db93cb3465 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index 548fc0fa27d..60a0f6ebcb3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..49ed9bc9548 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the http-rp >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index 89c4f67e788..d1745b41235 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dcf1f10a491 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 13269e2374c..989c847a5b9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a942d320a6d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index c6af90667ee..33df9910306 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..982a7f390d7 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index d94843cf8e5..d11c4a1897b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3e34c73a83f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index 2427b7b1d9d..2bf06bb2110 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4a45e72d373 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index ce86ed32d1f..2bcca81084c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1b43cc6356d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index 31ce151f68e..e4b835d8644 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e57224b5c86 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 6be901d18df..20590be9e24 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..fe002ff77a6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 6fca264dfc2..cf7b83ef20a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f880dd5e16f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 3d03ffc03c5..96f5f8c07a1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..131a07f19ad >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 0e6c3832783..8573cd5e8ee 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..54320d08bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 7106118fa35..8bf8bd05ff1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..37bceadab92 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 8ac0b0b7db9..8d330b11bca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..609cab7fe95 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index f7ca8733723..fe3e977d000 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..59f6d6e3e7d >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index 705d59b5d4d..4db7894a80f 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ff94f3db9de >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index 3e848cd41be..8bb522349b0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2265bdd3088 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index 3606c5aba54..db792b5164a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..52222354ba0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 13e1494b527..c9b99a6b841 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bc91342f237 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 93960a12ae7..8cdf6d70efa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..05c152ea136 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index ea1dd0988cd..9a41ab1b006 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..14bc1da7e2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index 0d6c638efdc..581efdb75d7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2b399804c98 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 11755f981e7..f2c77dcd96c 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..11391383837 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 0a1aae62411..8db2725b16b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a988c656d5f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index 2f81ef0d6fe..11baca87b24 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c7ede2d1410 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 373ee4faeb7..0dcfaf49870 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5c98a00032c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index 0d4be355e34..7f14e55c131 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5fc3169e193 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 75a741a893b..1c44e334cfd 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..2d14c83bae3 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 62664614453..e349d5686ff 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..015de53de39 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index a6dfd3774a1..500d47a1c95 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..dc7735a1b58 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 33a64705f65..21549ca927e 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..acea11340c2 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index a8af3f121e2..ca7d40ed2f6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..44e7bdde1c6 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index de0ee672f25..fdc8bbef59d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bdfe799e185 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is cross-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index d44be78097c..e6518c9e479 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a514e63656e >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >index 3f03093ccd4..31ef2573890 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/a-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1a9c7a93359 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >index a3f4330e811..220b5aa320d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..bd94fe57b2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >index eea0a1b0777..f0b4658aec6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..220cf31bdfc >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >index d0302557ed7..4cfd819a473 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/fetch-request/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..3ac3bccf5c9 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >index 796d6e1dd30..4ea3fe52684 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d0037d4b36f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >index b406297bcc6..0978fb710d6 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d924d233983 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >index 3f2d4cb9415..7a4fe02b9b7 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/iframe-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a8ee8b3995a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >index 2db6b9be449..bf7140a15d2 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0ba732dbc46 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >index 066862d3b48..a40088b5b67 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5fc2b605d20 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >index 24e5665f192..763f6f02ee4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..eead4be52b4 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >index 85e5f3b8093..21065a0f8b5 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7ca9ebf0a55 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via module-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >index d8572397c20..21b9d284bfa 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/module-worker/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..e08ba26d84f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >index 9ef2d4b55cf..6911528c08d 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..36125e3bb91 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >index 19f9f506205..cf7d1dd9c27 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..98518f8ac84 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >index cf8accb0574..21882b16a44 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/script-tag/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7f47c4dbb6b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >index 40aa72119a2..0028373a419 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..a12343aa07f >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+FAIL The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via shared-worker using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. promise_test: Unhandled rejection with value: object "ReferenceError: Can't find variable: SharedWorker" >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >index ae0ad649a98..17eff823084 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/shared-worker/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..c6c2bf36c9b >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >index 3ba347771a9..dfff2a541dc 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..59b3752c8ea >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via worker-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >index 113b0d05e70..3c7cea5bca0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/worker-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..af9f72d5bba >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >index 64288b1e041..96971a833e3 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/keep-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..76a388b62df >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >index ffbe9ac4f5e..c98fa10e571 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/no-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >new file mode 100644 >index 00000000000..8fc43fc7ff1 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an http >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >index 9ad749f8bb9..4fe678652d0 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/xhr-request/swap-origin-redirect/insecure-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d6277eb34db >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via a-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >index 3a835f52f19..0f7f92fa907 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/a-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..37f60a4a1fd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >index 40913eb625e..c2e04ad3614 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..25011a38355 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >index 51f1548b7db..1aaa67c96d1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..ec7c61f8243 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via fetch-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >index ffcee216c78..7af45bc8865 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/fetch-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f166b2b08fb >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >index 049adf5283a..054b2eb241a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..7addea4045c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >index 4e691492849..faf51f1e759 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..f52f9ba1a78 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,8 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via iframe-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >index f1ac19a5577..a9141695795 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/iframe-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..0a1d3260c2a >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >index 30429e29c75..6242cbd961b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..5fc5e7b31dd >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >index b9a1580e15b..90eb85f1398 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..1e6778446ce >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,18 @@ >+ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (srcdoc iframe inherits parent) >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via img-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. (overridden by srcdoc iframe) >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >index 0f657ff1c19..74f43287d9b 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..15fa08d781c >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >index 63a2168789f..53cdc7edf00 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..97d706d1481 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >index 131726e2bba..406ef5dff60 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..d8438b499f0 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via script-tag using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >index 1fc3a147b80..993c9ea86b1 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/script-tag/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..cce2a4ad651 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with keep-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >index 623783a50c5..d88b4994e32 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/keep-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..4c06d4b2d52 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with no-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >index deb4e20c74b..e5a4240f5a4 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/no-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >new file mode 100644 >index 00000000000..af917847891 >--- /dev/null >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http-expected.txt >@@ -0,0 +1,7 @@ >+ >+PASS The referrer URL is stripped-referrer when a >+ document served over http requires an https >+ sub-resource via xhr-request using the meta-referrer >+ delivery method with swap-origin-redirect and when >+ the target request is same-origin. >+ >diff --git a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >index 8b315b207fa..834e2ef0101 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/xhr-request/swap-origin-redirect/upgrade-protocol.http.html >@@ -14,7 +14,7 @@ > <script src="/resources/testharness.js"></script> > <script src="/resources/testharnessreport.js"></script> > <script src="/common/security-features/resources/common.js"></script> >- <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> >+ <script src="/referrer-policy/generic/referrer-policy-test-case.sub.js"></script> > </head> > <body> > <script>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197322
: 368345