summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_service_impl_browsertest.cc
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-19 22:20:28 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-19 22:20:28 +0000
commit4ca60e35a3fc80e885a7296aaf742343e5ca8f30 (patch)
treebd6a4cdd788040ae1ae0787aff76a7c8647633f5 /content/browser/plugin_service_impl_browsertest.cc
parent16518f9ecbb5c03ce64e2a960e79f1e43e871488 (diff)
downloadchromium_src-4ca60e35a3fc80e885a7296aaf742343e5ca8f30.zip
chromium_src-4ca60e35a3fc80e885a7296aaf742343e5ca8f30.tar.gz
chromium_src-4ca60e35a3fc80e885a7296aaf742343e5ca8f30.tar.bz2
PPAPI: Messaging shouldn't use v8 if Context is empty
We may sometimes have no valid Context to enter, because the instance is detached from the DOM (which is being destroyed). In that case, we have no way to dispatch a message to JavaScript, so we just drop the message. BUG=258190 TEST=See bug 258190 for more information. Install https://chrome.google.com/webstore/detail/chrome-remote-desktop/ajoainacpilcemgiakehflpbkbfipojk (from internal). Launch the Chrome Remote Desktop app. Close it. Launch again and connect to a host. Close it again. Prior to the change, the Chromoting plugin would crash. After this change, it shouldn't. Review URL: https://chromiumcodereview.appspot.com/18915003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_service_impl_browsertest.cc')
0 files changed, 0 insertions, 0 deletions