servo/components/shared/script
Sebastian C 76edcff202
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>
2025-04-05 05:38:24 +00:00
..
tests Create a constellation_traits crate (#36088) 2025-03-22 15:49:08 +00:00
Cargo.toml webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
lib.rs Check all ancestor navigable trustworthiness for mixed content (#36157) 2025-04-05 05:38:24 +00:00
script_msg.rs constellation: Rename messages sent to the Constellation (#36341) 2025-04-04 19:39:38 +00:00
serializable.rs Make DOMPoint and DOMPointReadOnly serializable (#35989) 2025-03-27 01:35:02 +00:00
transferable.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00