blob: 39dcd97a500a7829696e070c1afe46722184516a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[
Exposed=Window,
SecureContext,
ImplementedAs=SubApps
] partial interface Navigator {
[SameObject, RuntimeEnabled=DesktopPWAsSubApps] readonly attribute SubApps subApps;
};
[
Exposed=Window,
SecureContext,
RuntimeEnabled=DesktopPWAsSubApps
] interface SubApps {
[CallWith=ScriptState, RaisesException] Promise<undefined> add(DOMString install_url);
[CallWith=ScriptState, RaisesException] Promise<FrozenArray<DOMString>> list();
[CallWith=ScriptState, RaisesException] Promise<undefined> remove(DOMString app_id);
};
|