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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-tests/script-for-attribute-unexpected-execution.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 11 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: third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-tests/script-for-attribute-unexpected-execution.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-tests/script-for-attribute-unexpected-execution.js b/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-tests/script-for-attribute-unexpected-execution.js
deleted file mode 100644
index d605699dc088c4e6710c0cbdfaf4d8b8fe7a03bd..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/script-tests/script-for-attribute-unexpected-execution.js
+++ /dev/null
@@ -1,12 +0,0 @@
-description("Tests that scripts which have a for-event other than window.onload are not executed.");
-
-document.write('<script for="window">testPassed(\'for=window\');</script>');
-document.write('<script for="anything">testPassed(\'for=anything\');</script>');
-document.write('<script event="onload">testPassed(\'event=onload\');</script>');
-document.write('<script event="anything">testPassed(\'event=anything\');</script>');
-document.write('<script for="window" event="onload">testPassed(\'for=window event=onload\');</script>');
-document.write('<script for="window" event="onload()">testPassed(\'for=window event=onload()\');</script>');
-document.write('<script for=" WINDOW " event=" ONLOAD() ">testPassed(\'for=WINDOW event=ONLOAD()\');</script>');
-document.write('<script for="window" event="onresize">testFailed(\'for=window event=onresize\');</script>');
-document.write('<script for="document" event="onload">testFailed(\'for=document event=onload\');</script>');
-document.write('<script for="document" event="onclick">testFailed(\'for=document event=onclick\');</script>');

Powered by Google App Engine
This is Rietveld 408576698