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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/request-worker.js

Issue 600843003: Test of uncontrolled page doing a fetch, which currently hits the sw. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Formatting Created 6 years, 3 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: LayoutTests/http/tests/serviceworker/resources/request-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/request-worker.js b/LayoutTests/http/tests/serviceworker/resources/request-worker.js
index 596206bc36f51a875a515b31fad0d8952440d86e..25885820d25730329fc10adc54d857d2e3ec6e40 100644
--- a/LayoutTests/http/tests/serviceworker/resources/request-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/request-worker.js
@@ -344,6 +344,7 @@ async_test(function(t) {
method: 'POST',
body: new Blob(['Test Blob'], {type: 'test/type'})
});
+ var original_request = request;
horo 2014/09/29 04:07:40 nit: This file is not related. Remove this.
dmurph 2014/09/29 22:53:24 Done.
assert_equals(
getContentType(request.headers), 'test/type',
'ContentType header of Request created with Blob body must be set.');

Powered by Google App Engine
This is Rietveld 408576698