Closed Bug 1795927 Opened 3 years ago Closed 3 years ago

New SitePerms add-ons surfaces previously-silent WebMIDI fingerprinting by sites

Categories

(Toolkit :: Add-ons Manager, task)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: willdurand, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

On Nightly (Bug 1790620), users might get prompted when navigator.requestMIDIAccess() is used, with or without sysex: true (contrary to Chrome), and for various purposes (not just to interact with MIDI controllers for instance...). For example: https://twitter.com/jonrandy/status/1582217349704187904

This is the expected behavior at the moment but let's see if we should change this behavior or not.

Note: if the user chooses "Never allow" from the install flow dialog related to the third party install dialog, then further calls to navigator.requestMIDIAccess will not prompt the user anymore, and there is a visual feedback of that being the case.

Summary: New SitePerms add-ons provider notifies users when `requestMIDIAccess()` is used → New SitePerms add-ons surfaces previously-silent WebMIDI fingerprinting by sites

And to be clear here: silently allowing enumeration of connected MIDI devices (and non-sysEx access to those peripherals) without user consent is not something we'd consider. It's pretty bananas that Chrome allows this this.

Blocks: 1796505

This is adding a very simple, in-tree, domain blocklist that is being looked up during the
Site Permissions addon install workflow.
The blocklist is pretty broad at the moment, as it would prevent a given domain to install
any of the gated permission.
We can re-evaluate this behavior in the future when we introduce new gated permissions.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/805e15f2b0b8 Add SitePermsAddon blocklist. r=willdurand.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: