mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1218150 - Mark the members of Clients as NewObject; r=bzbarsky
This commit is contained in:
parent
e3652e5d9c
commit
151691b2b6
@ -11,11 +11,12 @@
|
||||
[Exposed=ServiceWorker]
|
||||
interface Clients {
|
||||
// The objects returned will be new instances every time
|
||||
[Throws]
|
||||
[NewObject]
|
||||
Promise<sequence<Client>?> matchAll(optional ClientQueryOptions options);
|
||||
[Throws, Func="mozilla::dom::workers::ServiceWorkerGlobalScope::OpenWindowEnabled"]
|
||||
[NewObject,
|
||||
Func="mozilla::dom::workers::ServiceWorkerGlobalScope::OpenWindowEnabled"]
|
||||
Promise<WindowClient> openWindow(USVString url);
|
||||
[Throws]
|
||||
[NewObject]
|
||||
Promise<void> claim();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user