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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/malformed-script.js

Issue 697833004: ServiceWorker: Registering a malformed script should fail [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@install_malformed_script
Patch Set: s/importScript/importScripts/ Created 6 years, 1 month 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/malformed-script.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/malformed-script.js b/LayoutTests/http/tests/serviceworker/resources/malformed-script.js
new file mode 100644
index 0000000000000000000000000000000000000000..56971446ba76cd4136de956bdf2b964185a0ebc2
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/resources/malformed-script.js
@@ -0,0 +1,2 @@
+// Intentional syntax error.
+var foo = {;

Powered by Google App Engine
This is Rietveld 408576698