| Index: Source/modules/presentation/PresentationSession.idl
|
| diff --git a/Source/modules/presentation/PresentationSession.idl b/Source/modules/presentation/PresentationSession.idl
|
| index 6c330498a53b63d03f1084811d8c968fc46a11f1..2d801595445d49d90276cd9b3f7f694d2e6e31e3 100644
|
| --- a/Source/modules/presentation/PresentationSession.idl
|
| +++ b/Source/modules/presentation/PresentationSession.idl
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// https://w3c.github.io/presentation-api/#presentationsession
|
| +// https://w3c.github.io/presentation-api/#interface-presentationsession
|
|
|
| enum PresentationSessionState {
|
| "connected",
|
| @@ -15,13 +15,14 @@ enum PresentationSessionState {
|
| ] interface PresentationSession : EventTarget {
|
| readonly attribute DOMString? id;
|
| readonly attribute PresentationSessionState state;
|
| + void close();
|
| + attribute EventHandler onstatechange;
|
|
|
| + // Communication
|
| + // TODO(philipj): attribute BinaryType binaryType;
|
| + attribute EventHandler onmessage;
|
| [RaisesException] void send(DOMString message);
|
| + [RaisesException] void send(Blob data);
|
| [RaisesException] void send(ArrayBuffer data);
|
| [RaisesException] void send(ArrayBufferView data);
|
| - [RaisesException] void send(Blob data);
|
| - void close();
|
| -
|
| - attribute EventHandler onmessage;
|
| - attribute EventHandler onstatechange;
|
| };
|
|
|