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

Issue 2784733002: DevTools: prepare tests for Persistence2.0 release (Closed)

Created:
3 years, 8 months ago by lushnikov
Modified:
3 years, 8 months 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/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: prepare tests for Persistence2.0 release We have a bunch of tests which rely on DefaultMapping to test Persistence layer. However, they don't test the DefaultMapping behavior - instead, they want to test the Persistence layer and everyone who depends on it. This patch: - adds a simple TestMapping which controllably adds and removes persistence bindings - moves majority of the tests over to TestMapping - removes a few tests which were testing themselves This is a pre-step to enable Persistence2.0. BUG=277885 R=dgozman Review-Url: https://codereview.chromium.org/2784733002 Cr-Commit-Position: refs/heads/master@{#460466} Committed: https://chromium.googlesource.com/chromium/src/+/6b74f6642be4ca9d5af4de7dcc56ea58c3f62e53

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments + three special tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -256 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html View 1 chunk +42 lines, -83 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url-expected.txt View 2 chunks +0 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load.html View 1 chunk +0 lines, -64 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/update-locations-on-filesystem-scss-load-expected.txt View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/file-system-project-mapping.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sourcemap.html View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sourcemap-nameclash.html View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-bind-dirty-sourcecode.html View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-overwrite-css.html View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-merge-editor-tabs.html View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints.html View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints-on-reload.html View 3 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-navigator.html View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-rename-mapped-file.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-search-across-all-files.html View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sourceframe-messages.html View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-switch-editor-tab.html View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content.html View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-keeps-selected-tab.html View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-opens-filesystem-uisourcecode.html View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-tabbed-editor-tabs-order.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js View 1 1 chunk +62 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-live-edit.html View 1 chunk +0 lines, -65 lines 0 comments Download
D third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-live-edit-expected.txt View 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/persistence/Automapping.js View 2 chunks +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/persistence/DefaultMapping.js View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/persistence/Persistence.js View 1 chunk +8 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (16 generated)
lushnikov
please, take a look
3 years, 8 months ago (2017-03-28 22:42:10 UTC) #1
dgozman
lgtm https://codereview.chromium.org/2784733002/diff/1/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js (right): https://codereview.chromium.org/2784733002/diff/1/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js#newcode68 third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js:68: throw new Error(`FAILED TO ADD BINDING: binding already ...
3 years, 8 months ago (2017-03-28 22:51:20 UTC) #5
lushnikov
All done. Also, fixed the last three tests which hardly require DefaultMapping. Please, take another ...
3 years, 8 months ago (2017-03-28 23:11:28 UTC) #6
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/2784733002/20001
3 years, 8 months ago (2017-03-28 23:23:09 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago (2017-03-29 01:19:55 UTC) #14
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/2784733002/20001
3 years, 8 months ago (2017-03-29 01:26:30 UTC) #16
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/410366)
3 years, 8 months ago (2017-03-29 03:06:21 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/2784733002/20001
3 years, 8 months ago (2017-03-29 04:07:10 UTC) #20
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/410456)
3 years, 8 months ago (2017-03-29 07:40:23 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/2784733002/20001
3 years, 8 months ago (2017-03-29 16:41:05 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 18:36:33 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6b74f6642be4ca9d5af4de7dcc56...

Powered by Google App Engine
This is Rietveld 408576698