Auto merge of #11468 - rebstar6:refPol4, r=nox

Implement meta referrer policy delivery (3)

<!-- 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 #10311 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/11468)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-06-02 21:51:10 -05:00
commit 530b5a649e
56 changed files with 136 additions and 263 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +0,0 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[insecure-protocol.keep-origin-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[insecure-protocol.no-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[insecure-protocol.swap-origin-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[generic.keep-origin-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[generic.no-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[generic.swap-origin-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[generic.keep-origin-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[generic.no-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[generic.swap-origin-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[cross-origin.keep-origin-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[cross-origin.no-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[cross-origin.swap-origin-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[same-origin-insecure.keep-origin-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[same-origin-insecure.no-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[same-origin-insecure.swap-origin-redirect.http.html]
type: testharness
[The referrer URL is origin 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: FAIL

View file

@ -1,5 +0,0 @@
[generic.keep-origin-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[generic.no-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[generic.swap-origin-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[generic.keep-origin-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[generic.no-redirect.http.html]
type: testharness
[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: FAIL

View file

@ -1,5 +0,0 @@
[generic.swap-origin-redirect.http.html]
type: testharness
[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: FAIL