Bug 236340 - self.location.href is incorrect in shared workers in case of redirects
Summary: self.location.href is incorrect in shared workers in case of redirects
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 230382
  Show dependency treegraph
 
Reported: 2022-02-08 16:22 PST by Chris Dumez
Modified: 2022-02-09 10:40 PST (History)
8 users (show)

See Also:


Attachments
Patch (36.27 KB, patch)
2022-02-08 16:38 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (37.08 KB, patch)
2022-02-09 07:16 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (37.97 KB, patch)
2022-02-09 08:23 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>