Skip to content

Commit 9a38699

Browse files
noamrjakearchibald
andauthored
Service worker struct should be exported without a 'for' attribute (#1590)
* Service worker struct should be exported without a 'for' attribute * Move struct to own section * Update docs/index.bs Co-authored-by: Jake Archibald <[email protected]> * Update docs/index.bs Co-authored-by: Jake Archibald <[email protected]> * Indenting and link fix Co-authored-by: Jake Archibald <[email protected]>
1 parent b807be1 commit 9a38699

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/index.bs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,20 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
201201
* <dfn export id="dfn-functional-events">Functional events</dfn>: {{fetch!!event}} and the [=events=] defined by other specifications that <a href="#extensibility">extend</a> the Service Workers specification. (See the <a href="#execution-context-events">list</a>.)
202202
* {{message!!event}} and {{messageerror!!event}}.
203203
</section>
204-
<section>
205-
<h4 id="service-worker-timing">Timing</h4>
204+
</section>
206205

207-
Service workers mark certain points in time that are later exposed by the {{PerformanceNavigationTiming|navigation timing}} API.
206+
<section>
207+
<h3 id="service-worker-timing">Serview Worker Timing</h3>
208208

209-
A <dfn export>service worker timing info</dfn> is a [=/struct=]. It has the following [=struct/items=]:
209+
Service workers mark certain points in time that are later exposed by the <a interface lt="PerformanceNavigationTiming">navigation timing</a> API.
210210

211-
<section dfn-for="service worker timing info">
211+
A <dfn export>service worker timing info</dfn> is a [=/struct=]. It has the following [=struct/items=]:
212+
213+
<section dfn-for="service worker timing info">
212214
: <dfn export>start time</dfn>
213215
:: A {{DOMHighResTimeStamp}}, initially 0.
214216
: <dfn export>fetch event dispatch time</dfn>
215217
:: A {{DOMHighResTimeStamp}}, initially 0.
216-
</section>
217218
</section>
218219
</section>
219220

0 commit comments

Comments
 (0)