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

Unified Diff: content/test/data/service_worker/fetch_event_error.js

Issue 315023003: ServiceWorker: Read the blob from SW's response to a fetch event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix use of wrong ctor Created 6 years, 6 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: content/test/data/service_worker/fetch_event_error.js
diff --git a/content/test/data/service_worker/fetch_event_error.js b/content/test/data/service_worker/fetch_event_error.js
deleted file mode 100644
index e6a30a7be99bee1599309ce3c21159bdbbf933fa..0000000000000000000000000000000000000000
--- a/content/test/data/service_worker/fetch_event_error.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-this.onfetch = function(event) {
- event.respondWith(new Promise(resolve, reject) {
- reject('rejected!');
- });
-};
« no previous file with comments | « content/test/data/service_worker/fetch_event.js ('k') | content/test/data/service_worker/fetch_event_fallback.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698