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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js

Issue 1485283002: Sync Cache API tests w/ web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/script-tests/cache-match.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js b/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js
index 6f1cfac1ca123c099978185e62c749cf9aaf84bf..de364b4761cb4dee3588fcfb8b1b36e11c283844 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js
+++ b/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js
@@ -16,7 +16,7 @@ prepopulated_cache_test(simple_entries, function(cache, entries) {
return cache.match(entries.a.request.url)
.then(function(result) {
assert_response_equals(result, entries.a.response,
- 'Cache.match should match by URL.');
+ 'Cache.match should match by URL.');
});
}, 'Cache.match with URL');
@@ -24,7 +24,7 @@ prepopulated_cache_test(simple_entries, function(cache, entries) {
return cache.match(entries.a.request)
.then(function(result) {
assert_response_equals(result, entries.a.response,
- 'Cache.match should match by Request.');
+ 'Cache.match should match by Request.');
});
}, 'Cache.match with Request');
@@ -32,7 +32,7 @@ prepopulated_cache_test(simple_entries, function(cache, entries) {
return cache.match(new Request(entries.a.request.url))
.then(function(result) {
assert_response_equals(result, entries.a.response,
- 'Cache.match should match by Request.');
+ 'Cache.match should match by Request.');
});
}, 'Cache.match with new Request');
@@ -73,7 +73,7 @@ prepopulated_cache_test(simple_entries, function(cache, entries) {
return cache.match(entries.cat.request.url + '#mouse')
.then(function(result) {
assert_response_equals(result, entries.cat.response,
- 'Cache.match should ignore URL fragment.');
+ 'Cache.match should ignore URL fragment.');
});
}, 'Cache.match with URL containing fragment');
@@ -102,7 +102,6 @@ prepopulated_cache_test(vary_entries, function(cache, entries) {
assert_response_in_array(
result,
[
- entries.vary_wildcard.response,
entries.vary_cookie_absent.response
],
'Cache.match should honor "Vary" header.');
@@ -175,7 +174,7 @@ prepopulated_cache_test(simple_entries, function(cache, entries) {
.then(function(result) {
assert_equals(result, undefined,
'Cache.match should not find a match');
- });
+ });
}, 'Cache.match with POST Request');
prepopulated_cache_test(simple_entries, function(cache, entries) {

Powered by Google App Engine
This is Rietveld 408576698