DevTools: Runtime.callFunctionOn should accept execution context |
||
Issue descriptionThe protocol's Runtime.callFunctionOn should accept execution context and pass global object as function receiver.
,
Aug 31 2017
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/257f9494a6dc62487b209aca73dfff02c3efa359 commit 257f9494a6dc62487b209aca73dfff02c3efa359 Author: Andrey Lushnikov <lushnikov@chromium.org> Date: Thu Aug 31 02:23:06 2017 Reland of Inspector: Runtime.callFunctionOn to accept executionContextId This patch: - teaches Runtime.callFunctionOn to accept executionContextId instead of objectId. - adds the optional objectGroup parameter to the Runtime.callFunctionOn. R=kozy TBR=pfeldman BUG= chromium:760367 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I024654860f23a9e79fb57865ba5bd472692ea526 Reviewed-on: https://chromium-review.googlesource.com/641921 Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#47725} [modify] https://crrev.com/257f9494a6dc62487b209aca73dfff02c3efa359/src/inspector/js_protocol.json [modify] https://crrev.com/257f9494a6dc62487b209aca73dfff02c3efa359/src/inspector/v8-runtime-agent-impl.cc [modify] https://crrev.com/257f9494a6dc62487b209aca73dfff02c3efa359/src/inspector/v8-runtime-agent-impl.h [modify] https://crrev.com/257f9494a6dc62487b209aca73dfff02c3efa359/test/inspector/runtime/call-function-on-async-expected.txt [modify] https://crrev.com/257f9494a6dc62487b209aca73dfff02c3efa359/test/inspector/runtime/call-function-on-async.js
,
Dec 6 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Aug 31 2017