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

Unified Diff: chrome/test/data/npapi/multiple_instances_sync_calls.html

Issue 119052: Fix browser hang due to plugin deadlock... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/npapi/multiple_instances_sync_calls.html
===================================================================
--- chrome/test/data/npapi/multiple_instances_sync_calls.html (revision 0)
+++ chrome/test/data/npapi/multiple_instances_sync_calls.html (revision 0)
@@ -0,0 +1,38 @@
+<html>
+ <head>
+ <script src="npapi.js"></script>
+ <script>
+ function TestCallback() {
+ onSuccess("multiple_instances_sync_calls", 1);
+ }
+ </script>
+ </head>
+ <body>
+ <div id="statusPanel" style="border: 1px solid red; width: 100%">
+ Test running....
+ </div>
+
+ NPObject Proxy Test<p>
+
+ Tests the case that involves two plugin instances with second
+ instance making sync calls to the renderer while the first one
+ is still servicing an incoming sync request
+
+ <DIV ID="plugin">
+ <embed type="application/vnd.npapi-test"
+ src="foo"
+ name="multiple_instances_sync_calls"
+ id="1"
+ width="100"
+ height="100"
+ mode="np_embed"></embed>
+ <embed type="application/vnd.npapi-test"
+ src="foo"
+ name="multiple_instances_sync_calls"
+ id="2"
+ width="100"
+ height="100"
+ mode="np_embed"></embed>
+ </DIV>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698