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

Side by Side Diff: LayoutTests/plugins/npruntime/np-deallocate-called-before-np-shutdown.html

Issue 1319473007: Delete a bunch of NPAPI layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698