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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-script-onerror.php

Issue 1151433002: Add LayoutTest for the script error sanitization for ServiceWorker fetched scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/fetch-script-onerror.php
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-script-onerror.php b/LayoutTests/http/tests/serviceworker/resources/fetch-script-onerror.php
new file mode 100644
index 0000000000000000000000000000000000000000..147495fb22824064e1524bef51a33e2ca16aae0c
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-script-onerror.php
@@ -0,0 +1,5 @@
+<?php
+header("Access-Control-Allow-Origin: *");
+header("Content-Type: application/javascript");
+?>
+SampleData
falken 2015/05/26 01:23:35 Perhaps "UndefinedReference" to make it clearer wh
horo 2015/05/26 03:12:14 Done.

Powered by Google App Engine
This is Rietveld 408576698