mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
Automatic update from web-platform-tests 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/c/1495527 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by: Henrik Boström <hbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#637103} -- wpt-commits: 938a691c64dac579381ff8b87c951c776b6f81c0 wpt-pr: 15621 --HG-- rename : testing/web-platform/tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html => testing/web-platform/tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.https.html rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html rename : testing/web-platform/tests/mediacapture-streams/historical.html => testing/web-platform/tests/mediacapture-streams/historical.https.html rename : testing/web-platform/tests/screen-capture/idlharness.window.js => testing/web-platform/tests/screen-capture/idlharness.https.window.js
16 lines
336 B
JavaScript
16 lines
336 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
'use strict';
|
|
|
|
// https://w3c.github.io/mediacapture-screen-share/
|
|
|
|
idl_test(
|
|
['screen-capture'],
|
|
['mediacapture-streams', 'html', 'dom'],
|
|
idl_array => {
|
|
idl_array.add_objects({
|
|
MediaDevices: ['navigator.mediaDevices'],
|
|
});
|
|
}
|
|
);
|