DevTools: Add "Copy as PowerShell" option for network requests
PowerShell is a powerful command-line shell which is preinstalled on all Windows 7+ machines and is capable of issuing arbitrary network requests. This change adds two options to the network request context menu on Windows systems: "Copy as PowerShell" and "Copy all as PowerShell". Testing done: strings from the old curl-command.html and the Big List of Naughty Strings (https://github.com/minimaxir/big-list-of-naughty-strings) were submitted as request URL and bodies. Requests then were copied, submitted from PowerShell and cURL (bash) and compared on the server side. All requests got byte-for-byte match. Bug: 787693 Change-Id: I1a404e0a127cc27f154ad965661fb227232a0b08 Reviewed-on: https://chromium-review.googlesource.com/784770Reviewed-by:Pavel Feldman <pfeldman@chromium.org> Reviewed-by:
Blaise Bruer <allada@chromium.org> Commit-Queue: Will Chen <chenwilliam@chromium.org> Cr-Commit-Position: refs/heads/master@{#521141}
Showing
Please register or sign in to comment