diff options
author | bors-servo <infra@servo.org> | 2023-05-18 16:33:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 16:33:16 +0200 |
commit | 44be28900ec941cba380ecc10b44ed8da820356b (patch) | |
tree | 2d62f94912e077f5aec6437567b1d537e9217081 /python | |
parent | afcd6c4c5fa8438d98cf84667b2eebf32c84806d (diff) | |
parent | b0a99c8c674df752ce7938601e16dfd15ee209f1 (diff) | |
download | servo-44be28900ec941cba380ecc10b44ed8da820356b.tar.gz servo-44be28900ec941cba380ecc10b44ed8da820356b.zip |
Auto merge of #28587 - yvt:fix-location-target, r=mrobinson
Make `Location` operate on the correct objects
This PR updates the implementation of the "[`Location`-object navigate][1]" algorithm to use the correct browsing context as the source browsing context for navigation. This affects the determination of a referrer and referrer policy and the treatment of `javascript:` URLs.
This PR also fixes the derivation of a `Location` object's [relevant `Document`][2] to match the specified behavior.
[1]: https://html.spec.whatwg.org/multipage/#location-object-navigate
[2]: https://html.spec.whatwg.org/multipage/#relevant-document
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions