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

Issue 2349823002: DevTools: Preserve the text when doing a line-by-line diff (Closed)

Created:
4 years, 3 months ago by einbinder
Modified:
4 years, 2 months ago
Reviewers:
lushnikov
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Preserve the text when doing a line-by-line diff This is in preperation of being able to revert changes in the sources panel. BUG=610061 Committed: https://crrev.com/36bc4339122248e74d411a656a6dff4db2b2a790 Cr-Commit-Position: refs/heads/master@{#420554}

Patch Set 1 #

Patch Set 2 : Style #

Patch Set 3 : Add a test #

Total comments: 2

Patch Set 4 : Docs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/inspector/diff-module.html View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/diff-module-expected.txt View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/diff/Diff.js View 1 2 3 3 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
einbinder
ptal
4 years, 3 months ago (2016-09-16 19:28:17 UTC) #2
lushnikov
can we add a simple test to exercise Diff?
4 years, 3 months ago (2016-09-16 20:09:54 UTC) #3
vinodsonkusare77_gmail.com
https://youtu.be/yD6KioQhnAc On Sat, Sep 17, 2016 at 12:58 AM, <einbinder@chromium.org> wrote: > Reviewers: lushnikov > ...
4 years, 3 months ago (2016-09-19 05:04:33 UTC) #4
vinodsonkusare77_gmail.com
https://youtu.be/yD6KioQhnAc On Sat, Sep 17, 2016 at 12:58 AM, <einbinder@chromium.org> wrote: > Reviewers: lushnikov > ...
4 years, 3 months ago (2016-09-19 05:04:33 UTC) #5
einbinder
ptal, Added a test
4 years, 3 months ago (2016-09-21 23:42:22 UTC) #7
lushnikov
lgtm https://codereview.chromium.org/2349823002/diff/40001/third_party/WebKit/Source/devtools/front_end/diff/Diff.js File third_party/WebKit/Source/devtools/front_end/diff/Diff.js (right): https://codereview.chromium.org/2349823002/diff/40001/third_party/WebKit/Source/devtools/front_end/diff/Diff.js#newcode24 third_party/WebKit/Source/devtools/front_end/diff/Diff.js:24: var lineToChar = new Map(); can we annotate ...
4 years, 2 months ago (2016-09-23 00:36:04 UTC) #8
einbinder
https://codereview.chromium.org/2349823002/diff/40001/third_party/WebKit/Source/devtools/front_end/diff/Diff.js File third_party/WebKit/Source/devtools/front_end/diff/Diff.js (right): https://codereview.chromium.org/2349823002/diff/40001/third_party/WebKit/Source/devtools/front_end/diff/Diff.js#newcode24 third_party/WebKit/Source/devtools/front_end/diff/Diff.js:24: var lineToChar = new Map(); On 2016/09/23 at 00:36:04, ...
4 years, 2 months ago (2016-09-23 01:06:35 UTC) #9
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/2349823002/60001
4 years, 2 months ago (2016-09-23 01:07:05 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-23 02:41:30 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-09-23 02:43:21 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/36bc4339122248e74d411a656a6dff4db2b2a790
Cr-Commit-Position: refs/heads/master@{#420554}

Powered by Google App Engine
This is Rietveld 408576698