mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Check all ancestor navigable trustworthiness for mixed content (#36157)
Propagate through documents a flag that represents if any of the ancestor navigables has a potentially trustworthy origin. The "potentially trustworthy origin" concept appears to have gotten confused in a couple of places and we were instead testing if a URL had "potentially trustworthy" properties. The main test for the ancestor navigables is [mixed-content/nested-iframes](https://github.com/web-platform-tests/wpt/blob/master/mixed-content/nested-iframes.window.js) --- <!-- 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 #36108 <!-- Either: --> - [X] There are tests for these changes --------- Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
parent
478e876f6d
commit
76edcff202
84 changed files with 384 additions and 525 deletions
|
@ -1,4 +1,5 @@
|
|||
[audio-tag.https.html]
|
||||
expected: TIMEOUT
|
||||
[Mixed-Content: Expects blocked for audio-tag to cross-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
[fetch.https.html]
|
||||
[Mixed-Content: Expects blocked for fetch to cross-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for fetch to cross-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for fetch to cross-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for fetch to cross-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for fetch to same-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for fetch to same-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for fetch to same-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for fetch to same-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
[img-tag.https.html]
|
||||
[Mixed-Content: Expects blocked for img-tag to cross-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for img-tag to cross-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for img-tag to cross-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for img-tag to cross-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for img-tag to same-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for img-tag to same-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for img-tag to same-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for img-tag to same-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
[link-css-tag.https.html]
|
||||
[Mixed-Content: Expects blocked for link-css-tag to cross-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-css-tag to cross-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-css-tag to cross-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-css-tag to cross-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-css-tag to same-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-css-tag to same-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-css-tag to same-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-css-tag to same-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
[link-prefetch-tag.https.html]
|
||||
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-prefetch-tag to cross-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-prefetch-tag to same-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for link-prefetch-tag to same-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
[picture-tag.https.html]
|
||||
[Mixed-Content: Expects blocked for picture-tag to cross-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for picture-tag to cross-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for picture-tag to cross-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for picture-tag to cross-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for picture-tag to same-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for picture-tag to same-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for picture-tag to same-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for picture-tag to same-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
[script-tag.https.html]
|
||||
[Mixed-Content: Expects blocked for script-tag to cross-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for script-tag to cross-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for script-tag to cross-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for script-tag to cross-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for script-tag to same-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for script-tag to same-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for script-tag to same-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for script-tag to same-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
[xhr.https.html]
|
||||
[Mixed-Content: Expects blocked for xhr to cross-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for xhr to cross-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for xhr to cross-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for xhr to cross-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for xhr to same-http origin and keep-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for xhr to same-http origin and no-redirect redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for xhr to same-http origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed-Content: Expects blocked for xhr to same-https origin and swap-scheme redirection from https context.]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue