Disable randomized experiments?

784 views
Skip to first unread message

John Williams

unread,
Sep 18, 2018, 5:45:01 PM9/18/18
to Chromium-dev
Is there a flag to run Chrome such that experimental features that are enabled for a certain percentage of profiles are always disabled? I had trouble reproducing this issue, but when I created a new profile, I saw the behavior that was originally described, and one of my teammates thinks the difference is that the first profile I used was opted into an experiment that interacts with the bug I was trying to reproduce.

Alexei Svitkine

unread,
Sep 18, 2018, 6:27:58 PM9/18/18
to John Williams, Chromium-dev
(Re-sending from right email this time.)

On Tue, Sep 18, 2018, 6:25 PM Alexei Svitkine <asvi...@google.com> wrote:
If you start Chrome with a clean user dir, experiments from the server won't apply. So that's the easiest way to test the hypothesis.

(Experiments will apply the next launch since the configs would have been downloaded and persisted to local state for next start up.)

On Tue, Sep 18, 2018, 5:44 PM 'John Williams' via Chromium-dev <chromi...@chromium.org> wrote:
Is there a flag to run Chrome such that experimental features that are enabled for a certain percentage of profiles are always disabled? I had trouble reproducing this issue, but when I created a new profile, I saw the behavior that was originally described, and one of my teammates thinks the difference is that the first profile I used was opted into an experiment that interacts with the bug I was trying to reproduce.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CALaH6DvWsv9nCpxgYGK_9RyJOo67rap%3Dq9B0uDzMrEmLju8mRA%40mail.gmail.com.

Primiano Tucci

unread,
Sep 18, 2018, 6:40:47 PM9/18/18
to asvi...@chromium.org, John Williams, Chromium-dev
Also, --no-experiments should achieve that without requiring a new profile IIRC

Alexei Svitkine

unread,
Sep 18, 2018, 6:45:33 PM9/18/18
to Primiano Tucci, John Williams, Chromium-dev
I think that flag only affects about:flags settings that users may have toggled.

PhistucK

unread,
Sep 18, 2018, 7:07:38 PM9/18/18
to John Williams, Chromium-dev
While I believe you cannot disable field trials altogether, you can at least identify them by going to chrome://net-internals/#capture and clicking on "Stop". The "Active Field Trial Groups" shows their names.
Then, I believe you can disable them one by one (or create a script that takes the names and creates a command line disabling all of them) using some command flag.
(Of course, in case it does not list all of the available (not necessarily enabled) field trials, then some field trial may be added the next time you launch Chrome. Wash, rinse, repeat)

PhistucK


On Wed, Sep 19, 2018 at 12:44 AM 'John Williams' via Chromium-dev <chromi...@chromium.org> wrote:
Is there a flag to run Chrome such that experimental features that are enabled for a certain percentage of profiles are always disabled? I had trouble reproducing this issue, but when I created a new profile, I saw the behavior that was originally described, and one of my teammates thinks the difference is that the first profile I used was opted into an experiment that interacts with the bug I was trying to reproduce.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
Reply all
Reply to author
Forward
0 new messages