OLD | NEW |
| (Empty) |
1 <script> | |
2 function runTest() { | |
3 if (window.testRunner) | |
4 testRunner.dumpAsText(); | |
5 | |
6 var testObject = document.getElementById('plugin').testObject; | |
7 | |
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. | |
10 document.getElementById('container').innerHTML = ''; | |
11 document.getElementById('result').innerHTML = 'SUCCESS'; | |
12 } | |
13 </script> | |
14 <body onload="runTest()"> | |
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> | |
17 </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> | |
OLD | NEW |