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 cc59e92a67aced2355fe6457cb18b2b0b40521cf..82231d35250338be737efdba431b0b49bed8aefe 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,7 +73,15 @@ 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.delete(request, { ignoreSearch : true }); |
}) |
+ .then(function(result) { |
+ assert_true(result); |
+ return cache.matchAll(request, { ignoreSearch : true }); |
+ }) |
+ .then(function(results) { |
+ assert_equals(results.length, 0); |
+ }); |
}); |
</script> |