Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

superreview requested: [Bug 476567] Clear Access-Control preflight cache when spec says to : [Attachment 360222] Patch to fix

4 views
Skip to first unread message

bugzill...@mozilla.org

unread,
Feb 2, 2009, 9:24:36 PM2/2/09
to dev-supe...@lists.mozilla.org
Jonas Sicking (:sicking) <jo...@sicking.cc> has asked Johnny Stenback (:jst,
j...@mozilla.com) <j...@mozilla.org> for superreview:
Bug 476567: Clear Access-Control preflight cache when spec says to
https://bugzilla.mozilla.org/show_bug.cgi?id=476567

Attachment 360222: Patch to fix
https://bugzilla.mozilla.org/attachment.cgi?id=360222&action=edit

------- Additional Comments from Jonas Sicking (:sicking) <jo...@sicking.cc>
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.

bugzill...@mozilla.org

unread,
Feb 4, 2009, 7:31:24 PM2/4/09
to dev-supe...@lists.mozilla.org
Johnny Stenback (:jst, j...@mozilla.com) <j...@mozilla.org> has granted Jonas
Sicking (:sicking) <jo...@sicking.cc>'s request for superreview:
0 new messages