summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/history_uitest.cc
diff options
context:
space:
mode:
authoramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 17:33:29 +0000
committeramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 17:33:29 +0000
commit2c41ad7b7986fdec304ffa3d42ab4bc162bb89e0 (patch)
treeff3b26607ba232878732ac1e597b254cad7ccefb /chrome/test/ui/history_uitest.cc
parent71a329c66080f1c095afc642eef5fe10160dc125 (diff)
downloadchromium_src-2c41ad7b7986fdec304ffa3d42ab4bc162bb89e0.zip
chromium_src-2c41ad7b7986fdec304ffa3d42ab4bc162bb89e0.tar.gz
chromium_src-2c41ad7b7986fdec304ffa3d42ab4bc162bb89e0.tar.bz2
Fix browser hang due to plugin deadlock
This involves two plugin instances with second instance making sync calls to the renderer while the first one is still servicing an incoming sync request. Our logic to unblock the renderer during the sync call fails since the 'in_dispatch_' counter is maintained per plugin channel (each plugin instance uses its own separate channel). Making 'in_dispatch_' counter static member of PluginChannelBase fixes this deadlock. Added a new NPAPI UI test for this scenario. BUG=12624 TEST=MultipleInstancesSyncCalls Review URL: http://codereview.chromium.org/119052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/history_uitest.cc')
0 files changed, 0 insertions, 0 deletions