1// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// https://wicg.github.io/portals/#the-portalactivateevent-interface
6
7[
8 Exposed=Window, RuntimeEnabled=Portals
9] interface PortalActivateEvent : Event {
10  constructor(DOMString type, optional PortalActivateEventInit eventInitDict = {});
11  [CallWith=ScriptState, Measure] readonly attribute any data;
12  [RaisesException, Measure] HTMLPortalElement adoptPredecessor();
13};
14