- From: <bugzilla@jessica.w3.org>
- Date: Fri, 06 Sep 2013 09:03:32 +0000
- To: public-media-capture@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23128
--- Comment #1 from Harald Alvestrand <harald@alvestrand.no> ---
Proposed IDL, based on the DAP IDL:
Navigator implements NavigatorDevicePermissions;
[NoInterfaceObject]
interface NavigatorDevicePermissions {
DevicePermissionLevel devicePermissionLevel (in DOMString feature);
void requestDevicePermission (in sequence<DOMString> features,
in Function success, in Function failure);
attribute DOMString[] devicePermissionsImplemented;
};
enum DevicePermissionLevel {
"UserAllowed",
"DefaultAllowed",
"UserDenied",
"DefaultDenied"
};
// Permissions must be valid members of DevicePermissionNames
// or a subtype that extends it.
enum DevicePermissionNames {
"videoInputDevices",
"audioInputDevices",
"inputDeviceLabels",
"outputDeviceLabels",
"screenCapture",
"windowCapture"
}
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Friday, 6 September 2013 09:03:33 UTC