dom/webidl/BluetoothAdapterEvent.webidl
author Reuben Morais <reuben.morais@gmail.com>
Sun, 25 May 2014 15:31:11 -0300
changeset 192401 4136b65c1c4b1578631c18dfffff3cec2aa52b4e
parent 192302 b1f349b0ee5fde087c623f099eae7b947d79d5db
child 272410 4dd71c32a6cb0e4dbf10350bf65d63bda844cb3b
permissions -rw-r--r--
Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/.
 */

[CheckPermissions="bluetooth",
 Constructor(DOMString type, optional BluetoothAdapterEventInit eventInitDict)]
interface BluetoothAdapterEvent : Event
{
  readonly attribute BluetoothAdapter? adapter;
  readonly attribute DOMString?        address;
};

dictionary BluetoothAdapterEventInit : EventInit
{
  BluetoothAdapter? adapter = null;
  DOMString?        address = "";
};