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

Unified Diff: LayoutTests/http/tests/serviceworker/chromium/resources/load-flushed-script.php

Issue 650193003: [ServiceWorker] Add test for the hanging bug in loading ServiceWorker script. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/chromium/resources/load-flushed-script.php
diff --git a/LayoutTests/http/tests/serviceworker/chromium/resources/load-flushed-script.php b/LayoutTests/http/tests/serviceworker/chromium/resources/load-flushed-script.php
new file mode 100644
index 0000000000000000000000000000000000000000..204671b0f37aa9d851c3b7c749358af8c001125f
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/chromium/resources/load-flushed-script.php
@@ -0,0 +1,6 @@
+<?php
+header('Content-Type:application/javascript');
+echo "// Empty script\r\n";
+flush();
+sleep(1);
+?>

Powered by Google App Engine
This is Rietveld 408576698