Index: third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-matchAll.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-matchAll.js b/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-matchAll.js |
index dd67316d489a25913fdfb0bff20016c7ca1c84e8..a44dc85c6a410ef1135e23b3f992d74ba7d114e4 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-matchAll.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-matchAll.js |
@@ -94,6 +94,29 @@ prepopulated_cache_test(simple_entries, function(cache, entries) { |
}); |
}, 'Cache.matchAll with string fragment "http" as query'); |
+prepopulated_cache_test(simple_entries, function(cache, entries) { |
+ return cache.matchAll() |
+ .then(function(result) { |
+ assert_response_array_equivalent( |
+ result, |
+ [ |
+ entries.a.response, |
+ entries.b.response, |
+ entries.a_with_query.response, |
+ entries.A.response, |
+ entries.a_https.response, |
+ entries.a_org.response, |
+ entries.cat.response, |
+ entries.catmandu.response, |
+ entries.cat_num_lives.response, |
+ entries.cat_in_the_hat.response, |
+ entries.non_2xx_response.response, |
+ entries.error_response.response |
+ ], |
+ 'Cache.matchAll without parameters should match all entries.'); |
+ }); |
+ }, 'Cache.matchAll without parameters'); |
+ |
prepopulated_cache_test(vary_entries, function(cache, entries) { |
return cache.matchAll('http://example.com/c') |
.then(function(result) { |