Closed
Bug 1206121
Opened 9 years ago
Closed 8 years ago
XHR in the worker does not perform redirect (302) when CORS is used.
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
mozilla48
People
(Reporter: yury, Assigned: baku)
References
()
Details
Attachments
(1 file)
3.79 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
STR: 1. Open http://people.mozilla.org/~ydelendik/tmp/bug_redir_xhr_cors/t.html 2. Click "with redirect (302)" button Notice that xhr response in the worker is 0. Expected result is xhr response in the worker is 200.
Assignee | ||
Comment 1•9 years ago
|
||
This happens because in the window XHR we do: http://mxr.mozilla.org/mozilla-central/source/dom/base/nsXMLHttpRequest.cpp#1156 but we don't do similar thing on worker XHR.
Whiteboard: [tw-dom]
This appears to work. Do we just need a test checked in?
Flags: needinfo?(amarchesini)
Assignee | ||
Comment 3•8 years ago
|
||
Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Attachment #8727421 -
Flags: review?(khuey)
Attachment #8727421 -
Flags: review?(khuey) → review+
Whiteboard: [tw-dom]
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/69448e1e7e45
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•