diff --git a/spec/service_worker/index.html b/spec/service_worker/index.html index 7dc6c2ba..4832d3cc 100644 --- a/spec/service_worker/index.html +++ b/spec/service_worker/index.html @@ -351,7 +351,7 @@
unregister()
register(scriptURL, options)
The scope url for the registration is set to the location of the service worker script by default.
TypeError
.Client
Client
A Client
object has an associated service worker client (a service worker client).
focus()
The focus()
method must run these steps or their equivalent:
InvalidAccessError
" exception.A WindowClient
object has an associated visibility state, which is one of visibilityState attribute value.
A WindowClient
object has an associated focus state, which is either true or false. (Initially false).
url
The url
attribute must return the context object's associated service worker client's serialized creation url.
visibilityState
The visibilityState
attribute must return the context object's visibility state.
focused
The focused
attribute must return the context object's focus state.
frameType
This section will be updated as per SW #588.
+focus()
The focus()
method must run these steps or their equivalent:
InvalidAccessError
" exception.Clients
getAll(options)
WindowClient
object that represents client to clients.getAll(options)
window
", and client is a window client, add a WindowClient
object that represents client to matchedClients.window
", and client is a window client, then:
+ worker
" and client is a dedicated worker client, add a Client
object that represents client to matchedClients.sharedworker
" and clientis a shared worker client, add a Client
object that represents client to matchedClients.all
", then:
WindowClient
object that represents client to matchedClients.Client
object that represents client to matchedClients.openWindow(url)
To request a functional event dispatch to a service worker, specifications may invoke Handle Functional Event algorithm with its service worker registration registration and the algorithm callbackSteps as the arguments.
+To request a functional event dispatch to a service worker, specifications may invoke Handle Functional Event algorithm, or its equivalent, with its service worker registration registration and the algorithm callbackSteps as the arguments.
Specifications may define an algorithm callbackSteps where the corresponding functional event can be created and fired with specification specific objects. The algorithm is passed globalObject (a ServiceWorkerGlobalScope object) at which it may fire its functional events. This algorithm is called on a task run by Handle Functional Event On Scheduled Task algorithm which is queued by Handle Functional Event algorithm.
@@ -2704,7 +2739,7 @@Event loop and task queuing model for this algorithm will be specified.
@@ -2990,6 +3025,25 @@WindowClient
object representing browsingContext.