Restrict strictly enforcing MIME checks for Worker scripts to early beta or earlier
Categories
(Core :: DOM: Security, task, P1)
Tracking
()
People
(Reporter: ckerschb, Assigned: ckerschb)
References
Details
(Keywords: site-compat, Whiteboard: [domsecurity-active])
Attachments
(1 file)
|
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
There are some concerns around shipping that restriction in FF75. For now, let's disable in 75 and potentially do some telemetry around mime type checking on worker scripts.
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
Tom, it seems folks are concerned about breakage. Probably we should do some telemetry and then re-enable. Any chance you are willing to file a follow up and take that on?
Comment 3•5 years ago
|
||
Are these concerns actually based on any practical observations or data?
If we look at SCRIPT_BLOCK_INCORRECT_MIME_3 for beta, we see worker_load - 98.55k (0%), but importScript_load 911.62k (0.01%). We are already blocking importScripts.
Comment 5•5 years ago
|
||
(In reply to Tom Schuster [:evilpie] from comment #3)
Are these concerns actually based on any practical observations or data?
I would say they're based on an abundance of caution. Do we have telemetry showing how many scripts we'd block in release?
Comment 6•5 years ago
|
||
[Tracking Requested - why for this release]: Julien, how do you feel about keeping this on <= beta for 75?
| Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
•
|
||
I guess there is more important stuff to worry about. Domenic created this PR: https://github.com/whatwg/html/pull/5302. I think we can just wait for implementer feedback from other browsers on that.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 8•5 years ago
|
||
| bugherder | ||
Comment 9•5 years ago
|
||
Please request uplift to beta when you get a chance.
| Assignee | ||
Comment 10•5 years ago
|
||
Comment on attachment 9134697 [details]
Bug 1623916: Restrict strictly enforcing MIME checks for Worker scripts to early beta or earlier. r=sdetar
Beta/Release Uplift Approval Request
- User impact if declined: Worker scripts not using the correct mime type will be blocked which might downgrade a users experience because certain script is not executed.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: Bug 1624113
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The uplift request is simply to flip the introduced pref to false which will allow worker scripts to execute even if they are not shipped using the correct mime type.
- String changes made/needed: no
Comment 11•5 years ago
|
||
Comment on attachment 9134697 [details]
Bug 1623916: Restrict strictly enforcing MIME checks for Worker scripts to early beta or earlier. r=sdetar
approved for 75.0b8
Comment 12•5 years ago
|
||
| bugherder uplift | ||
Description
•