Correct ipv6 parsing bug in remote-debugging-address
Fixes a bug where ipv6 addresses are not accepted for the remote-debugger-address option. Before this change, neither --remote-debugging-address=::1 nor --remote-debugging-address=[::1] are accepted. The reason is that the address was parsed expecting a bracketed address but then is later wrapped in brackets again, resulting in invalid addresses such as [[::1]]. This change updates parsing so that the non-bracketed ip literal is accepted. It also adds integ tests to verify the chromedriver/devtools interaction when ip literals are specified. Bug: 1112509 Change-Id: I82756add5f576f3303a84cd3edcc84956c65a75e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424035 Commit-Queue: Satsuki Ueno <satsukiu@google.com> Reviewed-by:Shengfa Lin <shengfa@google.com> Reviewed-by:
John Chen <johnchen@chromium.org> Reviewed-by:
Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#810281}
Showing
Please register or sign in to comment