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

Issue 2571713005: DevTools: untruncate links on console export (Closed)

Created:
4 years ago by luoe
Modified:
3 years, 11 months ago
Reviewers:
dgozman, lushnikov
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, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: untruncate links on console export BUG=505177 Review-Url: https://codereview.chromium.org/2571713005 Cr-Commit-Position: refs/heads/master@{#443411} Committed: https://chromium.googlesource.com/chromium/src/+/9f3f2c8a92072d2e0a7194f6ebd3547c3609cb09

Patch Set 1 #

Total comments: 2

Patch Set 2 : up + test #

Total comments: 4

Patch Set 3 : ac #

Patch Set 4 : test desc #

Total comments: 8

Patch Set 5 : ac #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -133 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/inspector/console/console-export.html View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/console/console-export-expected.txt View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-linkify-message-location.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-linkify-message-location-expected.txt View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-links-expected.txt View 1 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-log-linkify-stack-in-errors-expected.txt View 1 1 chunk +21 lines, -21 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter-expected.txt View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-object-preview-expected.txt View 1 2 3 4 5 1 chunk +62 lines, -62 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-proxy-expected.txt View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/Linkifier.js View 1 2 9 chunks +23 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js View 1 2 3 4 5 1 chunk +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js View 1 2 3 4 5 5 chunks +27 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/consoleView.css View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 26 (15 generated)
luoe
ptal
4 years ago (2016-12-13 23:44:44 UTC) #3
dgozman
https://codereview.chromium.org/2571713005/diff/1/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/2571713005/diff/1/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js#newcode397 third_party/WebKit/Source/devtools/front_end/components/Linkifier.js:397: link.textContent = text.trimMiddle(Components.Linkifier.MaxLengthForDisplayedURLs); Why do we trim to the ...
4 years ago (2016-12-14 17:25:07 UTC) #5
luoe
In the latest patch, I renamed console-message-url to console-message-anchor. The structure changes from: - console-message-url.devtools-link ...
4 years ago (2016-12-17 01:18:20 UTC) #6
dgozman
https://codereview.chromium.org/2571713005/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/2571713005/diff/20001/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js#newcode362 third_party/WebKit/Source/devtools/front_end/components/Linkifier.js:362: linkText, className || '', Components.Linkifier.MaxLengthForDisplayedURLs, title, url, preventClick); 150 ...
4 years ago (2016-12-19 18:38:01 UTC) #7
luoe
https://codereview.chromium.org/2571713005/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/2571713005/diff/20001/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js#newcode362 third_party/WebKit/Source/devtools/front_end/components/Linkifier.js:362: linkText, className || '', Components.Linkifier.MaxLengthForDisplayedURLs, title, url, preventClick); This ...
4 years ago (2016-12-19 19:44:39 UTC) #8
luoe
Also in the last patch, I moved the const into UIUtils so createExternalLink could use ...
4 years ago (2016-12-19 19:45:38 UTC) #9
luoe
On 2016/12/19 19:45:38, luoe wrote: > Also in the last patch, I moved the const ...
3 years, 11 months ago (2017-01-05 02:18:59 UTC) #10
dgozman
lgtm https://codereview.chromium.org/2571713005/diff/60001/third_party/WebKit/LayoutTests/inspector/console/console-export.html File third_party/WebKit/LayoutTests/inspector/console/console-export.html (right): https://codereview.chromium.org/2571713005/diff/60001/third_party/WebKit/LayoutTests/inspector/console/console-export.html#newcode11 third_party/WebKit/LayoutTests/inspector/console/console-export.html:11: console.error('foo'); Let's have a single message with multiple ...
3 years, 11 months ago (2017-01-10 01:03:30 UTC) #11
luoe
Thanks for the review! https://codereview.chromium.org/2571713005/diff/60001/third_party/WebKit/LayoutTests/inspector/console/console-export.html File third_party/WebKit/LayoutTests/inspector/console/console-export.html (right): https://codereview.chromium.org/2571713005/diff/60001/third_party/WebKit/LayoutTests/inspector/console/console-export.html#newcode11 third_party/WebKit/LayoutTests/inspector/console/console-export.html:11: console.error('foo'); On 2017/01/10 01:03:30, dgozman ...
3 years, 11 months ago (2017-01-10 22:21:45 UTC) #12
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/2571713005/100001
3 years, 11 months ago (2017-01-13 00:09:50 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 00:31:15 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/9f3f2c8a92072d2e0a7194f6ebd3...

Powered by Google App Engine
This is Rietveld 408576698