leaktestbrowser

Entry 11 of 17

Media inventory — counted before you are asked

`enumerateDevices()` withholds device labels and identifiers until you grant camera or microphone access, but it does not withhold the number of devices or their kinds. That triple — audio inputs, audio outputs, video inputs — describes your desk, arrives with no prompt, and is stable enough across sessions to help link them.

What does a page learn before you grant camera access?

`enumerateDevices()` withholds labels until you grant access. It does not withhold the count, and the count is the part that describes your desk.

Before a grant, the entries an engine returns carry empty labels and empty device identifiers. What remains is the number of entries and their kinds — how many audio inputs, how many audio outputs, how many video inputs.

That triple is a description of a physical setup. One camera, one microphone and one speaker is a laptop. Zero cameras with three audio outputs is a desktop with an interface box. Zero of everything is a virtual machine or a hardened build. None of these narrows to a person, and all of them narrow the population.

The count is also stable across sessions in a way most software signals are not: you plug a headset in and it changes, then it stays changed. That stability is what makes it useful for linking sessions.

What a device count describes

  • The number of audio inputs, audio outputs and video inputs attached to the machine.
  • By implication, a class of machine — laptop, desktop with peripherals, virtual machine.
  • A value stable enough across sessions to help link them.

Does a VPN hide my device inventory?

Nothing here travels, so nothing here is tunnelled. The inventory is assembled by the engine from the operating system's device list and handed to the page directly.

The property that makes this row matter is stability rather than rarity. Software signals change with updates; a headset stays plugged in. A count that persists across sessions and across addresses is exactly the kind of value that helps a site decide two visits were the same person, and it does that regardless of which exit each visit came from.

It is also the rare vector whose configuration surface is physical. Unplugging a device changes the answer, which is a mitigation no setting can offer.

How much each engine reveals before a grant

Engine What it does today
Chromium Returns one entry per device before a grant, with blank labels and blank identifiers, so the full count is visible without permission.
Firefox Limits what is enumerable before a grant and, with Resist Fingerprinting active, reports a normalised minimal set.
Safari Reports a reduced pre-grant view, typically a single default entry per kind, which removes most of the count signal.
Tor Browser Enumeration is restricted under Resist Fingerprinting, so this row commonly reports clear rather than a count.

How to reduce what your device list says

Unplug what you are not using. This is the rare vector where the physical world is the configuration surface.

A build that normalises the pre-grant view removes the vector at the cost of every site's device picker showing you less than you have.

An engine-level profile can report a fixed inventory, which must then match the rest of the profile's story about what kind of machine it is.

What the mitigation costs

Normalising the inventory breaks device pickers: video call sites will offer you a default device rather than the one you want, and troubleshooting a headset becomes guesswork.

How to see your own pre-grant device list

Nothing below depends on this site. These are the checks that produce the same answer in any browser, so the row above can be argued with rather than believed.

  1. In a console, await navigator.mediaDevices.enumerateDevices(). Before a grant, the entries carry empty labels and empty device identifiers — and a full count.
  2. Group the result by kind. audioinput, audiooutput and videoinput are the three that describe the machine; the triple is the signal, not any single number.
  3. Plug in a headset and run it again. The change is immediate and it persists, which is what makes the value useful for linking sessions.
  4. Compare across engines. A build that reports one default entry per kind before a grant is normalising, and the difference between that and a full list is the mitigation this row is about.

Device enumeration questions

Asked often enough about this vector to be worth answering on the entry itself.

Can a website see my webcam before I give permission?
It cannot see through it, and on most builds it cannot read its label or identifier either. It can usually see that one exists, and how many audio inputs and outputs sit beside it, which is enough to describe the class of machine you are sitting at.
What does my device count tell a site about me?
One camera, one microphone and one speaker reads as a laptop. Zero cameras with several audio outputs reads as a desktop with an interface box. Zero of everything reads as a virtual machine or a hardened build. None of these identifies a person; all of them narrow the population.
Does Firefox hide my device list?
Firefox limits what is enumerable before a grant and, with Resist Fingerprinting active, reports a normalised minimal set. Safari reports a reduced pre-grant view as well. That removes most of the count signal at the cost of every site's device picker showing you less than you have.
How do I stop sites from counting my devices?
Unplug what you are not using, or run a build that normalises the pre-grant view. Both are real, and the second one breaks device pickers, which turns choosing a microphone into guesswork on the sites that need it.

Entry 11 · schedule edition 1.1.0, effective 2026-10-13, supersedes none. Per-engine notes reviewed 2026-08-12 against documentation for Chromium 141, Firefox 145, Safari 19.2, Tor Browser 14.5; they are compiled from vendor documentation rather than produced by a test run here.

Read this row on your own form.

Entry 11 appears on the declaration as Media inventory. The form reports this row as a finding, as unread, or as nothing taken, never as a tick.

Complete the declaration · Mitigations ranked by cost · How a finding is produced

Close it before a page can read it.

A stable inventory is a linking key, and a linking key survives every address change you make. Donut Browser's answer is separation: a profile is a whole browsing identity with its own storage, its own proxy and its own fingerprint, ephemeral where a session should leave nothing behind, and the launch gate refuses to start one whose proxy contradicts it. AGPL-3.0, open source, and every release is built from that public source.

Stated because the repository proves it. This site has run no detection benchmark against any vendor and publishes none.