[wpt-sync] Sync PR 15621 - Mark MediaDevices-related interfaces as SecureContext
Categories
(Core :: Audio/Video: MediaStreamGraph, enhancement, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 15621 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/15621
Details from upstream follow.
Guido Urdaneta <guidou@chromium.org> wrote:
Mark MediaDevices-related interfaces as SecureContext
This CL marks the following as SecureContext:
- mediaDevices field of the Navigator interface
- getUserMedia method of the Navigator interface (including prefixed version)
- MediaDevices interface
- MediaDeviceInfo interface
This effectively makes getUserMedia(), getDisplayMedia() and
enumerateDevices() available only on secure contexts.Intent to Remove thread:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/SGWYHfR5CyYBug: 927230
Change-Id: I6f5672dcaae22a1744ade2b913aae29e75ddcc9b
Reviewed-on: https://chromium-review.googlesource.com/1495527
WPT-Export-Revision: 4453cecd1aff3d5293b9a7fa717d45c280d5944a
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/dbad635b982b
https://hg.mozilla.org/mozilla-central/rev/b3d3886ecf69
Description
•