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

Side by Side Diff: LayoutTests/plugins/return-error-from-new-stream-doesnt-invoke-destroy-stream.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 <head> 2 <head>
3 <script src="../resources/js-test.js"></script> 3 <script src="../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <p id="description"></p> 6 <p id="description"></p>
7 <div id="console"></div> 7 <div id="console"></div>
8 8
9 <script> 9 <script>
10 var destroyStreamCalled = false; 10 var destroyStreamCalled = false;
(...skipping 24 matching lines...) Expand all
35 </script> 35 </script>
36 36
37 <embed 37 <embed
38 type="application/x-webkit-test-netscape" 38 type="application/x-webkit-test-netscape"
39 onStreamLoad="streamStarted()" 39 onStreamLoad="streamStarted()"
40 onStreamDestroy="streamDestroyed" 40 onStreamDestroy="streamDestroyed"
41 onURLNotify="requestCompleted()" 41 onURLNotify="requestCompleted()"
42 id="plugin"> 42 id="plugin">
43 </body> 43 </body>
44 <script> 44 <script>
45 description("This tests that NPP_DestroyStream is not called if a plug-i n returns an error from its NPP_NewStream callback."); 45 description("This tests that NPP_DestroyStream is not called if a plugin returns an error from its NPP_NewStream callback.");
46 46
47 var plugin = document.getElementById("plugin"); 47 var plugin = document.getElementById("plugin");
48 48
49 plugin.returnErrorFromNewStream = true; 49 plugin.returnErrorFromNewStream = true;
50 shouldBeTrue("plugin.returnErrorFromNewStream"); 50 shouldBeTrue("plugin.returnErrorFromNewStream");
51 51
52 plugin.getURLNotify("data:,", null, "callback"); 52 plugin.getURLNotify("data:,", null, "callback");
53 </script> 53 </script>
54 </html> 54 </html>
55 55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698