If you pass --disable-features to Chrome more than once, only the last one counts. Chromium keeps a single value per switch, so a second --disable-features=X does not add X to the list: it replaces the list. We knew that, wrote it in a comment, and still shipped a launcher where one extra flag from the operator silently switched back on every feature Mosaic turns off.

The comment that named the hazard

Mosaic builds its launch arguments in one function, and that function sends one --disable-features= carrying everything we turn off: IsolateOrigins, site-per-process, Translate, OptimizationHints, MediaRouter, DialMediaRouteProvider, AutofillServerCommunication, and both password-manager services. Directly above it sat a comment: "Chromium honours only the LAST --disable-features it is given, so every feature we want off has to travel in one switch."

The comment was correct. The bug was in a different file.

A profile can carry extra launch arguments of its own, the extraArgs field, set in the profile editor, the REST API or MCP. The launcher pushed those after ours. So a profile with --disable-features=NetworkPrediction in its extra arguments launched with two --disable-features switches, Chromium kept the second, and the whole Mosaic list was gone. The browser started normally. The profile looked configured. Nothing said a word.

Mosaic's API page with a Playwright example that starts a profile and attaches to it
Profiles started from a script use the same launcher

The fingerprint is changed inside the engine, not painted on topIn Mosaic: Fingerprints set inside the browser. Tesseract Chrome: values set inside, not by a script. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

How it works: Fingerprints set inside the browser

How we found it

Not from a symptom. We were reading another tool's automation setup for a feature request, and its flag set included --disable-features=NetworkPrediction. Adding that one flag to a profile would have quietly undone a list we depend on. We had made the same mistake once before with --blink-settings, a different switch with the same last-wins behaviour, and the earlier lesson had been written as a note about that one switch rather than about the mechanism.

Multiple --disable-features flags, and the switches like it

Most Chromium switches are last-wins, and for most of them that is what you want. If an operator passes --window-position, they mean to override ours, and they should.

Four are different, because their value is a comma-separated set, and a second occurrence deletes members rather than overriding a setting:

  • --disable-features
  • --enable-features
  • --enable-blink-features
  • --disable-blink-features

For these, "the last one wins" almost never matches what the person typing the second flag meant. They meant "also this".

What the launcher does now

The four set-valued switches are merged instead of appended. The operator's values are folded into ours: ours first, duplicates removed, order kept stable. A feature we turn off stays off even if the operator names it again, and two launches of the same profile produce the same command line, because a flag order that varies between launches is a difference a careful observer could notice.

Everything outside those four still passes through as last-wins, on purpose. And the merge is not silent: the profile's browser log gets a line saying the operator's --disable-features was merged into Mosaic's own rather than replacing it.

One guard sits after the merge. A few flags keep the browser away from the macOS login keychain, which would otherwise raise a system prompt. Those are re-applied last, after the operator's arguments, so no extra argument can turn that prompt back on.

Two checks, both seen to fail

check:merged-switches runs the real fault. With the old append restored, it counts the --disable-features switches leaving the process and reports got 2 / want 1. With the merge in place it reports one.

The change also tripped a second check, check:keychain, which had asserted the literal source line that pushed the extra arguments. That assertion was standing for two facts at once. It is now two assertions: the merge takes the filtered list, and the keychain flags go on last. Re-ordering them makes it fail, which we checked rather than assumed.

If you launch Chrome yourself

A Puppeteer or Playwright script that adds its own --disable-features beside a default list has the same fault, and so does a shell alias that someone extended. The fix is the one we made: --disable-features=Translate,MediaRouter,NetworkPrediction as one switch, never three. Where two tools each contribute a list, join the lists before launch.

To see what a running browser actually got, open chrome://version and read the Command Line row. If --disable-features appears twice there, the first one is doing nothing. Then check the feature itself rather than the row, because Chromium accepts an overridden switch, and an unknown one, without a warning or a log line.

That last point is why we measure switches through the browser rather than trusting a command line. One test config that unbranded Chromium switches on, and one flag that turns it off, is in twenty APIs Chrome doesn't have. A flag that changed what a site saw depending on launch order is in a fingerprint that depended on launch order. The flags Mosaic sends to its own engine, and why each value lives inside the engine, are on the engine page.