Closed Bug 918776 Opened 11 years ago Closed 11 years ago

[XHR2] withCredentials on anonymous request should throw

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: hsteen, Unassigned)

References

()

Details

If the request is anonymous, trying to set .withCredentials should throw.

Test case:
http://w3c-test.org/web-platform-tests/master/XMLHttpRequest/withcredentials-anonymous.htm

(Now - the XHR spec change I personally most want to happen is to drop the confusing and superfluous anonymous mode completely, in which case this bug will resolve itself as invalid..)
There were a bunch of other things that should throw related to this. Anyway, wish granted for now.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
This test will be gone when https://github.com/w3c/web-platform-tests/pull/343 is merged. Thanks, Anne.
You need to log in before you can comment on or make changes to this bug.