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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/script-tests/cache-storage-match.js

Issue 2547023002: Import wpt@3c8896ae408c8fd594979da7c99970029e7856a7 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 4 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/imported/wpt/service-workers/cache-storage/script-tests/cache-storage-match.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/script-tests/cache-storage-match.js b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/script-tests/cache-storage-match.js
index 0052e43ca30b30844cda8c6f2db96c5b50e886d7..3c1cdd79c2be385e476567fbb19c048215bc44bf 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/script-tests/cache-storage-match.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/script-tests/cache-storage-match.js
@@ -1,6 +1,5 @@
if (self.importScripts) {
importScripts('/resources/testharness.js');
- importScripts('../resources/testharness-helpers.js');
importScripts('../resources/test-helpers.js');
}
@@ -61,7 +60,7 @@ promise_test(function(test) {
return Promise.all(test_cache_list.map(function(key) {
return self.caches.open(key);
}))
- .then(function() { return caches.open('x'); })
+ .then(function() { return self.caches.open('x'); })
.then(function(cache) {
return cache.put(transaction.request.clone(),
transaction.response.clone());
@@ -100,7 +99,7 @@ promise_test(function(test) {
.then(function(response) {
assert_equals(response, undefined,
'The response should not be found.');
- })
+ });
}, 'CacheStorageMatch with no cached entry');
promise_test(function(test) {

Powered by Google App Engine
This is Rietveld 408576698