Bug 236340

Summary: self.location.href is incorrect in shared workers in case of redirects
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, darin, ews-watchlist, ggaren, japhet, mkwst, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 230382    
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Chris Dumez 2022-02-08 16:22:26 PST
self.location.href is incorrect in shared workers in case of redirects. It should be the URL of the last request, not the first one.
Comment 1 Chris Dumez 2022-02-08 16:38:18 PST
Created attachment 451323 [details]
Patch
Comment 2 Chris Dumez 2022-02-09 07:16:20 PST
Created attachment 451370 [details]
Patch
Comment 3 Chris Dumez 2022-02-09 08:23:49 PST
Created attachment 451383 [details]
Patch
Comment 4 Geoffrey Garen 2022-02-09 10:05:40 PST
Comment on attachment 451383 [details]
Patch

r=me
Comment 5 EWS 2022-02-09 10:31:39 PST
Committed r289483 (247024@main): <https://commits.webkit.org/247024@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 451383 [details].
Comment 6 Radar WebKit Bug Importer 2022-02-09 10:40:17 PST
<rdar://problem/88700147>