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
17 lines
336 B
JavaScript
17 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'],
|
|
});
|
|
}
|
|
);
|