WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2022-02-08 12:17:21 PST
Created
attachment 451290
[details]
Patch
Radar WebKit Bug Importer
Comment 2
2022-02-08 13:01:05 PST
<
rdar://problem/88647606
>
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.
Top of Page
Format For Printing
XML
Clone This Bug