Bug 283747

Summary: Repeated assignment of `javascript:` URLs to `location.href`ignores previous assignments
Product: WebKit Reporter: Deleted User <deleted_user>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: achristensen, ap, beidson, karlcow, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=200523
https://bugs.webkit.org/show_bug.cgi?id=45284
https://bugs.webkit.org/show_bug.cgi?id=119322
https://bugs.webkit.org/show_bug.cgi?id=274066

Deleted User
Reported 2024-11-27 03:21:54 PST
STR: 1. Open https://jsbin.com/gulayotiqe/1/edit?html,js,output 2. Open the developer console 3. Click the "Run with JS" button. Expected: "l1" and "l2" logged Actual: only "l2" logged. Chrome and Firefox both log "l1" and "l2". Checked with WebKitGtk's Minibrowser, WebKitGTK version 2.46.3. On Ubuntu 24.04.
Attachments
Karl Dubost
Comment 1 2024-11-27 19:24:04 PST
confirmed on macOS too.
Alexey Proskuryakov
Comment 2 2024-11-28 13:53:03 PST
Probably a dupe of bug 119322. Seems like there is significant history of going back and forth with aspects of this behavior, related some other bugs that I found.
Radar WebKit Bug Importer
Comment 3 2024-12-04 03:22:12 PST
Note You need to log in before you can comment on or make changes to this bug.