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

Unified Diff: LayoutTests/plugins/plugin-document-load-prevented-userscript.html

Issue 14188004: Remove UserScript support, which is not used by Chromium (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove one more test Created 7 years, 8 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/plugins/plugin-document-load-prevented-userscript.html
diff --git a/LayoutTests/plugins/plugin-document-load-prevented-userscript.html b/LayoutTests/plugins/plugin-document-load-prevented-userscript.html
deleted file mode 100644
index f29ceb62b8e6b871e4b70c592b4fd7560a5a70fd..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/plugin-document-load-prevented-userscript.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
- <script>
- if (window.testRunner) {
- window.testRunner.dumpAsText();
- window.testRunner.addUserScript("document.addEventListener('beforeload', function(event) { if (event.url.indexOf('swf') >= 0) event.preventDefault(); }, true);", true, true);
- }
- </script>
-</head>
-<body>
- This tests https://bugs.webkit.org/show_bug.cgi?id=46773 by having the load of the plugin
- inside the plugin document be cancelled. If there is no crash, the test passed.
- <iframe src="resources/simple_blank.swf"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698