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

Side by Side Diff: LayoutTests/plugins/npruntime/np-deallocate-called-before-np-shutdown.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 runTest() { 2 function runTest() {
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 5
6 var testObject = document.getElementById('plugin').testObject; 6 var testObject = document.getElementById('plugin').testObject;
7 7
8 // Remove the plug-in. The plug-in asserts that shutdown isn't called before 8 // Remove the plugin. The plugin asserts that shutdown isn't called before
9 // any calls to NP_Deallocate, so this test will time out if that happens. 9 // any calls to NP_Deallocate, so this test will time out if that happens.
10 document.getElementById('container').innerHTML = ''; 10 document.getElementById('container').innerHTML = '';
11 document.getElementById('result').innerHTML = 'SUCCESS'; 11 document.getElementById('result').innerHTML = 'SUCCESS';
12 } 12 }
13 </script> 13 </script>
14 <body onload="runTest()"> 14 <body onload="runTest()">
15 <div id="container"> 15 <div id="container">
16 <embed id="plugin" type="application/x-webkit-test-netscape" test="np-deallocate -called-before-np-shutdown" width=100 height=100></embed> 16 <embed id="plugin" type="application/x-webkit-test-netscape" test="np-deallocate -called-before-np-shutdown" width=100 height=100></embed>
17 </div> 17 </div>
18 <div>This tests that the NP_Deallocate function of an NPObject isn't called befo re the NP_Shutdown function.</div> 18 <div>This tests that the NP_Deallocate function of an NPObject isn't called befo re the NP_Shutdown function.</div>
19 <div id="result">FAILURE</div> 19 <div id="result">FAILURE</div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698