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

Issue 2236733002: DevTools: Override browser commit hash with process.env.CHROMIUM_COMMIT (Closed)

Created:
4 years, 4 months ago by chenwilliam
Modified:
4 years, 4 months ago
Reviewers:
paulirish, lushnikov
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Override browser commit hash with process.env.CHROMIUM_COMMIT This is a simple solution for hosted mode users who want to override which version of the proxied files (SupportedCSSProperties.js and InspectorBackendCommands.js) they want to use, instead of relying on the default which gets the commit hash of the browser/back-end. Example: CHROMIUM_COMMIT=813208daf9e9821657e55ef7c40a14815efdcf49 npm run server Will update docs after this lands. Added a comment to the bug issue for more context on why we used this approach. BUG=635136 Committed: https://crrev.com/846251ff8e503e1a90ce93a5119d32010e8c872f Cr-Commit-Position: refs/heads/master@{#411721}

Patch Set 1 #

Total comments: 1

Patch Set 2 : added helpful info #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js View 1 4 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
chenwilliam
https://codereview.chromium.org/2236733002/diff/1/third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js File third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js (left): https://codereview.chromium.org/2236733002/diff/1/third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js#oldcode45 third_party/WebKit/Source/devtools/scripts/hosted_mode/server.js:45: sendResponse(403, "`403 - Access denied. File requested is outside ...
4 years, 4 months ago (2016-08-10 22:04:56 UTC) #3
lushnikov
lgtm let's add a "--help" to the script which would describe it's api
4 years, 4 months ago (2016-08-10 23:29:11 UTC) #4
chenwilliam
On 2016/08/10 23:29:11, lushnikov wrote: > lgtm > > let's add a "--help" to the ...
4 years, 4 months ago (2016-08-12 17:31:35 UTC) #5
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/2236733002/20001
4 years, 4 months ago (2016-08-12 17:32:07 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-12 18:47:31 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/846251ff8e503e1a90ce93a5119d32010e8c872f Cr-Commit-Position: refs/heads/master@{#411721}
4 years, 4 months ago (2016-08-12 18:49:35 UTC) #12
chenwilliam
4 years, 4 months ago (2016-08-12 19:08:09 UTC) #13
Message was sent while issue was closed.
On 2016/08/12 18:49:35, commit-bot: I haz the power wrote:
> Patchset 2 (id:??) landed as
> https://crrev.com/846251ff8e503e1a90ce93a5119d32010e8c872f
> Cr-Commit-Position: refs/heads/master@{#411721}

Updated docs (bit.ly/devtools-contribution-guide) using suggestions.
Paul, ptal.

Powered by Google App Engine
This is Rietveld 408576698