Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Issue 2125143002: [Devtools] Improved URL parser for console (Closed)

Created:
4 years, 5 months ago by allada
Modified:
4 years, 5 months ago
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Devtools] Improved URL parser for console URL linkifier in console will now match a bit smarter. It will now allow things in double quotes single quotes and tick characters with something that beings to look like a url and continue to match (ie: allow spaces and punctuation). If there is no quote characters it will require punctuation or space before and after something that looks like a url. BUG=535463 Committed: https://crrev.com/33b11974ba7343fbf2ad6673447488a1563cc8e3 Cr-Commit-Position: refs/heads/master@{#404724}

Patch Set 1 #

Patch Set 2 : Better url parser for console #

Total comments: 12

Patch Set 3 : wq #

Total comments: 2

Patch Set 4 : Better url parser for console #

Patch Set 5 : bug fix in test #

Patch Set 6 : fixed test bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -13 lines) Patch
M third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-links.html View 1 2 3 4 2 chunks +35 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-links-expected.txt View 1 2 chunks +111 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/Linkifier.js View 1 2 3 4 5 1 chunk +57 lines, -5 lines 0 comments Download

Messages

Total messages: 42 (23 generated)
allada
PTL
4 years, 5 months ago (2016-07-06 22:21:57 UTC) #3
lushnikov
Can you please format the issue description so that lines don't span more then 80 ...
4 years, 5 months ago (2016-07-06 22:56:56 UTC) #5
luoe
Looks good. Can we make this regex a constant and just build it once outside ...
4 years, 5 months ago (2016-07-06 23:00:23 UTC) #6
luoe
On 2016/07/06 23:00:23, luoe wrote: > Looks good. Can we make this regex a constant ...
4 years, 5 months ago (2016-07-06 23:06:31 UTC) #7
dgozman
Why do we do this?
4 years, 5 months ago (2016-07-07 00:23:19 UTC) #8
allada
PTL https://codereview.chromium.org/2125143002/diff/20001/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js File third_party/WebKit/Source/devtools/front_end/components/Linkifier.js (right): https://codereview.chromium.org/2125143002/diff/20001/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js#newcode484 third_party/WebKit/Source/devtools/front_end/components/Linkifier.js:484: + "]*|" + mayContainPunctuationIfNoSpaceAfter + "|" + encodedURIPattern ...
4 years, 5 months ago (2016-07-07 02:06:50 UTC) #10
lushnikov
lgtm https://codereview.chromium.org/2125143002/diff/40001/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js File third_party/WebKit/Source/devtools/front_end/components/Linkifier.js (right): https://codereview.chromium.org/2125143002/diff/40001/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js#newcode504 third_party/WebKit/Source/devtools/front_end/components/Linkifier.js:504: var ensureNonAlphaNumericFirstCharacter = match[1] nit: nonAlphaNumbericFirstCharacter (Variables should ...
4 years, 5 months ago (2016-07-08 17:56:56 UTC) #11
Allada-Google
done https://codereview.chromium.org/2125143002/diff/40001/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js File third_party/WebKit/Source/devtools/front_end/components/Linkifier.js (right): https://codereview.chromium.org/2125143002/diff/40001/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js#newcode504 third_party/WebKit/Source/devtools/front_end/components/Linkifier.js:504: var ensureNonAlphaNumericFirstCharacter = match[1] On 2016/07/08 17:56:55, lushnikov ...
4 years, 5 months ago (2016-07-08 18:38:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2125143002/100001
4 years, 5 months ago (2016-07-11 09:38:04 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/252905)
4 years, 5 months ago (2016-07-11 11:27:02 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2125143002/100001
4 years, 5 months ago (2016-07-11 13:35:14 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/253012)
4 years, 5 months ago (2016-07-11 16:03:19 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2125143002/100001
4 years, 5 months ago (2016-07-11 17:06:56 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/253173)
4 years, 5 months ago (2016-07-11 19:25:41 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2125143002/100001
4 years, 5 months ago (2016-07-11 19:34:06 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-11 20:30:44 UTC) #38
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-11 20:31:09 UTC) #39
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/33b11974ba7343fbf2ad6673447488a1563cc8e3 Cr-Commit-Position: refs/heads/master@{#404724}
4 years, 5 months ago (2016-07-11 20:33:09 UTC) #41
allada
4 years, 5 months ago (2016-07-14 17:34:57 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2151943002/ by allada@chromium.org.

The reason for reverting is: Regex can lockup on some console messages..

Powered by Google App Engine
This is Rietveld 408576698