From 443753fcaec31bdfcfecc1e6592c19200b3cb701 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Mon, 12 Jun 2017 14:46:34 +0900 Subject: [PATCH] =?UTF-8?q?=E2=80=9Cthe=20worker's=20Documents=E2=80=9D=20?= =?UTF-8?q?=E2=9E=A1=20=E2=80=9Cowner=20set=E2=80=9D=20(#1124)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This aligns with the changes made in https://github.com/whatwg/html/pull/2520 https://github.com/whatwg/html/commit/59a4750f475acd789ee436b4906972ba2081d8b3 --- docs/index.bs | 2 +- docs/index.html | 642 ++++++++++++++++++++++++------------------------ 2 files changed, 323 insertions(+), 321 deletions(-) diff --git a/docs/index.bs b/docs/index.bs index 0bb007fc..490deb0d 100644 --- a/docs/index.bs +++ b/docs/index.bs @@ -244,7 +244,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe When the request's [=request/url=] is not local, a [=/service worker client=] matches a [=/service worker registration=] from scope to registration map. That is, the [=/service worker client=] attempts to consult a [=/service worker registration=] whose [=service worker registration/scope url=] matches its creation URL. - When the request's [=request/url=] is local, if the [=/service worker client=]'s responsible browsing context is a nested browsing context or the [=/service worker client=] is a worker client, the [=/service worker client=] inherits the [=/service worker registration=] from its parent browsing context's environment or one of the worker's Documents' environment, respectively, if it exists. + When the request's [=request/url=] is local, if the [=/service worker client=]'s responsible browsing context is a nested browsing context or the [=/service worker client=] is a worker client, the [=/service worker client=] inherits the [=/service worker registration=] from its parent browsing context's environment or from the environment of a {{Document}} in the [=/service worker client=]'s [=environment settings object/global object=]'s [=owner set=], respectively, if it exists. If the selection was successful, the selected [=/service worker registration=]'s active worker starts to control the [=/service worker client=]. Otherwise, the flow returns to [=/fetch=] where it falls back to the default behavior. When a [=/service worker client=] is controlled by an active worker, it is considered that the [=/service worker client=] is using the active worker's containing service worker registration. diff --git a/docs/index.html b/docs/index.html index bc827b91..dc7fc85b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1177,7 +1177,7 @@ } } - +