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

Unified Diff: LayoutTests/http/tests/serviceworker/chromium/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: s/messageCallback/message_callback 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/chromium/resources/fetch-script-onerror.php
diff --git a/LayoutTests/http/tests/serviceworker/chromium/resources/fetch-script-onerror.php b/LayoutTests/http/tests/serviceworker/chromium/resources/fetch-script-onerror.php
new file mode 100644
index 0000000000000000000000000000000000000000..d3cf943b77d2f2693ac81396326a374ffdd17dda
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/chromium/resources/fetch-script-onerror.php
@@ -0,0 +1,5 @@
+<?php
+header("Access-Control-Allow-Origin: *");
+header("Content-Type: application/javascript");
+?>
+UndefinedReference

Powered by Google App Engine
This is Rietveld 408576698