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/get-url-with-javascript-destroying-plugin.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 function removePlugin() { 2 function removePlugin() {
3 var plugin = document.getElementById('plugin'); 3 var plugin = document.getElementById('plugin');
4 plugin.parentNode.removeChild(plugin); 4 plugin.parentNode.removeChild(plugin);
5 5
6 document.getElementById('console').innerText = 'SUCCESS'; 6 document.getElementById('console').innerText = 'SUCCESS';
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.notifyDone(); 8 testRunner.notifyDone();
9 } 9 }
10 10
11 if (window.testRunner) { 11 if (window.testRunner) {
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 testRunner.waitUntilDone(); 13 testRunner.waitUntilDone();
14 } 14 }
15 </script> 15 </script>
16 <body> 16 <body>
17 <embed id="plugin" type="application/x-webkit-test-netscape" test="get-url-with- javascript-url-destroying-plugin" width=100 height=100></embed> 17 <embed id="plugin" type="application/x-webkit-test-netscape" test="get-url-with- javascript-url-destroying-plugin" width=100 height=100></embed>
18 <p id="description">This tests that evaluating JS that calls NPN_GetURL to evalu ate a javascript: URL that destroys the plug-in doesn't crash.</p> 18 <p id="description">This tests that evaluating JS that calls NPN_GetURL to evalu ate a javascript: URL that destroys the plugin doesn't crash.</p>
19 <div id="console">FAILURE</div> 19 <div id="console">FAILURE</div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698