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

Issue 2861393004: DevTools/Coverage: fix decorations in HTML (Closed)

Created:
3 years, 7 months ago by caseq
Modified:
3 years, 7 months ago
Reviewers:
alph, dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, blink-reviews-style_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/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools/Coverage: fix decorations in HTML - implement mapping for inline styles in HTML locally in CoverageDecorationsManager as a workaound for bindings deficiencies; - apply proper offsets to inline resources when mapping UI positions to resource byte offsets in CoverageDecorationsManager; - (drive-by) improve bar sizing precision in CoverageListView. BUG=719113 Review-Url: https://codereview.chromium.org/2861393004 Cr-Commit-Position: refs/heads/master@{#471097} Committed: https://chromium.googlesource.com/chromium/src/+/3431436da14fb7b435d830f8552280333a7dee8c

Patch Set 1 #

Patch Set 2 : Do not decorate lines with no information and empty lines #

Patch Set 3 : Use a local hack, avoid messing with bindings #

Total comments: 8

Patch Set 4 : Review comments addressed #

Patch Set 5 : reverted toFixedIfFloating() changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -60 lines) Patch
M third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-script-formatter-expected.txt View 1 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/coverage/gutter-css-expected.txt View 1 1 chunk +5 lines, -5 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/coverage/gutter-html.html View 1 chunk +66 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/coverage/gutter-html-expected.txt View 1 1 chunk +69 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/coverage/gutter-js-expected.txt View 1 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/coverage/multiple-instances-merge-expected.txt View 1 1 chunk +11 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/coverage/reveal-autoformat-expected.txt View 1 1 chunk +14 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/coverage/CoverageDecorationManager.js View 1 2 3 7 chunks +98 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/coverage/CoverageListView.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/coverage/CoverageModel.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (16 generated)
caseq
3 years, 7 months ago (2017-05-09 01:25:24 UTC) #2
caseq
-lushnikov +alph -- ptal, I'm using a local workaround now instead of attempting to fix ...
3 years, 7 months ago (2017-05-10 01:51:48 UTC) #5
alph
lgtm https://codereview.chromium.org/2861393004/diff/60001/third_party/WebKit/Source/devtools/front_end/coverage/CoverageDecorationManager.js File third_party/WebKit/Source/devtools/front_end/coverage/CoverageDecorationManager.js (right): https://codereview.chromium.org/2861393004/diff/60001/third_party/WebKit/Source/devtools/front_end/coverage/CoverageDecorationManager.js#newcode25 third_party/WebKit/Source/devtools/front_end/coverage/CoverageDecorationManager.js:25: // FIXME(crbug.com/720162): get rid of this, use bindings ...
3 years, 7 months ago (2017-05-10 19:06:18 UTC) #8
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/2861393004/80001
3 years, 7 months ago (2017-05-10 22:05:51 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/450963)
3 years, 7 months ago (2017-05-11 00:14:27 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/2861393004/100001
3 years, 7 months ago (2017-05-11 00:38:40 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/451223)
3 years, 7 months ago (2017-05-11 04:01:09 UTC) #18
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/2861393004/100001
3 years, 7 months ago (2017-05-11 16:26:59 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/451918)
3 years, 7 months ago (2017-05-11 18:05:36 UTC) #22
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/2861393004/100001
3 years, 7 months ago (2017-05-11 19:47:20 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 22:41:28 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/3431436da14fb7b435d830f85522...

Powered by Google App Engine
This is Rietveld 408576698