blob: 11eda2ed27e5f9f75cdc9c205df62d7443639068 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// 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/#interface-presentationconnectioncloseevent
enum PresentationConnectionCloseReason { "error", "closed", "wentaway" };
[
RuntimeEnabled=Presentation,
SecureContext,
Exposed=Window
] interface PresentationConnectionCloseEvent : Event {
constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict);
readonly attribute PresentationConnectionCloseReason reason;
readonly attribute DOMString message;
};