Closed
Bug 1216697
Opened 9 years ago
Closed 9 years ago
Remove fetch RequestCache until we can implement
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: bkelly, Assigned: ehsan.akhgari)
References
Details
Attachments
(2 files)
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Currently we define the webidl for RequestCache, but don't implement it. We should remove this webidl until its fully implemented so sites can feature detect it.
This should be uplifted to beta/aurora so that they can reasonably feature detect for the next few months until we release the real implementation.
Reporter | ||
Comment 1•9 years ago
|
||
Note, this is just to hide the Request.cache property. We should keep the RequestCache enum since we already set it properly on the Request and plumb it all down into Cache.
We just should hide the property so people can feature detect where its useful for or not. Once FetchDriver looks at we can expose the property.
Updated•9 years ago
|
Blocks: ServiceWorkers-v1
Reporter | ||
Comment 2•9 years ago
|
||
This should probably be behind a pref like RequestContext to avoid removing all our tests and then re-adding them later.
Reporter | ||
Comment 3•9 years ago
|
||
Any chance you have the bandwidth for this? The window is closing before the next merge, and I have some other bugs I'm working on that also need to happen before merge.
Flags: needinfo?(ehsan)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8678152 -
Flags: review?(bzbarsky)
Comment 6•9 years ago
|
||
Comment on attachment 8678152 [details] [diff] [review]
Unship Request.cache until the implementation is finished
This diff is missing test_request_cache.html.
r=me with it added, but I'd like to see that test file.
Attachment #8678152 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Sorry for the missing file!
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8678248 [details] [diff] [review]
Unship Request.cache until the implementation is finished
Approval Request Comment
[Feature/regressing bug #]: We accidentally exposed this attribute without having a full implementation. I'd like to backport this patch that hides it so that web developers can feature detect it.
[User impact if declined]: Web developers won't be able to feature detect whether we support Request.cache, and would have to look at the UA string version number of other terrible hacks like that.
[Describe test coverage new/current, TreeHerder]: Locally.
[Risks and why]: This is pretty harmless.
[String/UUID change made/needed]: None.
Attachment #8678248 -
Flags: approval-mozilla-beta?
Attachment #8678248 -
Flags: approval-mozilla-aurora?
Comment 10•9 years ago
|
||
Updated•9 years ago
|
Comment 11•9 years ago
|
||
Comment on attachment 8678248 [details] [diff] [review]
Unship Request.cache until the implementation is finished
This is really late :/ Taking it because we don't have much choice.
Should be in 42 rc1.
Attachment #8678248 -
Flags: approval-mozilla-beta?
Attachment #8678248 -
Flags: approval-mozilla-beta+
Attachment #8678248 -
Flags: approval-mozilla-aurora?
Attachment #8678248 -
Flags: approval-mozilla-aurora+
Comment 12•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f4bed10ca33f
https://hg.mozilla.org/mozilla-central/rev/95f191207f8d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Comment 13•9 years ago
|
||
Comment 14•9 years ago
|
||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•