| Index: Source/modules/serviceworkers/ServiceWorkerClient.idl
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerClient.idl b/Source/modules/serviceworkers/ServiceWorkerClient.idl
|
| index a83cbb131cd6bfca2045945c8dda3c91678e117a..925ebb5af1af458e5518eb48c1a6989ae47964b7 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerClient.idl
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerClient.idl
|
| @@ -9,6 +9,10 @@
|
| GarbageCollected,
|
| TypeChecking=Interface,
|
| ] interface ServiceWorkerClient {
|
| + [RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute DOMString visibilityState;
|
| + [RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute boolean focused;
|
| + [RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute USVString url;
|
| + [RuntimeEnabled=ServiceWorkerClientAttributes] readonly attribute DOMString frameType;
|
| [Custom, RaisesException, CallWith=ExecutionContext] void postMessage(SerializedScriptValue message, optional sequence<Transferable> transfer);
|
| [RuntimeEnabled=PushMessaging, CallWith=ScriptState] Promise<boolean> focus();
|
| };
|
|
|