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

Issue 928593004: Show the 'unsupported flag' message for --{enable,disable}-blink-features. (Closed)

Created:
5 years, 10 months ago by jbroman
Modified:
5 years, 10 months ago
Reviewers:
pdr., sky, eseidel
CC:
chromium-reviews, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show the 'unsupported flag' message for --{enable,disable}-blink-features. This causes Chrome to show a scary infobar when either of these flags is used, in order to discourage their use in production. They are intended for Chromium development only. BUG=454504 Committed: https://crrev.com/446bce0a188c000a4b77e51fbc66af1fd22e0398 Cr-Commit-Position: refs/heads/master@{#317098}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
jbroman
Possible mitigation to discourage enterprises from relying on this flag, without making it less useful ...
5 years, 10 months ago (2015-02-13 22:52:53 UTC) #2
pdr.
On 2015/02/13 at 22:52:53, jbroman wrote: > Possible mitigation to discourage enterprises from relying on ...
5 years, 10 months ago (2015-02-13 22:58:45 UTC) #3
eseidel
Inspired by abarth's long-time objection to this feature. There is some history here, from when ...
5 years, 10 months ago (2015-02-13 23:27:23 UTC) #4
jbroman
+sky for chrome/browser/ui/OWNERS
5 years, 10 months ago (2015-02-17 15:31:15 UTC) #6
sky
LGTM - if these are only for internal development should they be ifdef'd out in ...
5 years, 10 months ago (2015-02-19 15:44:29 UTC) #7
jbroman
On 2015/02/19 15:44:29, sky wrote: > LGTM - if these are only for internal development ...
5 years, 10 months ago (2015-02-19 19:20:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/928593004/1
5 years, 10 months ago (2015-02-19 19:21:36 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-19 19:25:51 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/446bce0a188c000a4b77e51fbc66af1fd22e0398 Cr-Commit-Position: refs/heads/master@{#317098}
5 years, 10 months ago (2015-02-19 19:26:13 UTC) #12
Nico
On 2015/02/19 19:20:41, jbroman wrote: > On 2015/02/19 15:44:29, sky wrote: > > LGTM - ...
5 years, 10 months ago (2015-02-19 21:58:56 UTC) #13
pdr.
5 years, 10 months ago (2015-02-19 22:36:15 UTC) #14
Message was sent while issue was closed.
On 2015/02/19 at 21:58:56, thakis wrote:
> On 2015/02/19 19:20:41, jbroman wrote:
> > On 2015/02/19 15:44:29, sky wrote:
> > > LGTM - if these are only for internal development should they be ifdef'd
out
> > in
> > > official and/or release builds?
> > 
> > Thought about it, but I'm inclined to leave it in those builds. I've used
> > previous for-development flags as a triaging aid (does turning this knob
make
> > the bug go away?), and this infobar ought to be enough to discourage anyone
from
> > relying on it for real-world usage.
> 
> I'm not sure I buy that the infobar will block determined folks from using
this flag.

The infobar is for liability more than preventing usage: we don't want
enterprise customers to depend on in-development features.

> 
> I'm also not sure if this helps with triaging, as the new fancy is disabled by
default, and "do things work if you --enable-new-feature?" probably won't yield
useful data.
> 
> Unless there's reason that actually suggests that this is needed in release
builds, I too think this should be compiled out in branded builds.

This change doesn't affect what's compiled in the binary, just what's exposed to
the command line. This change will reduce the plumbing needed for many
intent-to-implement features which reduces friction. I am less worried about an
infobar'd runtime enabled feature flag than I am our sticky infobar-less
about://flags settings.

Powered by Google App Engine
This is Rietveld 408576698