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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding-with-flush.php

Issue 663723002: [ServiceWorker] Handle ServiceWorker script fetch error code correctly. [blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use promise_test and assert_promise_rejects Created 6 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
« no previous file with comments | « LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding.php ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding-with-flush.php
diff --git a/LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding-with-flush.php b/LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding-with-flush.php
new file mode 100644
index 0000000000000000000000000000000000000000..0b34f8540ce98a3ad47628c26f6b2bd7c1cfec1e
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding-with-flush.php
@@ -0,0 +1,7 @@
+<?php
+header('Content-Type:application/javascript');
+header("Transfer-encoding: chunked");
+flush();
+sleep(1);
falken 2014/10/17 06:39:17 why is this sleep needed? does it block test compl
horo 2014/10/17 06:53:22 Without this sleep, net_request_->Read() in Servic
+echo "XX\r\n\r\n";
+?>
« no previous file with comments | « LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding.php ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698