Closed
Bug 1190765
Opened 9 years ago
Closed 9 years ago
Throw an exception on setting withCredentials when readyState == DONE
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Ms2ger, Unassigned, Mentored)
Details
Spec: https://xhr.spec.whatwg.org/#the-withcredentials-attribute Code: dom/base/nsXMLHttpRequest.cpp Tests: http://w3c-test.org/XMLHttpRequest/XMLHttpRequest-withCredentials.html http://w3c-test.org/XMLHttpRequest/XMLHttpRequest-withCredentials.worker Also runnable through ./mach web-platform-tests.
Updated•9 years ago
|
Mentor: bzbarsky
Comment 1•9 years ago
|
||
I was trying to do this, when I realised that to make the test pass you have to break the third one. In window scope both tests are the same, but yet they expect different results. I filled https://github.com/w3c/web-platform-tests/issues/2228
Reporter | ||
Comment 2•9 years ago
|
||
Looks like we pass the tests now, so that's great. Thanks, Emilio!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•