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

Side by Side Diff: LayoutTests/plugins/js-from-destroy.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 <html> 1 <html>
2 <script> 2 <script>
3 if (window.testRunner) { 3 if (window.testRunner) {
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
6 testRunner.setXSSAuditorEnabled(true); 6 testRunner.setXSSAuditorEnabled(true);
7 } 7 }
8 8
9 function runtest() 9 function runtest()
10 { 10 {
11 frames[0].document.getElementById("plg").foobar; // Force plug-in load. 11 frames[0].document.getElementById("plg").foobar; // Force plugin load.
12 12
13 location = "data:text/html,PASS if didn't crash." + 13 location = "data:text/html,PASS if didn't crash." +
14 "<script>" + 14 "<script>" +
15 "if (window.testRunner)" + 15 "if (window.testRunner)" +
16 " testRunner.notifyDone();" + 16 " testRunner.notifyDone();" +
17 "</scr" + "ipt>"; 17 "</scr" + "ipt>";
18 } 18 }
19 19
20 20
21 </script> 21 </script>
22 <body onload="runtest()"> 22 <body onload="runtest()">
23 <iframe id="frame" src="resources/js-from-destroy-frame.html"></iframe> 23 <iframe id="frame" src="resources/js-from-destroy-frame.html"></iframe>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698