DescriptionDevTools: linkifier incorrectly matches port numbers in urls as line numbers
When logging a URL with a port number in the console, 'http://localhost:8000',
our linkifier incorrectly treats the '8000' port number as a line number.
Using our existing granular URL regexes, this patch makes the linkifier ignore
the URL part before the 'path' when looking for a line/column number.
BUG=701865
Review-Url: https://codereview.chromium.org/2843073003
Cr-Commit-Position: refs/heads/master@{#467868}
Committed: https://chromium.googlesource.com/chromium/src/+/201eaf7de7e46e23f5955dc8b57db0d76add14c2
Patch Set 1 : a #Patch Set 2 : use regex group instead of a flag #
Total comments: 2
Patch Set 3 : added test #
Total comments: 2
Patch Set 4 : move test #
Messages
Total messages: 16 (8 generated)
|