summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/referrer-policy
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /testing/web-platform/meta/referrer-policy
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/meta/referrer-policy')
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/image-decoding.html.ini6
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/unsupported-csp-referrer-directive.html.ini7
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/http-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/http-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/http-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/http-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/meta-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/meta-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/meta-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/meta-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/strict-origin-when-cross-origin/__dir__.ini2
-rw-r--r--testing/web-platform/meta/referrer-policy/strict-origin/__dir__.ini2
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/same-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/__dir__.ini1
241 files changed, 1402 insertions, 0 deletions
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/__dir__.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/image-decoding.html.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/image-decoding.html.ini
new file mode 100644
index 000000000..55c416093
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/image-decoding.html.ini
@@ -0,0 +1,6 @@
+[image-decoding.html]
+ type: testharness
+ expected: TIMEOUT
+ [Image is encoding headers as JSON.]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/referrer-policy/generic/unsupported-csp-referrer-directive.html.ini b/testing/web-platform/meta/referrer-policy/generic/unsupported-csp-referrer-directive.html.ini
new file mode 100644
index 000000000..e505bde4a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/unsupported-csp-referrer-directive.html.ini
@@ -0,0 +1,7 @@
+[unsupported-csp-referrer-directive.html]
+ type: testharness
+ disabled:
+ if (os == "linux") and (bits == 64): true
+ [Image has a referrer despite CSP 'referrer' directive]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..9df1301b6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..35b017082
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..0e9393a20
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..c2bfa2b49
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..81c620b57
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..11d4adb06
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..73cfb28f0
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..a842be3ab
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..ce3c3ab87
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..c502f66f6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..0405a5914
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..592a24c75
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..8ca2aaee3
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..7e29c3d86
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..bf990104f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..f7f5eff53
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..5e9099342
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a44aedbfc
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..09da6eebc
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..a9efe3725
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..1f2f21d88
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..17f75ad94
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..e762ac1e5
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..64f5cb5e8
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/http-rp/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer-when-downgrade/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..e82169879
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..4b99e0b3b
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..370531dde
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..37b3d20ad
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..3f314832a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..60afdbd28
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a2b86bce4
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..5eb21520c
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..14d1863ce
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..6d301e77b
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..de9effa0c
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..1f6abe132
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..1bc77235d
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..509a0bd66
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..9adf27bdc
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..e31f27b93
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..0098cd2db
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a34ab14f6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..93d0a4c53
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..8fe91bbe6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..851ebc6b3
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..563767c38
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..6ac27e733
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..be030d59a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/meta-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/no-referrer/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/http-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/http-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/http-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/http-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/http-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/http-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/http-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/http-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/http-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/http-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/http-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/http-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/meta-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-only/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..31ae03489
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.no-redirect.http.html.ini
new file mode 100644
index 000000000..29dc5b155
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..ffe217be0
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-http/img-tag/cross-origin.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..59f86dde1
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.no-redirect.http.html.ini
new file mode 100644
index 000000000..69d198f02
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..81768e839
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/cross-origin/http-https/img-tag/cross-origin.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..3e8efcf1f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-insecure.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.no-redirect.http.html.ini
new file mode 100644
index 000000000..54c3c3a2f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-insecure.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..0b197a22e
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-http/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-insecure.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..8c6c97855
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-downgrade.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.no-redirect.http.html.ini
new file mode 100644
index 000000000..7ba66c5a2
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-downgrade.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..33597e320
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-downgrade.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-downgrade.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..1867fe6c4
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-insecure.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a564215d9
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-upgrade.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.no-redirect.http.html.ini
new file mode 100644
index 000000000..c57dc5dde
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-upgrade.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..4059029bd
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/attr-referrer/same-origin/http-https/img-tag/same-origin-upgrade.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-upgrade.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..421ffafd8
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.no-redirect.http.html.ini
new file mode 100644
index 000000000..70553d366
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..b537ababc
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-http/img-tag/cross-origin.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..4e5aa50d3
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.no-redirect.http.html.ini
new file mode 100644
index 000000000..4b3c35dcb
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..12b5afc81
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/cross-origin/http-https/img-tag/cross-origin.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[cross-origin.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..914ca240f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-insecure.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.no-redirect.http.html.ini
new file mode 100644
index 000000000..d11da220c
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-insecure.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a991e305f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-http/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-insecure.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..ddfda2bc8
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-downgrade.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.no-redirect.http.html.ini
new file mode 100644
index 000000000..679d9eb33
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-downgrade.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..1d4b9807b
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-downgrade.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-downgrade.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..ec923850b
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-insecure.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-insecure.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..bbf3aeb3a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-upgrade.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.no-redirect.http.html.ini
new file mode 100644
index 000000000..edee19b74
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-upgrade.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..8ce8cba07
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/http-rp/same-origin/http-https/img-tag/same-origin-upgrade.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[same-origin-upgrade.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin-when-cross-origin/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..ab1eb0ab6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..9be65626a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..11396f8c2
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..4be538376
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..161a46253
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..abbf01998
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..3e3a73fb5
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..39f8b3610
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..b71d8cf8f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a1f3b5d7a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..31ee2bb98
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..083d96cfd
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..f9451aa56
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..c16cde41e
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..fbc8dbd96
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..f4f4e06e1
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..1795f6046
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..5241546ee
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..31f8b5c1c
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..26d78c9ef
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..2c750ebae
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..486a46788
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..6a41e7f3a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..df76a41b4
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..bfb29b439
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..3cf1a77db
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..94ad4fe3d
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..0f4f68494
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..cb60e9f79
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..f7d4d8bd4
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..7fb5994a6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..22319be0a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..7928a1a8e
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an http\n sub-resource via img-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..f6ecb4a82
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..4e535d9e6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..ca0c8aa85
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/origin/meta-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is origin when a\n document served over http requires an https\n sub-resource via img-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/strict-origin-when-cross-origin/__dir__.ini b/testing/web-platform/meta/referrer-policy/strict-origin-when-cross-origin/__dir__.ini
new file mode 100644
index 000000000..5f538f7f7
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/strict-origin-when-cross-origin/__dir__.ini
@@ -0,0 +1,2 @@
+disabled:
+ if os == "linux" and bits == 64: https://bugzilla.mozilla.org/show_bug.cgi?id=1302421 \ No newline at end of file
diff --git a/testing/web-platform/meta/referrer-policy/strict-origin/__dir__.ini b/testing/web-platform/meta/referrer-policy/strict-origin/__dir__.ini
new file mode 100644
index 000000000..5f538f7f7
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/strict-origin/__dir__.ini
@@ -0,0 +1,2 @@
+disabled:
+ if os == "linux" and bits == 64: https://bugzilla.mozilla.org/show_bug.cgi?id=1302421 \ No newline at end of file
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..7f7859d2d
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..8ab124566
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a70cfac72
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..eb9ecf624
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..f53a80783
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..fc91fab9f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..379fd52a2
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..49b18332b
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..d0d8de25d
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a6b2b838d
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..9482b2000
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..bba8202ce
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/attr-referrer/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..44701f40c
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..7449b1426
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..946441b61
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..dff1fb75e
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..717b3ad3c
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..e9af06f2f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/cross-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..0ba25185b
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..11a77db28
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..f08994b8f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-http/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..ce46a3cc3
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
new file mode 100644
index 000000000..38b495854
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..3ad4a797a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/http-rp/same-origin/http-https/img-tag/generic.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[generic.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unsafe-url/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..9df1301b6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..35b017082
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..0e9393a20
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..c2bfa2b49
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..81c620b57
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..11d4adb06
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..73cfb28f0
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..a842be3ab
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..ce3c3ab87
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..c502f66f6
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..0405a5914
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..592a24c75
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/attr-referrer/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..8ca2aaee3
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..7e29c3d86
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..bf990104f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..f7f5eff53
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..5e9099342
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..a44aedbfc
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/cross-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..09da6eebc
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..a9efe3725
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..1f2f21d88
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-http/img-tag/insecure-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[insecure-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
new file mode 100644
index 000000000..17f75ad94
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.keep-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.keep-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
new file mode 100644
index 000000000..e762ac1e5
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.no-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.no-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
new file mode 100644
index 000000000..64f5cb5e8
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/http-rp/same-origin/http-https/img-tag/upgrade-protocol.swap-origin-redirect.http.html.ini
@@ -0,0 +1,8 @@
+[upgrade-protocol.swap-origin-redirect.http.html]
+ type: testharness
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): OK
+ [The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via img-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
+ expected:
+ if (os == "linux") and (version == "Ubuntu 16.04"): PASS
+
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-csp/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/cross-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-http/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874
diff --git a/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/__dir__.ini b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
new file mode 100644
index 000000000..36f10d916
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/unset-referrer-policy/meta-referrer/same-origin/http-https/img-tag/__dir__.ini
@@ -0,0 +1 @@
+disabled: https://github.com/w3c/web-platform-tests/issues/1874