[Mac] Chrome Mac receives Windows kTryChromeAgain command line flag |
|||
Issue descriptionChrome Version: 63.0.3239.40 OS: 10.12 This UMA histogram shows that Chrome Mac receives the kTryChromeAgain command line flag: https://uma.googleplex.com/p/chrome/histograms/?endDate=20171111&dayCount=1&histograms=Launch.Modes&fixupData=true&showMax=true&filters=platform%2Ceq%2CM%2Cchannel%2Ceq%2C3%2Cisofficial%2Ceq%2CTrue&implicitFilters=isofficial This flag corresponds to a Windows-only experiment - Chrome Mac should not receive it. This creates problems for accurate LM_ bucket counts (such as LM_MAC_DOCKED_DISK_LAUNCH vs. LM_MAC_UNDOCKED_DISK_LAUNCH). ShouldRecordActiveUse() in active_use_util.cc returns kTryChromeAgain, and it's called from code in chrome_browser_main.cc that's wrapped in a #if !defined(OS_ANDROID) block - this appears to be the source of the kTryChromeAgain flag.
,
Nov 14 2017
Oh, on second thought, the problem is that I inadvertently changed the meaning of bucket 9 in r475846. :-( If you filter on Milestone >= 62 you'll find that there are 0 in the LM_UER_EXPERIMENT bucket on Mac. Apologies for the goof-up.
,
Nov 14 2017
I'll still land the harmonization CL since it's technically the right thing. As for analyzing the new LM_MAC_* values, those landed in M63, I believe, so you won't lose any data by filtering out data from M61 and lower.
,
Nov 14 2017
grt@ - Apologies for my analysis in the report. Maybe not enough coffee. I'm not sure how I misread it so badly. Thank you for digging into the issue.
,
Nov 14 2017
No worries!
,
Nov 15 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/df00c4b0995a77054a8d786c394a6cf6f9f3df80 commit df00c4b0995a77054a8d786c394a6cf6f9f3df80 Author: Greg Thompson <grt@chromium.org> Date: Wed Nov 15 19:52:34 2017 Ignore --try-chrome-again when no argument is given. The browser startup codepaths that interpret it all require that it have a value. This change applies the same policy to the other two places that check for the switch on the command line. BUG= 784447 Change-Id: I62702cbd377ca95f15e56d3f64f3f13533f15abd Reviewed-on: https://chromium-review.googlesource.com/768725 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#516795} [modify] https://crrev.com/df00c4b0995a77054a8d786c394a6cf6f9f3df80/chrome/browser/active_use_util.cc [modify] https://crrev.com/df00c4b0995a77054a8d786c394a6cf6f9f3df80/chrome/browser/active_use_util_unittest.cc [modify] https://crrev.com/df00c4b0995a77054a8d786c394a6cf6f9f3df80/chrome/browser/ui/startup/startup_browser_creator_impl.cc
,
Nov 16 2017
Marking as "fixed" in the sense that there's not much more to do here. Cheers. |
|||
►
Sign in to add a comment |
|||
Comment 1 by grt@chromium.org
, Nov 14 2017