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

Unified Diff: chrome/test/data/prerender/prerender_plugin_click_to_play.html

Issue 902223002: Plugin Power Saver: Remove ASK (left C2P). Replace with DETECT. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/prerender/prerender_plugin_click_to_play.html
diff --git a/chrome/test/data/prerender/prerender_plugin_click_to_play.html b/chrome/test/data/prerender/prerender_plugin_click_to_play.html
deleted file mode 100644
index c07afa5392d84f0d6c2b8b60069ac32c2a31a766..0000000000000000000000000000000000000000
--- a/chrome/test/data/prerender/prerender_plugin_click_to_play.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<html>
-<!--
-This test checks to make sure plugins aren't loaded when prerendered page
-is displayed and click-to-play is enabled.
--->
-<head>
-<title>Prerender click-to-play</title>
-
-<script>
-// Make sure plugin was not loaded while prerendering.
-function DidPrerenderPass() {
- // |plugin| should be the blocked plugin placeholder, rather than the
- // test plugin.
- var plugin = window.document['plugin'];
- return plugin.getURL == undefined;
-}
-
-// Make sure plugin still hasn't loaded once the page is displayed.
-function DidDisplayPass() {
- // |plugin| should be the blocked plugin placeholder, rather than the
- // test plugin.
- var plugin = window.document['plugin'];
- return plugin.getURL == undefined;
-}
-</script>
-
-</head>
-<body>
-<embed name="plugin" type="application/x-webkit-test-netscape"></embed>
-</body>
-</html>
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698