Definition
Service Workers Nightly defines WindowClient
[Exposed=ServiceWorker]
interface WindowClient : Client {
readonly attribute DocumentVisibilityState visibilityState;
readonly attribute boolean focused;
[SameObject] readonly attribute FrozenArray<USVString> ancestorOrigins;
[NewObject] Promise<WindowClient> focus();
};
Methods and attributes that return objects implementing WindowClient
Referring IDL interfaces/dictionaries
Referring specifications
- Payment Handler API refers to
WindowClient