Closed Bug 1541727 Opened 5 months ago Closed 4 months ago

Failure in xhr/overridemimetype-unsent-state-force-shiftjis.any.worker.html

Categories

(Core :: DOM: Networking, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: twisniewski, Assigned: twisniewski)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

We're failing this one because our logic for OverrideMimeType() in the worker case isn't in sync with the spec's second step for the function, so we intentionally throw when we should not.

To fix this, we will have to keep a copy of any override the user sets locally, and then pass it along to any proxy we create (by calling OverrideMimeType during the OpenRunnable, like we're doing for the timeout and withCredentials values).

Priority: -- → P3
Whiteboard: [necko-triaged]

Match the spec logic in overrideMimeType for worker XMLHttpRequests

Pushed by twisniewski@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/63ad38adf142
correct worker XHR logic for overrideMimeType; r=baku
Assignee: nobody → twisniewski
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.