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 90450d8c83fc07824cbcc27d52c6db76d27a2179..3a12045f5926da07d6f66ece2b126c98378bcc34 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 |
@@ -39,6 +39,16 @@ prepopulated_cache_test(simple_entries, function(cache, entries) { |
}, 'Cache.matchAll with new Request'); |
prepopulated_cache_test(simple_entries, function(cache, entries) { |
+ return cache.matchAll(new Request(entries.a.request.url, {method: 'HEAD'}), |
+ {ignoreSearch: true}) |
+ .then(function(result) { |
+ assert_response_array_equals( |
+ result, [], |
+ 'Cache.matchAll should not match HEAD Request.'); |
+ }); |
+ }, 'Cache.matchAll with HEAD'); |
+ |
+prepopulated_cache_test(simple_entries, function(cache, entries) { |
return cache.matchAll(entries.a.request, |
{ignoreSearch: true}) |
.then(function(result) { |