summaryrefslogtreecommitdiffstats
path: root/test/wpt/tests/interfaces/page-lifecycle.idl
blob: 26de11c23d0c160f383fb2d6513b6a2ffbb1c6bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Page Lifecycle (https://wicg.github.io/page-lifecycle/)

partial interface Document {
    attribute EventHandler onfreeze;
    attribute EventHandler onresume;
    readonly attribute boolean wasDiscarded;
};

partial interface Client {
    readonly attribute ClientLifecycleState lifecycleState;
};

enum ClientLifecycleState {
    "active",
    "frozen"
};