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

Issue 2203073004: [DevTools] Add awaitPromise flag to Runtime.runScript (Closed)

Created:
4 years, 4 months ago by kozy
Modified:
4 years, 4 months ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@make-call-function-on-async
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Add awaitPromise flag to Runtime.runScript - added awaitPromise flag, - added returnByValue and generatePreview flags to align with other evaluate methods, - marked executionContextId as optional. BUG=632875 R=dgozman@chromium.org Committed: https://crrev.com/0ce09555b528b623d9103e77226472af0a7dabeb Cr-Commit-Position: refs/heads/master@{#409408}

Patch Set 1 #

Total comments: 8

Patch Set 2 : fixed executionContextId=0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -81 lines) Patch
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async.html View 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-async-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async.html View 1 chunk +138 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async-expected.txt View 1 1 chunk +139 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-compile-and-run.html View 1 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js View 1 chunk +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h View 1 chunk +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp View 1 11 chunks +79 lines, -53 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/js_protocol.json View 1 3 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
kozy
Dmitry, please take a look!
4 years, 4 months ago (2016-08-02 19:21:51 UTC) #1
dgozman
Implementation lgtm, only description adjustments. https://codereview.chromium.org/2203073004/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp File third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp (right): https://codereview.chromium.org/2203073004/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp#newcode290 third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp:290: "Result of expression is ...
4 years, 4 months ago (2016-08-02 21:38:08 UTC) #2
kozy
All done. https://codereview.chromium.org/2203073004/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp File third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp (right): https://codereview.chromium.org/2203073004/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp#newcode290 third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp:290: "Result of expression is not a promise", ...
4 years, 4 months ago (2016-08-02 22:18:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2203073004/20001
4 years, 4 months ago (2016-08-02 22:21:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2203073004/40001
4 years, 4 months ago (2016-08-03 00:53:40 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 4 months ago (2016-08-03 00:57:44 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 00:59:05 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0ce09555b528b623d9103e77226472af0a7dabeb
Cr-Commit-Position: refs/heads/master@{#409408}

Powered by Google App Engine
This is Rietveld 408576698