Chromium Code Reviews
DescriptionDevTools: Promisify Profiler and HeapProfiler domains
Get rid of method callbacks. Return the protocol method result with
a Promise.
There are some limitations for the API:
1. Only the first return parameter of the callback is provided.
2. The error string is not available.
If the caller needs the error string or other return parameters please
use more generic invoke_* version of the protocol method.
Review-Url: https://codereview.chromium.org/2850333002
Cr-Commit-Position: refs/heads/master@{#468842}
Committed: https://chromium.googlesource.com/chromium/src/+/4b71ab4d94952c27398fb398aaf12dcd3008a4cc
Patch Set 1 #
Total comments: 4
Patch Set 2 : addressing comments #Messages
Total messages: 14 (8 generated)
|