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

Issue 2458033003: DevTools: introduce --custom-devtools-frontend flag. (Closed)

Created:
4 years, 1 month ago by lushnikov
Modified:
4 years, 1 month ago
Reviewers:
dgozman, pfeldman
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: introduce --custom-devtools-frontend flag. This patch introduces the --custom-devtools-frontend flag with a value of an HTTP endpoint which should serve devtools front-end. With this flag, the custom front-end will be available under the chrome-devtools://devtools/custom/inspector.html. This front-end will get devtools bindings, which basically means it's a full-featured hosted mode. Example use: chrome --custom-devtools-frontend=http://localhost:8090/front_end In order to make a use of the new flag, the remote debugging front-end page can point to the custom devtools url. In order to do so, it should be provided a special hash value: localhost:9222#custom=true&experiments=true BUG=629914 R=pfeldman, dgozman Committed: https://crrev.com/359abf8463487cc61c260b34053a14022185f7f9 Cr-Commit-Position: refs/heads/master@{#429064}

Patch Set 1 #

Patch Set 2 : do not kill hosted mode #

Patch Set 3 : propogate devtools experiments query parameter #

Total comments: 6

Patch Set 4 : do not mess with remote-debugging-server #

Patch Set 5 : rename flag #

Total comments: 8

Patch Set 6 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -15 lines) Patch
M chrome/browser/devtools/frontend/devtools_discovery_page.html View 1 2 3 4 5 5 chunks +73 lines, -15 lines 0 comments Download
M chrome/browser/ui/webui/devtools_ui.cc View 1 2 3 4 5 chunks +46 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (21 generated)
lushnikov
please, take a look
4 years, 1 month ago (2016-10-29 00:25:44 UTC) #2
dgozman
Could you please recap the benefits of this approach? https://codereview.chromium.org/2458033003/diff/40001/chrome/browser/devtools/frontend/devtools_discovery_page.html File chrome/browser/devtools/frontend/devtools_discovery_page.html (right): https://codereview.chromium.org/2458033003/diff/40001/chrome/browser/devtools/frontend/devtools_discovery_page.html#newcode122 chrome/browser/devtools/frontend/devtools_discovery_page.html:122: ...
4 years, 1 month ago (2016-10-30 03:14:47 UTC) #11
lushnikov
https://codereview.chromium.org/2458033003/diff/40001/chrome/browser/devtools/frontend/devtools_discovery_page.html File chrome/browser/devtools/frontend/devtools_discovery_page.html (right): https://codereview.chromium.org/2458033003/diff/40001/chrome/browser/devtools/frontend/devtools_discovery_page.html#newcode122 chrome/browser/devtools/frontend/devtools_discovery_page.html:122: fetch("/json/new?" + url); On 2016/10/30 03:14:46, dgozman wrote: > ...
4 years, 1 month ago (2016-10-31 22:47:26 UTC) #13
dgozman
lgtm https://codereview.chromium.org/2458033003/diff/80001/chrome/browser/devtools/frontend/devtools_discovery_page.html File chrome/browser/devtools/frontend/devtools_discovery_page.html (right): https://codereview.chromium.org/2458033003/diff/80001/chrome/browser/devtools/frontend/devtools_discovery_page.html#newcode143 chrome/browser/devtools/frontend/devtools_discovery_page.html:143: fetch("/json/new?" + anchor.href); Just do a preselected copy-paste. ...
4 years, 1 month ago (2016-10-31 23:11:32 UTC) #14
lushnikov
https://codereview.chromium.org/2458033003/diff/80001/chrome/browser/devtools/frontend/devtools_discovery_page.html File chrome/browser/devtools/frontend/devtools_discovery_page.html (right): https://codereview.chromium.org/2458033003/diff/80001/chrome/browser/devtools/frontend/devtools_discovery_page.html#newcode143 chrome/browser/devtools/frontend/devtools_discovery_page.html:143: fetch("/json/new?" + anchor.href); On 2016/10/31 23:11:32, dgozman wrote: > ...
4 years, 1 month ago (2016-11-01 00:19:40 UTC) #16
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/2458033003/100001
4 years, 1 month ago (2016-11-01 17:57:22 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/294209)
4 years, 1 month ago (2016-11-01 18:04:27 UTC) #25
pfeldman
lgtm
4 years, 1 month ago (2016-11-01 18:40:31 UTC) #26
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/2458033003/100001
4 years, 1 month ago (2016-11-01 18:49:03 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-01 18:58:58 UTC) #30
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 19:29:05 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/359abf8463487cc61c260b34053a14022185f7f9
Cr-Commit-Position: refs/heads/master@{#429064}

Powered by Google App Engine
This is Rietveld 408576698