Closed
Bug 1186589
Opened 10 years ago
Closed 10 years ago
Ensure CORS preflight requests aren't intercepted
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: jdm, Assigned: jdm)
References
Details
Attachments
(1 file)
3.99 KB,
patch
|
sicking
:
review+
ehsan.akhgari
:
feedback+
|
Details | Diff | Splinter Review |
Right now the fact that they aren't is an incidental implementation detail, since we skip the HTTP cache for non-GET/POST/HEAD requests in OpenCacheEntry.
Assignee | ||
Comment 1•10 years ago
|
||
Jonas, let me know if there's someone else that could/should review this.
Attachment #8637504 -
Flags: review?(jonas)
Comment on attachment 8637504 [details] [diff] [review]
Ensure CORS preflight requests are never intercepted
I can only verify that this patch implements the described behavior. I have no idea if that behavior is a good idea or not. Leaving that to the ServiceWorker folks who will surely make sure that this doesn't cause security issues.
Attachment #8637504 -
Flags: review?(jonas) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8637504 [details] [diff] [review]
Ensure CORS preflight requests are never intercepted
Ehsan, the fetch spec description of CORS states that it requires an HTTP-network-or-cache request (which explicitly does not invoke [[Handle Fetch]]). Does this patch make sense accordingly?
Attachment #8637504 -
Flags: feedback?(ehsan)
Comment 4•10 years ago
|
||
Comment on attachment 8637504 [details] [diff] [review]
Ensure CORS preflight requests are never intercepted
Review of attachment 8637504 [details] [diff] [review]:
-----------------------------------------------------------------
Yes, this makes sense. Thanks!
Attachment #8637504 -
Flags: feedback?(ehsan) → feedback+
Updated•10 years ago
|
Blocks: ServiceWorkers-v1
Assignee | ||
Comment 5•10 years ago
|
||
url: https://hg.mozilla.org/integration/mozilla-inbound/rev/213875242ee5636f0e052ede2da4a69a975ea096
changeset: 213875242ee5636f0e052ede2da4a69a975ea096
user: Josh Matthews <josh@joshmatthews.net>
date: Thu Jul 23 10:25:12 2015 -0400
description:
Bug 1186589 - Ensure CORS preflight requests are never intercepted. r=sicking
Comment 6•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•