Closed Bug 476567 Opened 15 years ago Closed 15 years ago

Clear Access-Control preflight cache when spec says to

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla1.9.1

People

(Reporter: sicking, Assigned: sicking)

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

Attached patch Patch to fixSplinter Review
The AC spec says that if a request fails, the spec says to clear all cache entries related to that origin and target uri.

http://dev.w3.org/2006/waf/access-control/#preflight-result-cache-remove

The attached patch makes us do this.

I also made the cache tests use the new getState/setState mechanism that we expose to sjs files. The old crazy header-name tricks were a pain to deal with so this works better.
Flags: blocking1.9.1+
Attachment #360222 - Flags: superreview?(jst)
Attachment #360222 - Flags: review?(jst)
Attachment #360222 - Flags: superreview?(jst)
Attachment #360222 - Flags: superreview+
Attachment #360222 - Flags: review?(jst)
Attachment #360222 - Flags: review+
Priority: -- → P2
Target Milestone: --- → mozilla1.9.1
Is this ready to land?  What's holding us up here?
Checked in to trunk and 1.9.1 branch.
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: fixed1.9.1
Resolution: --- → FIXED
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: