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

Issue 2185233002: [DevTools] Added Runtime.awaitPromise protocol method (Closed)

Created:
4 years, 4 months ago by kozy
Modified:
4 years, 4 months ago
Reviewers:
dgozman, pfeldman
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, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Added Runtime.awaitPromise protocol method Method will call callback when promise is fulfilled, rejected or collected. BUG=632875 R=dgozman@chromium.org Committed: https://crrev.com/6d917a5dc76f1de93239f06864352cea9d278603 Cr-Commit-Position: refs/heads/master@{#408849}

Patch Set 1 #

Patch Set 2 : a #

Total comments: 16

Patch Set 3 : addressed comments #

Patch Set 4 : alligned output #

Messages

Total messages: 17 (6 generated)
kozy
Dmitry, please take a look!
4 years, 4 months ago (2016-07-27 23:01:39 UTC) #1
dgozman
https://codereview.chromium.org/2185233002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js File third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js (right): https://codereview.chromium.org/2185233002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js#newcode38 third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js:38: InspectorTest.sendCommand("Runtime.evaluate", { "expression": expression, "objectGroup": objectGroup }, callback); Let's ...
4 years, 4 months ago (2016-07-28 00:07:56 UTC) #2
dgozman
Pavel, ptal at protocol.
4 years, 4 months ago (2016-07-28 00:08:43 UTC) #4
dgozman
https://codereview.chromium.org/2185233002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp File third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp (right): https://codereview.chromium.org/2185233002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp#newcode141 third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp:141: class ProtocolPromiseHandler { Let's move this to separate file. ...
4 years, 4 months ago (2016-07-28 20:16:07 UTC) #5
pfeldman
https://codereview.chromium.org/2185233002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json File third_party/WebKit/Source/platform/v8_inspector/js_protocol.json (right): https://codereview.chromium.org/2185233002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json#newcode199 third_party/WebKit/Source/platform/v8_inspector/js_protocol.json:199: "name": "promiseThen", name: awaitPromise. also... could we get following ...
4 years, 4 months ago (2016-07-28 21:05:38 UTC) #6
kozy
ptal https://codereview.chromium.org/2185233002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js File third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js (right): https://codereview.chromium.org/2185233002/diff/20001/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js#newcode38 third_party/WebKit/LayoutTests/http/tests/inspector-protocol/inspector-protocol-test.js:38: InspectorTest.sendCommand("Runtime.evaluate", { "expression": expression, "objectGroup": objectGroup }, callback); ...
4 years, 4 months ago (2016-07-28 22:54:09 UTC) #7
kozy
Dmitry, please take a look!
4 years, 4 months ago (2016-07-29 21:50:26 UTC) #9
dgozman
lgtm
4 years, 4 months ago (2016-07-29 23:10:32 UTC) #11
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/2185233002/60001
4 years, 4 months ago (2016-07-29 23:21:38 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-30 02:48:53 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-07-30 02:51:26 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6d917a5dc76f1de93239f06864352cea9d278603
Cr-Commit-Position: refs/heads/master@{#408849}

Powered by Google App Engine
This is Rietveld 408576698