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

Unified Diff: LayoutTests/platform/chromium/permissionclient/plugin-permission.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/platform/chromium/permissionclient/plugin-permission.html
diff --git a/LayoutTests/platform/chromium/permissionclient/plugin-permission.html b/LayoutTests/platform/chromium/permissionclient/plugin-permission.html
deleted file mode 100644
index 54a99ee5552015b5208726b09bc3b4295fe2c06e..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/permissionclient/plugin-permission.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<html>
-<head>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function log(a)
-{
- document.getElementById("results").innerHTML += a + "<br>";
-}
-
-function test()
-{
- var plugin = document.createElement('embed');
- plugin.setAttribute("type", "application/x-webkit-test-netscape");
- plugin.setAttribute("onNew", "loadedFirst()");
- document.getElementById("plugins").appendChild(plugin);
-}
-
-function done()
-{
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-function loadedFirst()
-{
- log("PASS: first plugin loaded");
- if (window.testRunner && testRunner.setPluginsAllowed)
- testRunner.setPluginsAllowed(false);
- else
- log("This test requires testRunner.setPluginsAllowed, so it be can't run in a browser.");
-
- var plugin = document.createElement('embed');
- plugin.setAttribute("type", "application/x-webkit-test-netscape");
- plugin.setAttribute("onNew", "loadedSecond()");
- document.getElementById("plugins").appendChild(plugin);
- window.setTimeout(done, 5);
-}
-
-function loadedSecond()
-{
- log("FAIL: second plugin loaded");
-}
-</script>
-</head>
-<body onload="test()">
- <div id="plugins">
- </div>
- <div id="results"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698