Commit ce0bb8c3 authored by Harley Li's avatar Harley Li Committed by Commit Bot

[DevTools] Fix copying PowerShell commands

Bug: 1004757
Change-Id: Ib3e3df302e6b8e995a767463a485ed29f6b511b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825718Reviewed-by: default avatarErik Luo <luoe@chromium.org>
Commit-Queue: Harley Li <hhli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700435}
parent 147b271c
...@@ -1322,7 +1322,7 @@ Network.NetworkLogView = class extends UI.VBox { ...@@ -1322,7 +1322,7 @@ Network.NetworkLogView = class extends UI.VBox {
} }
async _copyAllPowerShellCommand() { async _copyAllPowerShellCommand() {
const commands = this._generateAllPowerShellCommand(SDK.networkLog.requests()); const commands = await this._generateAllPowerShellCommand(SDK.networkLog.requests());
InspectorFrontendHost.copyText(commands); InspectorFrontendHost.copyText(commands);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment