Skip to content

Commit 2866696

Browse files
Update interface for install event in summary table (#1706)
SHA: 613f5a2 Reason: push, by mkruisselbrink Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3977dc0 commit 2866696

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
88
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
99
<link href="https://www.w3.org/TR/service-workers/" rel="canonical">
10-
<meta content="8d4b9dfbeea511955a259949f2bc01227f995fe2" name="document-revision">
10+
<meta content="613f5a2fbab5aa8c5b80d95eac49cbfe16df4ef3" name="document-revision">
1111
<style>/* Boilerplate: style-autolinks */
1212
.css.css, .property.property, .descriptor.descriptor {
1313
color: var(--a-normal-text);
@@ -3027,12 +3027,12 @@ <h3 class="heading settled" data-level="4.8" id="execution-context-events"><span
30273027
<tbody>
30283028
<tr>
30293029
<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>
3030-
<td><code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①④">ExtendableEvent</a></code>
3030+
<td><code class="idl"><a data-link-type="idl" href="#installevent" id="ref-for-installevent①">InstallEvent</a></code>
30313031
<td><a data-link-type="dfn" href="#dfn-lifecycle-events" id="ref-for-dfn-lifecycle-events①">Lifecycle</a>
30323032
<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.)
30333033
<tr>
30343034
<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>
3035-
<td><code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code>
3035+
<td><code class="idl"><a data-link-type="idl" href="#extendableevent" id="ref-for-extendableevent①">ExtendableEvent</a></code>
30363036
<td><a data-link-type="dfn" href="#dfn-lifecycle-events" id="ref-for-dfn-lifecycle-events②">Lifecycle</a>
30373037
<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.)
30383038
<tr>
@@ -3937,7 +3937,7 @@ <h3 class="heading settled" data-level="7.1" id="extension-to-service-worker-reg
39373937
</section>
39383938
<section>
39393939
<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>
3940-
<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>
3940+
<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>
39413941
<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
39423942
<c- b>interface</c-> <c- g>FunctionalEvent</c-> : <c- n>ExtendableEvent</c-> {
39433943
// add a functional event’s own attributes and methods
@@ -4630,7 +4630,7 @@ <h3 class="heading settled" id="installation-algorithm"><span class="content"><d
46304630
<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>
46314631
<ol>
46324632
<li data-md>
4633-
<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>
4633+
<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>
46344634
<li data-md>
46354635
<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>
46364636
<li data-md>
@@ -4761,7 +4761,7 @@ <h3 class="heading settled" id="activation-algorithm"><span class="content"><dfn
47614761
<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>
47624762
<ol>
47634763
<li data-md>
4764-
<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>
4764+
<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>
47654765
<li data-md>
47664766
<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>
47674767
<li data-md>
@@ -5719,7 +5719,7 @@ <h3 class="heading settled" id="fire-functional-event-algorithm"><span class="co
57195719
<dd data-md>
57205720
<p><var>eventName</var>, a string</p>
57215721
<dd data-md>
5722-
<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>
5722+
<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>
57235723
<dd data-md>
57245724
<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>
57255725
<dd data-md>
@@ -5795,7 +5795,7 @@ <h3 class="heading settled" id="fire-functional-event-algorithm"><span class="co
57955795
<p>Note that the initialization steps and post-dispatch steps are optional. If they aren’t needed, the prose would be:</p>
57965796
<ol>
57975797
<li data-md>
5798-
<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>
5798+
<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>
57995799
</ol>
58005800
</div>
58015801
</section>
@@ -10450,15 +10450,15 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
1045010450
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};
1045110451
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};
1045210452
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};
10453-
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};
10453+
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};
1045410454
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};
1045510455
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};
1045610456
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};
1045710457
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};
1045810458
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};
1045910459
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};
1046010460
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};
10461-
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};
10461+
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};
1046210462
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};
1046310463
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};
1046410464
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};

0 commit comments

Comments
 (0)