Bug 158061

Summary: location.href and location.assign() differ in Referer
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: Page LoadingAssignee: 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
Reported 2016-05-25 00:30:15 PDT
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
Anne van Kesteren
Comment 1 2024-11-28 00:30:49 PST
It looks like this was briefly attempted but got reverted in https://commits.webkit.org/240389@main and https://commits.webkit.org/242410@main.
Note You need to log in before you can comment on or make changes to this bug.