Closed
Bug 1416392
Opened 7 years ago
Closed 6 years ago
worker script loads set wrong accept header
Categories
(Core :: DOM: Workers, enhancement, P2)
Core
DOM: Workers
Tracking
()
RESOLVED
DUPLICATE
of bug 1417463
People
(Reporter: bkelly, Unassigned)
References
(Blocks 1 open bug)
Details
I wrote a glitch to echo our FetchEvent attributes:
https://fetch-event-echo.glitch.me/
I noticed while using this that we set a pretty bogus accept header for worker scripts:
accept,text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
It seems completely wrong to be advertising text/html here.
Reporter | ||
Comment 1•7 years ago
|
||
Note, if you want to try the glitch, you need to manually load a worker through the web console:
var w = new Worker('worker-location.js');
Updated•7 years ago
|
Priority: -- → P2
Reporter | ||
Comment 2•7 years ago
|
||
Per step 1.3 here we should be setting "*/*" for worker scripts:
https://fetch.spec.whatwg.org/#fetching
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•