Skip to content

Commit

Permalink
Update interface for install event in summary table (#1706)
Browse files Browse the repository at this point in the history
SHA: 613f5a2
Reason: push, by mkruisselbrink

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
tidoust and github-actions[bot] committed Feb 22, 2024
1 parent 3977dc0 commit 2866696
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="https://www.w3.org/TR/service-workers/" rel="canonical">
<meta content="8d4b9dfbeea511955a259949f2bc01227f995fe2" name="document-revision">
<meta content="613f5a2fbab5aa8c5b80d95eac49cbfe16df4ef3" name="document-revision">
<style>/* Boilerplate: style-autolinks */
.css.css, .property.property, .descriptor.descriptor {
color: var(--a-normal-text);
Expand Down Expand Up @@ -3027,12 +3027,12 @@ <h3 class="heading settled" data-level="4.8" id="execution-context-events"><span
<tbody>
<tr>
<td><dfn class="dfn-paneled idl-code" data-dfn-for="ServiceWorkerGlobalScope" data-dfn-type="event" data-export id="service-worker-global-scope-install-event"><code>install</code></dfn>
<td><code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①④">ExtendableEvent</a></code>
<td><code class="idl"><a data-link-type="idl" href="#installevent" id="ref-for-installevent①">InstallEvent</a></code>
<td><a data-link-type="dfn" href="#dfn-lifecycle-events" id="ref-for-dfn-lifecycle-events①">Lifecycle</a>
<td>The <a data-link-type="dfn" href="#serviceworkerglobalscope-service-worker" id="ref-for-serviceworkerglobalscope-service-worker②①">service worker</a>'s <a data-link-type="dfn" href="#dfn-containing-service-worker-registration" id="ref-for-dfn-containing-service-worker-registration①③">containing service worker registration</a>’s <a data-link-type="dfn" href="#dfn-installing-worker" id="ref-for-dfn-installing-worker⑦">installing worker</a> changes. (See step 11.2 of the <a data-link-type="dfn" href="#install" id="ref-for-install①">Install</a> algorithm.)
<tr>
<td><dfn class="dfn-paneled idl-code" data-dfn-for="ServiceWorkerGlobalScope" data-dfn-type="event" data-export id="service-worker-global-scope-activate-event"><code>activate</code></dfn>
<td><code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code>
<td><code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code>
<td><a data-link-type="dfn" href="#dfn-lifecycle-events" id="ref-for-dfn-lifecycle-events②">Lifecycle</a>
<td>The <a data-link-type="dfn" href="#serviceworkerglobalscope-service-worker" id="ref-for-serviceworkerglobalscope-service-worker②②">service worker</a>'s <a data-link-type="dfn" href="#dfn-containing-service-worker-registration" id="ref-for-dfn-containing-service-worker-registration①④">containing service worker registration</a>’s <a data-link-type="dfn" href="#dfn-active-worker" id="ref-for-dfn-active-worker①⑧">active worker</a> changes. (See step 12.2 of the <a data-link-type="dfn" href="#activate" id="ref-for-activate②">Activate</a> algorithm.)
<tr>
Expand Down Expand Up @@ -3937,7 +3937,7 @@ <h3 class="heading settled" data-level="7.1" id="extension-to-service-worker-reg
</section>
<section>
<h3 class="heading settled" data-level="7.2" id="extension-to-extendable-event"><span class="secno">7.2. </span><span class="content">Define Functional Event</span><a class="self-link" href="#extension-to-extendable-event"></a></h3>
<p>Specifications <em>may</em> define a <a data-link-type="dfn" href="#dfn-functional-events" id="ref-for-dfn-functional-events①⓪">functional event</a> by extending <code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code> interface:</p>
<p>Specifications <em>may</em> define a <a data-link-type="dfn" href="#dfn-functional-events" id="ref-for-dfn-functional-events①⓪">functional event</a> by extending <code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code> interface:</p>
<pre class="example idl highlight def" data-no-idl id="example-85e5c3c4"><a class="self-link" href="#example-85e5c3c4"></a>// e.g. define FunctionalEvent interface
<c- b>interface</c-> <c- g>FunctionalEvent</c-> : <c- n>ExtendableEvent</c-> {
// add a functional event’s own attributes and methods
Expand Down Expand Up @@ -4630,7 +4630,7 @@ <h3 class="heading settled" id="installation-algorithm"><span class="content"><d
<p><a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task" id="ref-for-queue-a-task②⑦">Queue a task</a> <var>task</var> on <var>installingWorker</var>’s <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#event-loop" id="ref-for-event-loop⑨">event loop</a> using the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#dom-manipulation-task-source" id="ref-for-dom-manipulation-task-source②⓪">DOM manipulation task source</a> to run the following steps:</p>
<ol>
<li data-md>
<p>Let <var>e</var> be the result of <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-event-create" id="ref-for-concept-event-create②">creating an event</a> with <code class="idl"><a data-link-type="idl" href="#installevent" id="ref-for-installevent">InstallEvent</a></code>.</p>
<p>Let <var>e</var> be the result of <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-event-create" id="ref-for-concept-event-create②">creating an event</a> with <code class="idl"><a data-link-type="idl" href="#installevent" id="ref-for-installevent">InstallEvent</a></code>.</p>
<li data-md>
<p>Initialize <var>e</var>’s <code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#dom-event-type" id="ref-for-dom-event-type">type</a></code> attribute to <code class="idl"><a class="idl-code" data-link-type="event" href="#service-worker-global-scope-install-event" id="ref-for-service-worker-global-scope-install-event⑤">install</a></code>.</p>
<li data-md>
Expand Down Expand Up @@ -4761,7 +4761,7 @@ <h3 class="heading settled" id="activation-algorithm"><span class="content"><dfn
<p><a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task" id="ref-for-queue-a-task③⓪">Queue a task</a> <var>task</var> on <var>activeWorker</var>’s <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#event-loop" id="ref-for-event-loop①⓪">event loop</a> using the <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#dom-manipulation-task-source" id="ref-for-dom-manipulation-task-source②②">DOM manipulation task source</a> to run the following steps:</p>
<ol>
<li data-md>
<p>Let <var>e</var> be the result of <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-event-create" id="ref-for-concept-event-create③">creating an event</a> with <code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code>.</p>
<p>Let <var>e</var> be the result of <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#concept-event-create" id="ref-for-concept-event-create③">creating an event</a> with <code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code>.</p>
<li data-md>
<p>Initialize <var>e</var>’s <code class="idl"><a data-link-type="idl" href="https://dom.spec.whatwg.org/#dom-event-type" id="ref-for-dom-event-type①">type</a></code> attribute to <code class="idl"><a class="idl-code" data-link-type="event" href="#service-worker-global-scope-activate-event" id="ref-for-service-worker-global-scope-activate-event⑤">activate</a></code>.</p>
<li data-md>
Expand Down Expand Up @@ -5719,7 +5719,7 @@ <h3 class="heading settled" id="fire-functional-event-algorithm"><span class="co
<dd data-md>
<p><var>eventName</var>, a string</p>
<dd data-md>
<p><var>eventConstructor</var>, an event constructor that extends <code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code></p>
<p><var>eventConstructor</var>, an event constructor that extends <code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code></p>
<dd data-md>
<p><var>registration</var>, a <a data-link-type="dfn" href="#dfn-service-worker-registration" id="ref-for-dfn-service-worker-registration⑤⑧">service worker registration</a></p>
<dd data-md>
Expand Down Expand Up @@ -5795,7 +5795,7 @@ <h3 class="heading settled" id="fire-functional-event-algorithm"><span class="co
<p>Note that the initialization steps and post-dispatch steps are optional. If they aren’t needed, the prose would be:</p>
<ol>
<li data-md>
<p><a data-link-type="dfn" href="#fire-functional-event" id="ref-for-fire-functional-event②">Fire Functional Event</a> "<code>whatever</code>" using <code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code> on <var>serviceWorkerRegistration</var>.</p>
<p><a data-link-type="dfn" href="#fire-functional-event" id="ref-for-fire-functional-event②">Fire Functional Event</a> "<code>whatever</code>" using <code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code> on <var>serviceWorkerRegistration</var>.</p>
</ol>
</div>
</section>
Expand Down Expand Up @@ -10450,15 +10450,15 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['dom-clients-matchall'] = {"dfnID": "dom-clients-matchall", "url": "#dom-clients-matchall", "dfnText": "matchAll(options)", "refSections": [{"refs": [{"id": "ref-for-dom-clients-matchall"}], "title": "4.3. Clients"}, {"refs": [{"id": "ref-for-dom-clients-matchall\u2460"}], "title": "4.3.2. matchAll(options)"}], "external": false};
window.dfnpanelData['dom-clients-openwindow'] = {"dfnID": "dom-clients-openwindow", "url": "#dom-clients-openwindow", "dfnText": "openWindow(url)", "refSections": [{"refs": [{"id": "ref-for-dom-clients-openwindow"}], "title": "4.3. Clients"}, {"refs": [{"id": "ref-for-dom-clients-openwindow\u2460"}], "title": "4.3.3. openWindow(url)"}], "external": false};
window.dfnpanelData['dom-clients-claim'] = {"dfnID": "dom-clients-claim", "url": "#dom-clients-claim", "dfnText": "claim()", "refSections": [{"refs": [{"id": "ref-for-dom-clients-claim"}], "title": "4.3. Clients"}, {"refs": [{"id": "ref-for-dom-clients-claim\u2460"}], "title": "4.3.4. claim()"}], "external": false};
window.dfnpanelData['extendableevent'] = {"dfnID": "extendableevent", "url": "#extendableevent", "dfnText": "ExtendableEvent", "refSections": [{"refs": [{"id": "ref-for-extendableevent"}], "title": "2.1. Service Worker"}, {"refs": [{"id": "ref-for-extendableevent\u2460"}, {"id": "ref-for-extendableevent\u2461"}, {"id": "ref-for-extendableevent\u2462"}, {"id": "ref-for-extendableevent\u2463"}, {"id": "ref-for-extendableevent\u2464"}, {"id": "ref-for-extendableevent\u2465"}, {"id": "ref-for-extendableevent\u2466"}, {"id": "ref-for-extendableevent\u2467"}], "title": "4.4. ExtendableEvent"}, {"refs": [{"id": "ref-for-extendableevent\u2468"}], "title": "4.5. InstallEvent"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u24ea"}, {"id": "ref-for-extendableevent\u2460\u2460"}], "title": "4.6. FetchEvent"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2461"}, {"id": "ref-for-extendableevent\u2460\u2462"}], "title": "4.7. ExtendableMessageEvent"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2463"}, {"id": "ref-for-extendableevent\u2460\u2464"}], "title": "4.8. Events"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2465"}], "title": "7.2. Define Functional Event"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2466"}], "title": "Activate"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2467"}, {"id": "ref-for-extendableevent\u2460\u2468"}], "title": "Fire Functional Event"}], "external": false};
window.dfnpanelData['extendableevent'] = {"dfnID": "extendableevent", "url": "#extendableevent", "dfnText": "ExtendableEvent", "refSections": [{"refs": [{"id": "ref-for-extendableevent"}], "title": "2.1. Service Worker"}, {"refs": [{"id": "ref-for-extendableevent\u2460"}, {"id": "ref-for-extendableevent\u2461"}, {"id": "ref-for-extendableevent\u2462"}, {"id": "ref-for-extendableevent\u2463"}, {"id": "ref-for-extendableevent\u2464"}, {"id": "ref-for-extendableevent\u2465"}, {"id": "ref-for-extendableevent\u2466"}, {"id": "ref-for-extendableevent\u2467"}], "title": "4.4. ExtendableEvent"}, {"refs": [{"id": "ref-for-extendableevent\u2468"}], "title": "4.5. InstallEvent"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u24ea"}, {"id": "ref-for-extendableevent\u2460\u2460"}], "title": "4.6. FetchEvent"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2461"}, {"id": "ref-for-extendableevent\u2460\u2462"}], "title": "4.7. ExtendableMessageEvent"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2463"}], "title": "4.8. Events"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2464"}], "title": "7.2. Define Functional Event"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2465"}], "title": "Activate"}, {"refs": [{"id": "ref-for-extendableevent\u2460\u2466"}, {"id": "ref-for-extendableevent\u2460\u2467"}], "title": "Fire Functional Event"}], "external": false};
window.dfnpanelData['dictdef-extendableeventinit'] = {"dfnID": "dictdef-extendableeventinit", "url": "#dictdef-extendableeventinit", "dfnText": "ExtendableEventInit", "refSections": [{"refs": [{"id": "ref-for-dictdef-extendableeventinit"}], "title": "4.4. ExtendableEvent"}, {"refs": [{"id": "ref-for-dictdef-extendableeventinit\u2460"}], "title": "4.6. FetchEvent"}, {"refs": [{"id": "ref-for-dictdef-extendableeventinit\u2461"}], "title": "4.7. ExtendableMessageEvent"}], "external": false};
window.dfnpanelData['extendableevent-extend-lifetime-promises'] = {"dfnID": "extendableevent-extend-lifetime-promises", "url": "#extendableevent-extend-lifetime-promises", "dfnText": "extend lifetime promises", "refSections": [{"refs": [{"id": "ref-for-extendableevent-extend-lifetime-promises"}, {"id": "ref-for-extendableevent-extend-lifetime-promises\u2460"}, {"id": "ref-for-extendableevent-extend-lifetime-promises\u2461"}, {"id": "ref-for-extendableevent-extend-lifetime-promises\u2462"}, {"id": "ref-for-extendableevent-extend-lifetime-promises\u2463"}, {"id": "ref-for-extendableevent-extend-lifetime-promises\u2464"}], "title": "4.4. ExtendableEvent"}, {"refs": [{"id": "ref-for-extendableevent-extend-lifetime-promises\u2465"}, {"id": "ref-for-extendableevent-extend-lifetime-promises\u2466"}], "title": "Install"}, {"refs": [{"id": "ref-for-extendableevent-extend-lifetime-promises\u2467"}], "title": "Unregister"}], "external": false};
window.dfnpanelData['extendableevent-pending-promises-count'] = {"dfnID": "extendableevent-pending-promises-count", "url": "#extendableevent-pending-promises-count", "dfnText": "pending promises count", "refSections": [{"refs": [{"id": "ref-for-extendableevent-pending-promises-count"}, {"id": "ref-for-extendableevent-pending-promises-count\u2460"}, {"id": "ref-for-extendableevent-pending-promises-count\u2461"}, {"id": "ref-for-extendableevent-pending-promises-count\u2462"}, {"id": "ref-for-extendableevent-pending-promises-count\u2463"}, {"id": "ref-for-extendableevent-pending-promises-count\u2464"}], "title": "4.4. ExtendableEvent"}], "external": false};
window.dfnpanelData['extendableevent-timed-out-flag'] = {"dfnID": "extendableevent-timed-out-flag", "url": "#extendableevent-timed-out-flag", "dfnText": "timed out flag", "refSections": [{"refs": [{"id": "ref-for-extendableevent-timed-out-flag"}], "title": "4.4. ExtendableEvent"}, {"refs": [{"id": "ref-for-extendableevent-timed-out-flag\u2460"}], "title": "Install"}], "external": false};
window.dfnpanelData['extendableevent-active'] = {"dfnID": "extendableevent-active", "url": "#extendableevent-active", "dfnText": "active", "refSections": [{"refs": [{"id": "ref-for-extendableevent-active"}], "title": "4.4. ExtendableEvent"}, {"refs": [{"id": "ref-for-extendableevent-active\u2460"}], "title": "Install"}, {"refs": [{"id": "ref-for-extendableevent-active\u2461"}], "title": "Activate"}, {"refs": [{"id": "ref-for-extendableevent-active\u2462"}, {"id": "ref-for-extendableevent-active\u2463"}], "title": "Update Service Worker Extended Events Set"}, {"refs": [{"id": "ref-for-extendableevent-active\u2464"}], "title": "Service Worker Has No Pending Events"}], "external": false};
window.dfnpanelData['dom-extendableevent-waituntil'] = {"dfnID": "dom-extendableevent-waituntil", "url": "#dom-extendableevent-waituntil", "dfnText": "waitUntil(f)", "refSections": [{"refs": [{"id": "ref-for-dom-extendableevent-waituntil"}, {"id": "ref-for-dom-extendableevent-waituntil\u2462"}], "title": "4.4. ExtendableEvent"}, {"refs": [{"id": "ref-for-dom-extendableevent-waituntil\u2460"}, {"id": "ref-for-dom-extendableevent-waituntil\u2461"}], "title": "4.4.1. event.waitUntil(f)"}, {"refs": [{"id": "ref-for-dom-extendableevent-waituntil\u2463"}], "title": "4.6.7. event.respondWith(r)"}, {"refs": [{"id": "ref-for-dom-extendableevent-waituntil\u2464"}], "title": "4.7. ExtendableMessageEvent"}], "external": false};
window.dfnpanelData['extendableevent-add-lifetime-promise'] = {"dfnID": "extendableevent-add-lifetime-promise", "url": "#extendableevent-add-lifetime-promise", "dfnText": "add lifetime promise", "refSections": [{"refs": [{"id": "ref-for-extendableevent-add-lifetime-promise"}], "title": "4.4.1. event.waitUntil(f)"}, {"refs": [{"id": "ref-for-extendableevent-add-lifetime-promise\u2460"}], "title": "4.6.7. event.respondWith(r)"}], "external": false};
window.dfnpanelData['installevent'] = {"dfnID": "installevent", "url": "#installevent", "dfnText": "InstallEvent", "refSections": [{"refs": [{"id": "ref-for-installevent"}], "title": "4.5. InstallEvent"}, {"refs": [{"id": "ref-for-installevent\u2460"}], "title": "Install"}], "external": false};
window.dfnpanelData['installevent'] = {"dfnID": "installevent", "url": "#installevent", "dfnText": "InstallEvent", "refSections": [{"refs": [{"id": "ref-for-installevent"}], "title": "4.5. InstallEvent"}, {"refs": [{"id": "ref-for-installevent\u2460"}], "title": "4.8. Events"}, {"refs": [{"id": "ref-for-installevent\u2461"}], "title": "Install"}], "external": false};
window.dfnpanelData['dictdef-routerrule'] = {"dfnID": "dictdef-routerrule", "url": "#dictdef-routerrule", "dfnText": "RouterRule", "refSections": [{"refs": [{"id": "ref-for-dictdef-routerrule"}], "title": "2.1. Service Worker"}, {"refs": [{"id": "ref-for-dictdef-routerrule\u2460"}, {"id": "ref-for-dictdef-routerrule\u2461"}], "title": "4.5. InstallEvent"}, {"refs": [{"id": "ref-for-dictdef-routerrule\u2462"}, {"id": "ref-for-dictdef-routerrule\u2463"}], "title": "4.5.1. event.addRoutes(rules)"}], "external": false};
window.dfnpanelData['dom-routerrule-condition'] = {"dfnID": "dom-routerrule-condition", "url": "#dom-routerrule-condition", "dfnText": "condition", "refSections": [{"refs": [{"id": "ref-for-dom-routerrule-condition"}], "title": "4.5.1. event.addRoutes(rules)"}, {"refs": [{"id": "ref-for-dom-routerrule-condition\u2460"}], "title": "Get Router Source"}], "external": false};
window.dfnpanelData['dom-routerrule-source'] = {"dfnID": "dom-routerrule-source", "url": "#dom-routerrule-source", "dfnText": "source", "refSections": [{"refs": [{"id": "ref-for-dom-routerrule-source"}], "title": "4.5.1. event.addRoutes(rules)"}, {"refs": [{"id": "ref-for-dom-routerrule-source\u2460"}], "title": "Get Router Source"}], "external": false};
Expand Down

0 comments on commit 2866696

Please sign in to comment.