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

Unified Diff: content/test/data/service_worker/sync.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
« no previous file with comments | « content/test/data/service_worker/fetch_event_fallback.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/service_worker/sync.js
diff --git a/content/test/data/service_worker/sync.js b/content/test/data/service_worker/sync.js
index 02da273ab376646fe4f4c2fd0bc282ec0bd2116f..941ea2de93710030097e7f97825fbe0c9a73e2d1 100644
--- a/content/test/data/service_worker/sync.js
+++ b/content/test/data/service_worker/sync.js
@@ -5,7 +5,7 @@
var code = 404;
this.onfetch = function(event) {
- response = new Response({
+ response = new Response(new Blob(), {
status: code,
statusText: 'OK'
});
« no previous file with comments | « content/test/data/service_worker/fetch_event_fallback.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698