2015-03-19 07:48:28 +00:00
|
|
|
/* -*- 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/.
|
2016-10-17 00:19:00 +00:00
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* https://w3c.github.io/presentation-api/#interface-presentationconnectionavailableevent
|
2015-03-19 07:48:28 +00:00
|
|
|
*/
|
|
|
|
|
2015-09-14 02:39:57 +00:00
|
|
|
[Constructor(DOMString type,
|
2016-01-11 18:43:57 +00:00
|
|
|
PresentationConnectionAvailableEventInit eventInitDict),
|
2016-06-03 11:50:30 +00:00
|
|
|
Pref="dom.presentation.enabled"]
|
2015-10-12 02:36:31 +00:00
|
|
|
interface PresentationConnectionAvailableEvent : Event
|
2015-03-19 07:48:28 +00:00
|
|
|
{
|
2015-09-14 02:39:57 +00:00
|
|
|
[SameObject]
|
2015-10-12 02:36:31 +00:00
|
|
|
readonly attribute PresentationConnection connection;
|
2015-03-19 07:48:28 +00:00
|
|
|
};
|
|
|
|
|
2015-10-12 02:36:31 +00:00
|
|
|
dictionary PresentationConnectionAvailableEventInit : EventInit
|
2015-03-19 07:48:28 +00:00
|
|
|
{
|
2015-10-12 02:36:31 +00:00
|
|
|
required PresentationConnection connection;
|
2015-03-19 07:48:28 +00:00
|
|
|
};
|