Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/ignore-search-with-credentials.html

Issue 1719103002: CacheStorage: Expand cache.keys() method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/ignore-search-with-credentials.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/ignore-search-with-credentials.html b/third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/ignore-search-with-credentials.html
index 82231d35250338be737efdba431b0b49bed8aefe..79efb800a3ed59b1b21b1d8f913d14848ad44471 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/ignore-search-with-credentials.html
+++ b/third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/ignore-search-with-credentials.html
@@ -73,6 +73,13 @@ promise_test(function(test) {
var expected = remove_query(request.url);
assert_equals(remove_query(results[0].url), expected);
assert_equals(remove_query(results[1].url), expected);
+ return cache.keys(request, { ignoreSearch : true });
+ })
+ .then(function(results) {
+ assert_equals(results.length, 2);
+ var expected = remove_query(request.url);
+ assert_equals(remove_query(results[0].url), expected);
+ assert_equals(remove_query(results[1].url), expected);
return cache.delete(request, { ignoreSearch : true });
})
.then(function(result) {

Powered by Google App Engine
This is Rietveld 408576698