Re: [w3c/ServiceWorker] Add `ServiceWorkerRegistration.id` and supporting algorithm changes. (Fixes #1512) (#1526)

@wanderview commented on this pull request.



> @@ -760,6 +782,20 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
         1. Return |promise|.
     </section>
 
+    <section algorithm="navigator-service-worker-getRegistrationById">
+      <h4 id="navigator-service-worker-getRegistrationById">{{ServiceWorkerContainer/getRegistrationById(id)}}</h4>
+
+      <dfn method for="ServiceWorkerContainer"><code>getRegistrationById(|id|)</code></dfn> method steps are:
+
+        1. Let |origin| be [=current settings object=]'s [=environment settings object/origin=].

I replaced `current settings object` with `this's relevant settings object`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1526#discussion_r785203162
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/pull/1526/review/853428398@github.com>

Received on Friday, 14 January 2022 22:20:35 UTC