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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-event-network-error-worker.js

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 months 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/service-worker/resources/fetch-event-network-error-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-event-network-error-worker.js b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-event-network-error-worker.js
similarity index 89%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-event-network-error-worker.js
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-event-network-error-worker.js
index 96d44e05e8ba1de113cb0b3043ede38252ed97df..52d4c8e860b5a3a2446ed9a3f93f1029cede89dc 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-event-network-error-worker.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-event-network-error-worker.js
@@ -22,12 +22,12 @@ self.addEventListener('fetch', function(event) {
event.respondWith(res);
break;
case '?unused-fetched-body':
- event.respondWith(fetch('progressive.php').then(function(res){
+ event.respondWith(fetch('other.html').then(function(res){
return res;
}));
break;
case '?used-fetched-body':
- event.respondWith(fetch('progressive.php').then(function(res){
+ event.respondWith(fetch('other.html').then(function(res){
res.text();
return res;
}));

Powered by Google App Engine
This is Rietveld 408576698