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

Side by Side Diff: LayoutTests/plugins/embed-prefers-plugins-for-images.html

Issue 1005223002: Blink: Replace all "plug-in" with "plugin". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert netscape-dom-access tests. Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 <script> 1 <script>
2 if (window.testRunner) { 2 if (window.testRunner) {
3 testRunner.dumpAsText(); 3 testRunner.dumpAsText();
4 testRunner.waitUntilDone(); 4 testRunner.waitUntilDone();
5 } 5 }
6 6
7 function runTest() 7 function runTest()
8 { 8 {
9 var plugin = document.getElementById("plugin"); 9 var plugin = document.getElementById("plugin");
10 10
11 // Both QuickTime and TestNetscapePlugIn register for image/png. 11 // Both QuickTime and TestNetscapePlugIn register for image/png.
12 if (plugin && (plugin.testCallback || plugin.GetQuickTimeVersion)) 12 if (plugin && (plugin.testCallback || plugin.GetQuickTimeVersion))
13 logSuccess(); 13 logSuccess();
14 14
15 if (window.testRunner) 15 if (window.testRunner)
16 testRunner.notifyDone(); 16 testRunner.notifyDone();
17 } 17 }
18 18
19 function logSuccess() 19 function logSuccess()
20 { 20 {
21 document.getElementById("console").innerHTML = "PASS"; 21 document.getElementById("console").innerHTML = "PASS";
22 } 22 }
23 </script> 23 </script>
24 <body onload="runTest()"> 24 <body onload="runTest()">
25 <p>Test that WebKit will load a plug-in to render an image before rendering it n atively.</p> 25 <p>Test that WebKit will load a plugin to render an image before rendering it na tively.</p>
26 <div id="console">FAIL</div> 26 <div id="console">FAIL</div>
27 <embed id="plugin" src="image.png"> 27 <embed id="plugin" src="image.png">
28 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698