gecko-dev/dom/media/nsIDOMNavigatorUserMedia.idl
Boris Zbarsky 960ef74fa8 Bug 1535384 part 11. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for getUserMedia callbacks. r=jib
nsIDOMGetUserMediaErrorCallback, nsIDOMGetUserMediaSuccessCallback,
and nsIGetUserMediaDevicesSuccessCallback were completely unused, so
they could just go away and all the code got simpler.

Differential Revision: https://phabricator.services.mozilla.com/D23782

--HG--
extra : moz-landing-system : lando
2019-03-19 04:36:46 +00:00

19 lines
630 B
Plaintext

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "nsIVariant.idl"
[scriptable, builtinclass, uuid(ba3b2e08-1c07-4cd3-8822-f4d7e35ff2ae)]
interface nsIMediaDevice : nsISupports
{
readonly attribute AString type;
readonly attribute AString name;
readonly attribute AString id;
readonly attribute AString mediaSource;
readonly attribute AString rawId;
readonly attribute AString groupId;
readonly attribute boolean scary;
};