Closed Bug 814093 Opened 12 years ago Closed 12 years ago

Preflight requests should fail if response status is not 200

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Whiteboard: [CORS-testsuite])

Attachments

(2 files)

_Exactly_ 200.  Right now we allow any success code.
Whiteboard: [need review] → [need review][CORS-testsuite]
Comment on attachment 684108 [details] [diff] [review]
Require preflight requests to receive a 200 response.

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

We need tests though.
Attachment #684108 - Flags: review?(jonas) → review+
I'll land this with the fix.
https://hg.mozilla.org/integration/mozilla-inbound/rev/c6af8da7bfa3
Flags: in-testsuite+
Whiteboard: [need review][CORS-testsuite] → [CORS-testsuite]
Target Milestone: --- → mozilla20
https://hg.mozilla.org/mozilla-central/rev/c6af8da7bfa3
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 845881
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: