dom/webidl/PresentationSessionConnectEvent.webidl
author Sean Lin <selin@mozilla.com>
Mon, 21 Sep 2015 10:27:19 +0800
changeset 295124 06698874c1046cb91ba524900be36613c4c35130
parent 292837 0b07b414b0455bacb6202f9063a7d7e49649a936
permissions -rw-r--r--
Bug 1205233 - Make Presentation API available for browser chrome code. r=smaug r=fabrice

/* -*- 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/.
 */

[Constructor(DOMString type,
             optional PresentationSessionConnectEventInit eventInitDict),
 Pref="dom.presentation.enabled",
 CheckAnyPermissions="presentation"]
interface PresentationSessionConnectEvent : Event
{
  [SameObject]
  readonly attribute PresentationSession session;
};

dictionary PresentationSessionConnectEventInit : EventInit
{
  required PresentationSession session;
};