RESOLVED FIXED 236319
Worker scripts should always be decoded as UTF-8
https://bugs.webkit.org/show_bug.cgi?id=236319
Summary Worker scripts should always be decoded as UTF-8
Chris Dumez
Reported 2022-02-08 12:14:36 PST
Worker scripts should always be decoded as UTF-8: - https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-classic-worker-script (Step 7)
Attachments
Patch (4.70 KB, patch)
2022-02-08 12:17 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2022-02-08 12:17:21 PST
Radar WebKit Bug Importer
Comment 2 2022-02-08 13:01:05 PST
Alex Christensen
Comment 3 2022-02-09 10:24:23 PST
Comment on attachment 451290 [details] Patch This change now matches Firefox and the spec but not Chrome. Do we care?
Chris Dumez
Comment 4 2022-02-09 10:25:21 PST
(In reply to Alex Christensen from comment #3) > Comment on attachment 451290 [details] > Patch > > This change now matches Firefox and the spec but not Chrome. Do we care? Given we have both the spec and Firefox on our side, I think we should at least try it.
Brent Fulgham
Comment 5 2022-02-09 10:26:22 PST
(In reply to Chris Dumez from comment #4) > (In reply to Alex Christensen from comment #3) > > Comment on attachment 451290 [details] > > Patch > > > > This change now matches Firefox and the spec but not Chrome. Do we care? > > Given we have both the spec and Firefox on our side, I think we should at > least try it. What does WPT say? Is there coverage for this?
Chris Dumez
Comment 6 2022-02-09 10:27:12 PST
(In reply to Brent Fulgham from comment #5) > (In reply to Chris Dumez from comment #4) > > (In reply to Alex Christensen from comment #3) > > > Comment on attachment 451290 [details] > > > Patch > > > > > > This change now matches Firefox and the spec but not Chrome. Do we care? > > > > Given we have both the spec and Firefox on our side, I think we should at > > least try it. > > What does WPT say? Is there coverage for this? Look at the patch? :)
Brent Fulgham
Comment 7 2022-02-09 10:29:31 PST
(In reply to Chris Dumez from comment #6) > (In reply to Brent Fulgham from comment #5) > > (In reply to Chris Dumez from comment #4) > > > (In reply to Alex Christensen from comment #3) > > > > Comment on attachment 451290 [details] > > > > Patch > > > > > > > > This change now matches Firefox and the spec but not Chrome. Do we care? > > > > > > Given we have both the spec and Firefox on our side, I think we should at > > > least try it. > > > > What does WPT say? Is there coverage for this? > > Look at the patch? :) :-P Good point! I say ship it. WPT is truth.
EWS
Comment 8 2022-02-09 10:52:38 PST
Committed r289489 (247027@main): <https://commits.webkit.org/247027@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 451290 [details].
Note You need to log in before you can comment on or make changes to this bug.