Bug 158061
Summary: | location.href and location.assign() differ in Referer | ||
---|---|---|---|
Product: | WebKit | Reporter: | Anne van Kesteren <annevk> |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ap, ashvayka, beidson, eoconnor, sam, ysuzuki |
Priority: | P2 | ||
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Anne van Kesteren
See http://web.mit.edu/bzbarsky/www/testcases/location/testHrefSetterAndAssignReferrer.html for a demonstration of this (in particular the 3rd and 4th button).
(I also found that it appears that WebKit has a different way of thinking about entry/incumbent/current global from the HTML Standard. It seems the setup is quite a bit different, possibly simpler. It might be worth communicating that through https://github.com/whatwg/html/issues/new to see if we can figure out something that works for all browsers.)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
It looks like this was briefly attempted but got reverted in https://commits.webkit.org/240389@main and https://commits.webkit.org/242410@main.