Closed
Bug 1215290
Opened 9 years ago
Closed 9 years ago
Cache API should store the unfiltered response URL
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: bkelly, Assigned: bkelly)
References
Details
Attachments
(1 file)
898 bytes,
patch
|
ehsan.akhgari
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Currently Cache API just stores the content visible response URL. It should be storing the real unfiltered URL to fully recreate the Response on cache.match(). Currently opaque responses read from Cache API will have an empty string unfiltered URL.
Assignee | ||
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Attachment #8674492 -
Flags: review?(ehsan) → review+
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e4417f0eeeee
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8674492 [details] [diff] [review] Cache API should store unfiltered Response URL. r=ehsan Approval Request Comment [Feature/regressing bug #]: service workers and cache API [User impact if declined]: We need this to fully support certain types of service worker interception. In particular, I want to uplift this to avoid the corner case where someone creates a Cache in 43, gets a wrong URL stored on disk, and then later runs into a problem when we enable service worker opaque interception. [Describe test coverage new/current, TreeHerder]: No impact until service workers enabled. [Risks and why]: None. One line change and no user visible effect yet. [String/UUID change made/needed]: None.
Attachment #8674492 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 5•9 years ago
|
||
Again, I want to get this in 43 so that people don't create cache objects on disk that will later be a problem when we enable service workers.
status-firefox43:
--- → affected
Comment 6•9 years ago
|
||
Comment on attachment 8674492 [details] [diff] [review] Cache API should store unfiltered Response URL. r=ehsan OK to uplift to aurora; SW will be disabled by default soon but it will be good to make sure this is consistent in 43
Attachment #8674492 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•