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

Issue 588083002: Use the correct v8 context for conversions when calling into the plugin from JS (Closed)

Created:
6 years, 3 months ago by raymes
Modified:
6 years, 2 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use the correct v8 context for conversions when calling into the plugin from JS Previously we were using the plugin context when converting objects during calls into the plugin from JS. As decided previously in https://codereview.chromium.org/555583003/ we should always use the caller's context in these circumstances. This CL also separates the checks in PepperPluginInstanceImpl::GetContext to help diagnose crbug.com/416311. BUG=416311 Committed: https://crrev.com/816f98b97b87b84e2e1e6cff7dd1f4da9749cc2c Cr-Commit-Position: refs/heads/master@{#297136}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -20 lines) Patch
M content/renderer/pepper/message_channel.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 1 chunk +6 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 1 chunk +11 lines, -6 lines 0 comments Download
M content/renderer/pepper/pepper_try_catch.h View 3 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_try_catch.cc View 1 3 chunks +12 lines, -6 lines 0 comments Download
M content/renderer/pepper/ppb_var_deprecated_impl.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
raymes
I forgot to send this out yesterday :(
6 years, 3 months ago (2014-09-23 00:31:32 UTC) #2
dmichael (off chromium)
lgtm https://codereview.chromium.org/588083002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/588083002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode675 content/renderer/pepper/pepper_plugin_instance_impl.cc:675: v8::Local<v8::Context> PepperPluginInstanceImpl::GetContext() { Maybe we should rename this ...
6 years, 3 months ago (2014-09-23 16:16:54 UTC) #3
raymes
https://codereview.chromium.org/588083002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/588083002/diff/1/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode675 content/renderer/pepper/pepper_plugin_instance_impl.cc:675: v8::Local<v8::Context> PepperPluginInstanceImpl::GetContext() { On 2014/09/23 16:16:54, dmichael wrote: > ...
6 years, 3 months ago (2014-09-24 00:19:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/588083002/20001
6 years, 3 months ago (2014-09-24 00:20:26 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/17825) ios_rel_device on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device/builds/17758)
6 years, 3 months ago (2014-09-24 00:24:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/588083002/20001
6 years, 2 months ago (2014-09-29 04:04:46 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 5161ffdaf82d7b41c62cba89796f9f27777899d3
6 years, 2 months ago (2014-09-29 04:14:48 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-09-29 04:15:30 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/816f98b97b87b84e2e1e6cff7dd1f4da9749cc2c
Cr-Commit-Position: refs/heads/master@{#297136}

Powered by Google App Engine
This is Rietveld 408576698