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

Issue 2418813005: DevTools: [Persistence] implement automapping (Closed)

Created:
4 years, 2 months ago by lushnikov
Modified:
4 years, 1 month ago
Reviewers:
dgozman
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: [Persistence] implement automapping This patch implements automapping algorithm, as described in https://goo.gl/7o1CRr TL;DR: automapping algorithm relies on file names and metadatas to associate resources with filesystem files. BUG=642583 Committed: https://crrev.com/ab5d9e70e6f119e47b9fd0c6bac2ccc33d19b22d Cr-Commit-Position: refs/heads/master@{#427419}

Patch Set 1 #

Patch Set 2 : do not rely on IsolatedFileSystemManager altogether #

Patch Set 3 : add basic test #

Patch Set 4 : simplify code #

Patch Set 5 : eliminate dead code #

Patch Set 6 : more tests! #

Patch Set 7 : add tests #

Patch Set 8 : fix test #

Patch Set 9 : update UI #

Total comments: 16

Patch Set 10 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+987 lines, -12 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/isolated-filesystem-test.js View 1 2 3 4 5 2 chunks +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-dynamic-uisourcecodes.html View 1 2 3 4 5 6 1 chunk +69 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-dynamic-uisourcecodes-expected.txt View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-git-folders.html View 1 2 3 4 5 6 7 1 chunk +60 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-git-folders-expected.txt View 1 2 3 4 5 6 7 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html View 1 2 3 4 5 6 7 8 9 1 chunk +86 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sourcemap.html View 1 2 3 4 5 6 1 chunk +62 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sourcemap-expected.txt View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-test.js View 1 2 3 4 5 6 7 1 chunk +114 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-rename-mapped-file-expected.txt View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-opens-network-uisourcecode-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/resources/s.css View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/inspector/persistence/resources/s.scss View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/persistence/resources/s.css.map View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js View 1 2 3 4 5 6 7 8 9 1 chunk +410 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/persistence/DefaultMapping.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/persistence/module.json View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/platform/utilities.js View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/settings/EditFileSystemView.js View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/settings/editFileSystemView.css View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
lushnikov
please, take a look
4 years, 1 month ago (2016-10-24 22:25:56 UTC) #2
lushnikov
In UI, showed the stub in the "Mappings" section of workspace, and hid the context ...
4 years, 1 month ago (2016-10-24 23:55:52 UTC) #8
lushnikov
imgur is down; uploaded to crbug
4 years, 1 month ago (2016-10-25 00:53:57 UTC) #11
dgozman
https://codereview.chromium.org/2418813005/diff/160001/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html File third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html (right): https://codereview.chromium.org/2418813005/diff/160001/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html#newcode53 third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html:53: InspectorTest.addFiles(fs, { Let's have two different resources mapped with ...
4 years, 1 month ago (2016-10-25 01:51:48 UTC) #12
lushnikov
please, take another look https://codereview.chromium.org/2418813005/diff/160001/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html File third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html (right): https://codereview.chromium.org/2418813005/diff/160001/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html#newcode53 third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sane.html:53: InspectorTest.addFiles(fs, { On 2016/10/25 01:51:47, ...
4 years, 1 month ago (2016-10-25 03:32:41 UTC) #15
dgozman
lgtm
4 years, 1 month ago (2016-10-25 18:25:03 UTC) #20
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/2418813005/180001
4 years, 1 month ago (2016-10-25 18:27:41 UTC) #22
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 1 month ago (2016-10-25 18:34:24 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 18:38:34 UTC) #26
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/ab5d9e70e6f119e47b9fd0c6bac2ccc33d19b22d
Cr-Commit-Position: refs/heads/master@{#427419}

Powered by Google App Engine
This is Rietveld 408576698