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

Issue 7005007: Add an alternative way to specify extra chrome flags via env for testing (Closed)

Created:
9 years, 7 months ago by Nirnimesh
Modified:
9 years, 7 months ago
Reviewers:
dtu, Paweł Hajdan Jr.
CC:
chromium-reviews, John Grabowski, kkania, anantha, dyu1
Visibility:
Public.

Description

Add an alternative way to specify extra chrome flags via env for testing This is to work around a problem where passed command line flags (thru pyauto flag --chrome-flags) will not take effect on win. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84939

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M chrome/test/automation/proxy_launcher.cc View 2 chunks +13 lines, -2 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nirnimesh
9 years, 7 months ago (2011-05-10 21:17:55 UTC) #1
dtu
LGTM
9 years, 7 months ago (2011-05-11 00:03:32 UTC) #2
Paweł Hajdan Jr.
Some automation comments (please note you're required to get OWNERS approval for chrome/test changes). It ...
9 years, 7 months ago (2011-05-11 07:07:14 UTC) #3
Nirnimesh
On 2011/05/11 07:07:14, Paweł Hajdan Jr. wrote: > Some automation comments (please note you're required ...
9 years, 7 months ago (2011-05-11 07:12:00 UTC) #4
Paweł Hajdan Jr.
On 2011/05/11 07:12:00, Nirnimesh wrote: > On 2011/05/11 07:07:14, Paweł Hajdan Jr. wrote: > > ...
9 years, 7 months ago (2011-05-11 07:20:21 UTC) #5
Nirnimesh
> Right, but is there now anything that still uses extra-chrome-flags? If any, it > ...
9 years, 7 months ago (2011-05-11 07:27:01 UTC) #6
Paweł Hajdan Jr.
9 years, 7 months ago (2011-05-11 07:50:44 UTC) #7
On 2011/05/11 07:27:01, Nirnimesh wrote:
> > Right, but is there now anything that still uses extra-chrome-flags? If any,
> it
> > seems it would be at most 1-2 places. I think it's generally better to
remove
> > redundant mechanisms for the same thing, for maintainability. It's really a
> > minor issue, I'd just like to keep the ProxyLauncher very clean.
> 
> I know that people use --extra-chrome-flags with the C++ test binaries, while
> debugging something when running it by hand.

It should be equally easy to use EXTRA_CHROME_FLAGS="...", at least on Linux and
Mac. Is it harder to pass env vars on Windows? If there are no major issues, I'd
really like to pick just one way to pass extra switches to Chrome and use that.

Powered by Google App Engine
This is Rietveld 408576698