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

Issue 2474563002: DevTools: isolate settings of custom devtoools front-end. (Closed)

Created:
4 years, 1 month 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: isolate settings of custom devtoools front-end. Currently, changing a setting inside custom devtools front-end (the one served through chrome-devtools://devtools/custom) will change the same setting inside bundled devtools. This is unfortunate. In the setup we aim for, the custom devtools are inspected by the bundled devtools, and we want them to be independent of each other. This patch starts using local storage for the settings of the chrome-devtools://devtools/custom front-end. Note: settings will be isolated, whereas experiments won't. BUG=629914 R=dgozman Committed: https://crrev.com/16056dbccd68723d61feaf6e9a9518a300485c2c Cr-Commit-Position: refs/heads/master@{#429414}

Patch Set 1 #

Total comments: 2

Patch Set 2 : DevTools: custom devtools front-end should not share settings #

Total comments: 2

Patch Set 3 : bind #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 2 chunks +15 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
lushnikov
please, take a look
4 years, 1 month ago (2016-11-02 04:01:05 UTC) #1
dgozman
https://codereview.chromium.org/2474563002/diff/1/third_party/WebKit/Source/devtools/front_end/main/Main.js File third_party/WebKit/Source/devtools/front_end/main/Main.js (right): https://codereview.chromium.org/2474563002/diff/1/third_party/WebKit/Source/devtools/front_end/main/Main.js#newcode65 third_party/WebKit/Source/devtools/front_end/main/Main.js:65: * @return {boolean} I'd suggest to return InspectorFrontendHostAPI from ...
4 years, 1 month ago (2016-11-02 17:31:57 UTC) #6
lushnikov
how would you like the new approach? https://codereview.chromium.org/2474563002/diff/1/third_party/WebKit/Source/devtools/front_end/main/Main.js File third_party/WebKit/Source/devtools/front_end/main/Main.js (right): https://codereview.chromium.org/2474563002/diff/1/third_party/WebKit/Source/devtools/front_end/main/Main.js#newcode65 third_party/WebKit/Source/devtools/front_end/main/Main.js:65: * @return ...
4 years, 1 month ago (2016-11-02 18:49:00 UTC) #7
dgozman
lgtm https://codereview.chromium.org/2474563002/diff/20001/third_party/WebKit/Source/devtools/front_end/main/Main.js File third_party/WebKit/Source/devtools/front_end/main/Main.js (right): https://codereview.chromium.org/2474563002/diff/20001/third_party/WebKit/Source/devtools/front_end/main/Main.js#newcode89 third_party/WebKit/Source/devtools/front_end/main/Main.js:89: prefs, preferencesProvider.setPreference, preferencesProvider.removePreference, Don't you have to bind ...
4 years, 1 month ago (2016-11-02 19:47:58 UTC) #10
lushnikov
https://codereview.chromium.org/2474563002/diff/20001/third_party/WebKit/Source/devtools/front_end/main/Main.js File third_party/WebKit/Source/devtools/front_end/main/Main.js (right): https://codereview.chromium.org/2474563002/diff/20001/third_party/WebKit/Source/devtools/front_end/main/Main.js#newcode89 third_party/WebKit/Source/devtools/front_end/main/Main.js:89: prefs, preferencesProvider.setPreference, preferencesProvider.removePreference, On 2016/11/02 19:47:58, dgozman wrote: > ...
4 years, 1 month ago (2016-11-02 20:01:00 UTC) #11
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/2474563002/40001
4 years, 1 month ago (2016-11-02 20:02:19 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-02 21:57:13 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/16056dbccd68723d61feaf6e9a9518a300485c2c Cr-Commit-Position: refs/heads/master@{#429414}
4 years, 1 month ago (2016-11-02 21:59:19 UTC) #17
lushnikov
4 years, 1 month ago (2016-11-08 23:52:20 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2483333003/ by lushnikov@chromium.org.

The reason for reverting is: Reverting this patchset since it doesn't fully
address problem. LocalStorage settings still clash..

Powered by Google App Engine
This is Rietveld 408576698