Closed
Bug 1916351
Opened 1 year ago
Closed 1 year ago
JSON mime type should only be allowed for JS module loads
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
132 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox130 | --- | unaffected |
| firefox131 | --- | unaffected |
| firefox132 | --- | fixed |
People
(Reporter: evilpies, Assigned: jon4t4n)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
https://hg.mozilla.org/integration/autoland/rev/1de3f8d89dec seems to allow the JSON MIME type for all JavaScript loads, but I think JSON should only be allowed for JS module loads.
Comment 1•1 year ago
|
||
:jon4t4n, since you are the author of the regressor, bug 1877792, could you take a look?
For more information, please visit BugBot documentation.
Flags: needinfo?(jonatan.r.klemets)
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
Comment 3•1 year ago
|
||
Set release status flags based on info from the regressing bug 1877792
status-firefox130:
--- → unaffected
status-firefox131:
--- → unaffected
status-firefox132:
--- → affected
status-firefox-esr115:
--- → unaffected
status-firefox-esr128:
--- → unaffected
| Assignee | ||
Comment 4•1 year ago
|
||
Oh, good catch. I think you are correct. Added a WIP patch that I think solves this issue.
(I'll try to write a test case while waiting for the try run.)
Try push for with the WIP patch: https://treeherder.mozilla.org/jobs?repo=try&revision=2872c7d6a2b1635d5258d9343106bf8ae0067895
Updated•1 year ago
|
Assignee: nobody → jonatan.r.klemets
Attachment #9422302 -
Attachment description: WIP: Bug 1916351 - Only allow JSON mime type for javascript modules r=evilpie → Bug 1916351 - Only allow JSON mime type for javascript modules r=evilpie!,#necko-reviewers!
Status: NEW → ASSIGNED
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(jonatan.r.klemets)
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/920579be1c72
Only allow JSON mime type for javascript modules r=evilpie,necko-reviewers,devtools-reviewers,jesup,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•