Closed
Bug 1144337
Opened 10 years ago
Closed 10 years ago
Add tests to ensure that cacheName is only honored on CacheStorage, and not Cache
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
4.29 KB,
patch
|
bkelly
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8578878 -
Flags: review?(bkelly)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ehsan
Blocks: cachetests
Comment 2•10 years ago
|
||
Comment on attachment 8578878 [details] [diff] [review]
Add tests to ensure that cacheName is only honored on CacheStorage, and not Cache
Review of attachment 8578878 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the caches.match() fix.
::: dom/cache/test/mochitest/test_cache_matchAll_request.js
@@ +121,5 @@
> checkResponse(r[0], response1, response1Text),
> checkResponse(r[1], response3, response3Text)
> ]);
> }).then(function() {
> + return caches.match(undefined, {cacheName: name + "mambojambo"})
The first arg to caches.match() is not optional. This should fail regardless of the cacheName option. Please replace undefined with the known request.
Attachment #8578878 -
Flags: review?(bkelly) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
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
•