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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/plugins/local-geturl-from-remote.html

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/http/tests/plugins/local-geturl-from-remote.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/plugins/local-geturl-from-remote.html b/third_party/WebKit/LayoutTests/http/tests/plugins/local-geturl-from-remote.html
deleted file mode 100644
index d90c5f914ed0a76379021e82021abef46c471382..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/plugins/local-geturl-from-remote.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-<head>
-<script>
-function notify()
-{
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-function runTest()
-{
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- // No need to let this point to a real file.
-
-
- var result = plg.getURL('file:///tmp.html', '_self');
- if (result == 1)
- document.getElementById('result').innerHTML = "SUCCESS";
- else
- document.getElementById('result').innerHTML = "FAILURE";
-
- // Round-trip to the plugin once more, so errors can propagate.
- plg.getURLNotify("resources/load-me-1.txt", null, "notify");
-}
-</script>
-</head>
-<body onload="runTest()">
-<div>This tests that a plugin in a remote document can't access local files using NPN_GetURL</div>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-<div id="result">FAILURE</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698