Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1528042] Limit enumerateDevices() fingerprinting vector ahead of (and after) getUserMedia success, to spec. #40263

Merged
merged 5 commits into from
May 27, 2023

Conversation

moz-wptsync-bot
Copy link
Collaborator

Updates enumerateDevices() to limit exposure of privacy sensitive
information ahead of actual camera or microphone use.

It also implements the "creating a device info object" algorithm correctly
after getUserMedia success, which only exposes information on cameras or
microphones (but not both) if only one or the other kind has successfully
been used.

Includes the latest privacy improvements to the spec:

This also fixes media.navigator.permission.disabled leaking labels.

Differential Revision: https://phabricator.services.mozilla.com/D100378

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1528042
gecko-commit: 55c6b85b37c1fb8d6d0b6a273e237b4921672743
gecko-reviewers: karlt

…etUserMedia success, to spec.

Updates enumerateDevices() to limit exposure of privacy sensitive
information ahead of actual camera or microphone use.

It also implements the "creating a device info object" algorithm correctly
after getUserMedia success, which only exposes information on cameras or
microphones (but not both) if only one or the other kind has successfully
been used.

Includes the latest privacy improvements to the spec:
- w3c/mediacapture-main#632
- w3c/mediacapture-main#641
- w3c/mediacapture-main#773

This also fixes media.navigator.permission.disabled leaking labels.

Differential Revision: https://phabricator.services.mozilla.com/D100378

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1528042
gecko-commit: 55c6b85b37c1fb8d6d0b6a273e237b4921672743
gecko-reviewers: karlt
For now legacy is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D154139

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1528042
gecko-commit: b47fdabb6f8659aa7671ee9c9b83668bfe307914
gecko-reviewers: karlt
…ontinue to test full device information exposure in enumerateDevices().

This is required by spec. See
w3c/mediacapture-main#641 and
w3c/mediacapture-main#773 for details.

Also fixes test_enumerateDevices_getUserMediaFake.html to run on macOS outside automation.

Differential Revision: https://phabricator.services.mozilla.com/D154302

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1528042
gecko-commit: 173f133fb868ce50a9feec4e26496be7f7aeae11
gecko-reviewers: karlt
Differential Revision: https://phabricator.services.mozilla.com/D155430

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1528042
gecko-commit: 6c8c76da9ab72b9901733e6475496c83fea9988c
gecko-reviewers: karlt
…posed for that kind per w3c/mediacapture-main#900.

Differential Revision: https://phabricator.services.mozilla.com/D176925

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1528042
gecko-commit: 364f837033b89f56f75b4ec40d839fcdbd1693d8
gecko-reviewers: karlt
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit 5e89eb0 into master May 27, 2023
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1528042 branch May 27, 2023 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants