Closed Bug 1532522 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 15621 - Mark MediaDevices-related interfaces as SecureContext

Categories

(Core :: Audio/Video: MediaStreamGraph, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
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/SGWYHfR5CyY

Bug: 927230
Change-Id: I6f5672dcaae22a1744ade2b913aae29e75ddcc9b
Reviewed-on: https://chromium-review.googlesource.com/1495527
WPT-Export-Revision: 4453cecd1aff3d5293b9a7fa717d45c280d5944a

Component: web-platform-tests → Audio/Video: MediaStreamGraph
Product: Testing → Core
Ran 4 tests and 30 subtests OK : 4 PASS : 21 FAIL : 9 New tests that have failures or other problems: /mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.https.html Image Capture supported constraints: FAIL /mediacapture-streams/MediaDevices-getSupportedConstraints.https.html aspectRatio is supported: FAIL groupId is supported: FAIL latency is supported: FAIL resizeMode is supported: FAIL sampleRate is supported: FAIL sampleSize is supported: FAIL volume is supported: FAIL /mediacapture-streams/historical.https.html navigator.mozGetUserMedia should not exist: FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/dbad635b982b [wpt PR 15621] - Mark MediaDevices-related interfaces as SecureContext, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/b3d3886ecf69 [wpt PR 15621] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.