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

Side by Side Diff: LayoutTests/plugins/netscape-destroy-plugin-script-objects.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 function runTest() 3 function runTest()
4 { 4 {
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 var successCount = 0; 8 var successCount = 0;
9 var plugin = document.getElementById("testPlugin"); 9 var plugin = document.getElementById("testPlugin");
10 plugin.logDestroy = true; 10 plugin.logDestroy = true;
(...skipping 15 matching lines...) Expand all
26 successCount++; 26 successCount++;
27 } 27 }
28 28
29 if (successCount == 2) 29 if (successCount == 2)
30 document.getElementById('result').innerHTML = 'SUCCESS'; 30 document.getElementById('result').innerHTML = 'SUCCESS';
31 } 31 }
32 32
33 </script> 33 </script>
34 34
35 <body onload="runTest();"> 35 <body onload="runTest();">
36 This tests that accessing plug-in script objects from a destroyed plugin cause t hrows the right exceptions. 36 This tests that accessing plugin script objects from a destroyed plugin cause th rows the right exceptions.
37 <div id="result">FAILURE</div> 37 <div id="result">FAILURE</div>
38 <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" hei ght="200"></embed> 38 <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" hei ght="200"></embed>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698