Closed Bug 1548087 Opened 5 years ago Closed 5 years ago

Feature policy should limit what info enumerateDevices() reveals in iframes.

Categories

(Core :: WebRTC: Audio/Video, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: jib, Assigned: tnguyen)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Revealing information on cameras and microphones that cannot be used in getUserMedia make no sense.

The spec says the same. See https://github.com/w3c/mediacapture-main/issues/549

Blocks: 1572461
Assignee: nobody → tnguyen
Pushed by tnguyen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/044e224f7011
Move IsActivelyCapturingOrHasAPermission out of devices iteration. r=jib
https://hg.mozilla.org/integration/autoland/rev/6f9782261d63
enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/18873 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream PR was closed without merging
Flags: needinfo?(tnguyen) → needinfo?(ccoroiu)
Pushed by tnguyen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8dd7098c545c
Move IsActivelyCapturingOrHasAPermission out of devices iteration. r=jib
https://hg.mozilla.org/integration/autoland/rev/7a0863c41c16
enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
Flags: needinfo?(ccoroiu)
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Upstream PR merged by moz-wptsync-bot
Regressions: 1579388
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: