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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/frame-with-plugin-to-navigate.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/security/frameNavigation/resources/frame-with-plugin-to-navigate.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/frame-with-plugin-to-navigate.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/frame-with-plugin-to-navigate.html
deleted file mode 100644
index 16120a6d3001e805fa3b8604ca8ac584c7aa9799..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/frame-with-plugin-to-navigate.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<html>
-<head>
- <script src="../../resources/cross-frame-access.js"></script>
- <script>
- window.onload = function()
- {
- document.getElementsByTagName('h4')[0].innerHTML = document.domain;
- window.addEventListener('message', runTest);
- }
-
- runTest = function()
- {
- if (!window.testRunner)
- return;
-
- plg.getURL("navigation-happened.html", "toNavigate");
-
- start = new Date();
- myInterval = setInterval(checkIfDone, 500);
- }
-
- checkIfDone = function()
- {
- var numOpenWindows = testRunner.windowCount();
- var now = new Date();
- if (numOpenWindows == 2) {
- log("Test PASSED");
- clearInterval(myInterval);
- testRunner.notifyDone();
- } else if (now - start > 10000) {
- log('TEST FAILED: Window count ' + numOpenWindows);
- clearInterval(myInterval);
- testRunner.notifyDone();
- }
- }
- </script>
-</head>
-<body>
- <embed name="plg" type="application/x-webkit-test-netscape"></embed>
- <h3>Frame-with-plugin-to-navigate</h3>
- <h4>DOMAIN</h4>
- <pre id='console'></pre>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698