Auto merge of #11978 - aravind-pg:new-referrer-pols, r=jdm

Add "origin" and "same-origin" referrer policies, replacing "origin-only".

<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11384
- [X] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11978)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-07-12 13:44:33 -07:00 committed by GitHub
commit 37dbb50208
777 changed files with 17089 additions and 375 deletions

View file

@ -333,7 +333,8 @@ pub enum FrameType {
pub enum ReferrerPolicy { pub enum ReferrerPolicy {
NoReferrer, NoReferrer,
NoRefWhenDowngrade, NoRefWhenDowngrade,
OriginOnly, Origin,
SameOrigin,
OriginWhenCrossOrigin, OriginWhenCrossOrigin,
UnsafeUrl, UnsafeUrl,
} }

View file

@ -458,7 +458,8 @@ pub fn determine_request_referrer(headers: &mut Headers,
let cross_origin = ref_url.origin() != url.origin(); let cross_origin = ref_url.origin() != url.origin();
return match referrer_policy { return match referrer_policy {
Some(ReferrerPolicy::NoReferrer) => None, Some(ReferrerPolicy::NoReferrer) => None,
Some(ReferrerPolicy::OriginOnly) => strip_url(ref_url, true), Some(ReferrerPolicy::Origin) => strip_url(ref_url, true),
Some(ReferrerPolicy::SameOrigin) => if cross_origin { None } else { strip_url(ref_url, false) },
Some(ReferrerPolicy::UnsafeUrl) => strip_url(ref_url, false), Some(ReferrerPolicy::UnsafeUrl) => strip_url(ref_url, false),
Some(ReferrerPolicy::OriginWhenCrossOrigin) => strip_url(ref_url, cross_origin), Some(ReferrerPolicy::OriginWhenCrossOrigin) => strip_url(ref_url, cross_origin),
Some(ReferrerPolicy::NoRefWhenDowngrade) | None => no_ref_when_downgrade_header(ref_url, url), Some(ReferrerPolicy::NoRefWhenDowngrade) | None => no_ref_when_downgrade_header(ref_url, url),

View file

@ -2832,7 +2832,8 @@ pub fn determine_policy_for_token(token: &str) -> Option<ReferrerPolicy> {
return match lower.as_ref() { return match lower.as_ref() {
"never" | "no-referrer" => Some(ReferrerPolicy::NoReferrer), "never" | "no-referrer" => Some(ReferrerPolicy::NoReferrer),
"default" | "no-referrer-when-downgrade" => Some(ReferrerPolicy::NoRefWhenDowngrade), "default" | "no-referrer-when-downgrade" => Some(ReferrerPolicy::NoRefWhenDowngrade),
"origin" => Some(ReferrerPolicy::OriginOnly), "origin" => Some(ReferrerPolicy::Origin),
"same-origin" => Some(ReferrerPolicy::SameOrigin),
"origin-when-cross-origin" => Some(ReferrerPolicy::OriginWhenCrossOrigin), "origin-when-cross-origin" => Some(ReferrerPolicy::OriginWhenCrossOrigin),
"always" | "unsafe-url" => Some(ReferrerPolicy::UnsafeUrl), "always" | "unsafe-url" => Some(ReferrerPolicy::UnsafeUrl),
"" => Some(ReferrerPolicy::NoReferrer), "" => Some(ReferrerPolicy::NoReferrer),

View file

@ -1626,10 +1626,10 @@ fn assert_referer_header_not_included(origin_info: &LoadOrigin, request_url: &st
} }
#[test] #[test]
fn test_referer_set_to_origin_with_originonly_policy() { fn test_referer_set_to_origin_with_origin_policy() {
let request_url = "http://mozilla.com"; let request_url = "http://mozilla.com";
let referrer_url = "http://username:password@someurl.com/some/path#fragment"; let referrer_url = "http://username:password@someurl.com/some/path#fragment";
let referrer_policy = Some(ReferrerPolicy::OriginOnly); let referrer_policy = Some(ReferrerPolicy::Origin);
let expected_referrer = "http://someurl.com/"; let expected_referrer = "http://someurl.com/";
let origin_info = LoadOriginInfo { let origin_info = LoadOriginInfo {
@ -1640,6 +1640,35 @@ fn test_referer_set_to_origin_with_originonly_policy() {
assert_referer_header_matches(&origin_info, request_url, expected_referrer); assert_referer_header_matches(&origin_info, request_url, expected_referrer);
} }
#[test]
fn test_referer_set_to_ref_url_with_sameorigin_policy_same_orig() {
let request_url = "http://mozilla.com";
let referrer_url = "http://username:password@mozilla.com/some/path#fragment";
let referrer_policy = Some(ReferrerPolicy::SameOrigin);
let expected_referrer = "http://mozilla.com/some/path";
let origin_info = LoadOriginInfo {
referrer_url: referrer_url,
referrer_policy: referrer_policy
};
assert_referer_header_matches(&origin_info, request_url, expected_referrer);
}
#[test]
fn test_no_referer_set_with_sameorigin_policy_cross_orig() {
let request_url = "http://mozilla.com";
let referrer_url = "http://username:password@someurl.com/some/path#fragment";
let referrer_policy = Some(ReferrerPolicy::SameOrigin);
let origin_info = LoadOriginInfo {
referrer_url: referrer_url,
referrer_policy: referrer_policy
};
assert_referer_header_not_included(&origin_info, request_url);
}
#[test] #[test]
fn test_referer_set_to_stripped_url_with_unsafeurl_policy() { fn test_referer_set_to_stripped_url_with_unsafeurl_policy() {
let request_url = "http://mozilla.com"; let request_url = "http://mozilla.com";

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,6 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[upgrade-protocol.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is stripped-referrer when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the attr-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the http-rp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-csp\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is cross-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.swap-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an http\n sub-resource via iframe-tag using the meta-referrer\n delivery method with swap-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.keep-origin-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with keep-origin-redirect and when\n the target request is same-origin.]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[generic.no-redirect.http.html]
type: testharness
expected: TIMEOUT
[The referrer URL is omitted when a\n document served over http requires an https\n sub-resource via iframe-tag using the meta-referrer\n delivery method with no-redirect and when\n the target request is same-origin.]
expected: NOTRUN

Some files were not shown because too many files have changed in this diff Show more