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

Unified Diff: chrome/test/ui/npapi_uitest.cc

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/ui/npapi_uitest.cc
===================================================================
--- chrome/test/ui/npapi_uitest.cc (revision 17403)
+++ chrome/test/ui/npapi_uitest.cc (working copy)
@@ -284,3 +284,16 @@
WaitForFinish("private", "1", url, kTestCompleteCookie,
kTestCompleteSuccess, kShortWaitTimeout);
}
+
+// Test a browser hang due to special case of multiple
+// plugin instances indulged in sync calls across renderer.
+TEST_F(NPAPIVisiblePluginTester, MultipleInstancesSyncCalls) {
+ if (UITest::in_process_renderer())
+ return;
+
+ GURL url = GetTestUrl(L"npapi", L"multiple_instances_sync_calls.html");
+ NavigateToURL(url);
+ WaitForFinish("multiple_instances_sync_calls", "1", url, kTestCompleteCookie,
+ kTestCompleteSuccess, kShortWaitTimeout);
+}
+

Powered by Google App Engine
This is Rietveld 408576698