[w3c/ServiceWorker] Correct ServiceWorkerRegistration Web IDL (PR #1767)

As mentioned in https://github.com/w3c/ServiceWorker/issues/1472, https://w3c.github.io/ServiceWorker/#resolve-job-promise-algorithm is written to return Promise<ServiceWorkerRegistration>. Also, according to https://wpt.fyi/results/service-workers/service-worker/update-result.https.html?label=experimental&label=master&aligned, all implementations are actually returning a `Promise<ServiceWorkerRegistration>`.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/yoshisatoyanagisawa/ServiceWorker/pull/1767.html" title="Last updated on May 1, 2025, 2:24 AM UTC (6495b0f)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/ServiceWorker/1767/479b8ae...yoshisatoyanagisawa:6495b0f.html" title="Last updated on May 1, 2025, 2:24 AM UTC (6495b0f)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1767

-- Commit Summary --

  * Correct ServiceWorkerRegistration Web IDL

-- File Changes --

    M docs/index.bs (2)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1767.patch
https://github.com/w3c/ServiceWorker/pull/1767.diff

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

Message ID: <w3c/ServiceWorker/pull/1767@github.com>

Received on Thursday, 1 May 2025 02:24:26 UTC