Closed Bug 1134149 Opened 9 years ago Closed 9 years ago

Throw the correct exceptions when setting withCredentials.

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38
Tracking Status
firefox38 --- fixed

People

(Reporter: Ms2ger, Assigned: bzbarsky, Mentored)

References

Details

Attachments

(1 file)

Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment on attachment 8566047 [details] [diff] [review]
Throw the exception the spec calls for when withCredentials is set on a sent XMLHttpRequest object

Review of attachment 8566047 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/base/nsXMLHttpRequest.cpp
@@ +108,5 @@
>  #define XML_HTTP_REQUEST_DONE             (1 << 4) // 4 DONE
> +#define XML_HTTP_REQUEST_SENT             (1 << 5) // Internal, corresponds to
> +                                                   // "OPENED and the send()
> +                                                   // flag is set" in spec
> +                                                   // terms..

Two periods?
Attachment #8566047 - Flags: review?(Ms2ger) → review+
Removed the extra period: https://hg.mozilla.org/integration/mozilla-inbound/rev/d942232f7ce6
Flags: in-testsuite+
https://hg.mozilla.org/mozilla-central/rev/d942232f7ce6
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: