Closed Bug 1754571 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32782 - Make sure the NaN and Infinity scripts are served with a JavaScript M…

Categories

(Core :: DOM: Workers, task, P4)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 32782 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/32782
Details from upstream follow.

Chris Dumez <cdumez@apple.com> wrote:

Make sure the NaN and Infinity scripts are served with a JavaScript M…

…IME type

Those scripts are being loaded by shared worker tests (workers/constructors/SharedWorker/Infinity-arguments.html
and workers/constructors/SharedWorker/NaN-arguments.html). As per the specification [1], the worker script load
script should only succeed if the MIME type is a JavaScript MIME type.

[1] https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-classic-worker-imported-script (step 5)

Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cc7d65c30ce8 [wpt PR 32782] - Make sure the NaN and Infinity scripts are served with a JavaScript M…, a=testonly
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b71e321c133d [wpt PR 32782] - Make sure the NaN and Infinity scripts are served with a JavaScript M…, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.