1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 [Pref="camera.control.face_detection.enabled",
7 Func="Navigator::HasCameraSupport",
8 Constructor(DOMString type, optional CameraFacesDetectedEventInit eventInitDict)]
9 interface CameraFacesDetectedEvent : Event
12 readonly attribute sequence<CameraDetectedFace>? faces;
15 dictionary CameraFacesDetectedEventInit : EventInit
17 sequence<CameraDetectedFace>? faces = null;