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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding.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
Index: LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding.php
diff --git a/LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding.php b/LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding.php
new file mode 100644
index 0000000000000000000000000000000000000000..76f43584a79572f2f252f62d14dcff8eb029be55
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/resources/invalid-chunked-encoding.php
@@ -0,0 +1,5 @@
+<?php
+header('Content-Type:application/javascript');
+header("Transfer-encoding: chunked");
+echo "XX\r\n\r\n";
+?>

Powered by Google App Engine
This is Rietveld 408576698