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

Side by Side Diff: LayoutTests/plugins/return-negative-one-from-write.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 newStreamCalled = false; 10 var newStreamCalled = false;
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 </script> 38 </script>
39 39
40 <embed 40 <embed
41 type="application/x-webkit-test-netscape" 41 type="application/x-webkit-test-netscape"
42 onStreamLoad="streamStarted()" 42 onStreamLoad="streamStarted()"
43 onStreamDestroy="streamDestroyed" 43 onStreamDestroy="streamDestroyed"
44 id="plugin"> 44 id="plugin">
45 </body> 45 </body>
46 <script> 46 <script>
47 description("This tests that NPP_DestroyStream is called with NPRES_NETW ORK_ERR not called if a plug-in returns -1 its NPP_Write callback."); 47 description("This tests that NPP_DestroyStream is called with NPRES_NETW ORK_ERR not called if a plugin returns -1 its NPP_Write callback.");
48 48
49 var plugin = document.getElementById("plugin"); 49 var plugin = document.getElementById("plugin");
50 50
51 plugin.returnNegativeOneFromWrite = true; 51 plugin.returnNegativeOneFromWrite = true;
52 shouldBeTrue("plugin.returnNegativeOneFromWrite"); 52 shouldBeTrue("plugin.returnNegativeOneFromWrite");
53 53
54 plugin.getURLNotify("data:text/html,Test", null, "callback"); 54 plugin.getURLNotify("data:text/html,Test", null, "callback");
55 </script> 55 </script>
56 </html> 56 </html>
57 57
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698