Skip to content

Commit ec94961

Browse files
author
reffy-bot
committed
Update of ED report from new reffy run
Using reffy commit 19.2.1.
1 parent 9cfabc7 commit ec94961

File tree

11 files changed

+656
-37
lines changed

11 files changed

+656
-37
lines changed

ed/algorithms/prefetch.json

Lines changed: 62 additions & 6 deletions
Large diffs are not rendered by default.

ed/algorithms/service-workers.json

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3822,7 +3822,28 @@
38223822
"html": "<p>Set <var>timingInfo</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ServiceWorker/#service-worker-timing-info-worker-cache-lookup-start\" id=\"ref-for-service-worker-timing-info-worker-cache-lookup-start\">worker cache lookup start</a> to the <a data-link-type=\"dfn\" href=\"https://w3c.github.io/hr-time/#dfn-coarsened-shared-current-time\" id=\"ref-for-dfn-coarsened-shared-current-time①\">coarsened shared current time</a> given <var>useHighResPerformanceTimers</var>.</p>"
38233823
},
38243824
{
3825-
"html": "<p>Let <var>caches</var> be the result of running <a data-link-type=\"dfn\" href=\"https://storage.spec.whatwg.org/#obtain-a-local-storage-bottle-map\" id=\"ref-for-obtain-a-local-storage-bottle-map\">obtain a local storage bottle map</a> with <var>reservedClient</var> and \"<code>caches</code>\".</p>"
3825+
"html": "<p>Let <var>environment</var> be null.</p>"
3826+
},
3827+
{
3828+
"html": "If <var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#non-subresource-request\" id=\"ref-for-non-subresource-request②\">non-subresource request</a>, then:",
3829+
"rationale": "set",
3830+
"steps": [
3831+
{
3832+
"html": "<p>Set <var>environment</var> to <var>reservedClient</var>.</p>"
3833+
}
3834+
]
3835+
},
3836+
{
3837+
"html": "Else:",
3838+
"rationale": "set",
3839+
"steps": [
3840+
{
3841+
"html": "<p>Set <var>environment</var> to <var>client</var>.</p>"
3842+
}
3843+
]
3844+
},
3845+
{
3846+
"html": "<p>Let <var>caches</var> be the result of running <a data-link-type=\"dfn\" href=\"https://storage.spec.whatwg.org/#obtain-a-local-storage-bottle-map\" id=\"ref-for-obtain-a-local-storage-bottle-map\">obtain a local storage bottle map</a> with <var>environment</var> and \"<code>caches</code>\".</p>"
38263847
},
38273848
{
38283849
"html": "<a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-iterate\" id=\"ref-for-map-iterate⑥\">For each</a> <var>cacheName</var> → <var>cache</var> of <var>caches</var>.",
@@ -4203,7 +4224,7 @@
42034224
]
42044225
},
42054226
{
4206-
"html": "<p>Let <var>shouldSoftUpdate</var> be true if any of the following are true, and false otherwise:</p>\n <ul>\n <li data-md=\"\">\n <p><var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#non-subresource-request\" id=\"ref-for-non-subresource-request\">non-subresource request</a>.</p>\n </li><li data-md=\"\">\n <p><var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#subresource-request\" id=\"ref-for-subresource-request②\">subresource request</a> and <var>registration</var> is <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ServiceWorker/#service-worker-registration-stale\" id=\"ref-for-service-worker-registration-stale④\">stale</a>.</p>\n </li></ul>"
4227+
"html": "<p>Let <var>shouldSoftUpdate</var> be true if any of the following are true, and false otherwise:</p>\n <ul>\n <li data-md=\"\">\n <p><var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#non-subresource-request\" id=\"ref-for-non-subresource-request\">non-subresource request</a>.</p>\n </li><li data-md=\"\">\n <p><var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#subresource-request\" id=\"ref-for-subresource-request②\">subresource request</a> and <var>registration</var> is <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ServiceWorker/#service-worker-registration-stale\" id=\"ref-for-service-worker-registration-stale④\">stale</a>.</p>\n </li></ul>"
42074228
},
42084229
{
42094230
"html": "If the result of running the <a data-link-type=\"dfn\" href=\"https://w3c.github.io/ServiceWorker/#should-skip-event\" id=\"ref-for-should-skip-event③\">Should Skip Event</a> algorithm with \"fetch\" and <var>activeWorker</var> is true, then:",
@@ -4295,7 +4316,7 @@
42954316
"html": "<p>Initialize <var>e</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/ServiceWorker/#dom-fetchevent-clientid\" id=\"ref-for-dom-fetchevent-clientid②\">clientId</a></code> attribute to <var>client</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-id\" id=\"ref-for-concept-environment-id③\">id</a>.</p>"
42964317
},
42974318
{
4298-
"html": "<p>If <var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#non-subresource-request\" id=\"ref-for-non-subresource-request③\">non-subresource request</a> and <var>request</var>’s <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#concept-request-destination\" id=\"ref-for-concept-request-destination⑤\">destination</a> is not <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://fetch.spec.whatwg.org/#dom-requestdestination-report\" id=\"ref-for-dom-requestdestination-report①\">\"report\"</a></code>, initialize <var>e</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/ServiceWorker/#dom-fetchevent-resultingclientid\" id=\"ref-for-dom-fetchevent-resultingclientid②\">resultingClientId</a></code> attribute to <var>reservedClient</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-id\" id=\"ref-for-concept-environment-id④\">id</a>, and to the empty string otherwise.</p>"
4319+
"html": "<p>If <var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#non-subresource-request\" id=\"ref-for-non-subresource-request④\">non-subresource request</a> and <var>request</var>’s <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#concept-request-destination\" id=\"ref-for-concept-request-destination⑤\">destination</a> is not <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://fetch.spec.whatwg.org/#dom-requestdestination-report\" id=\"ref-for-dom-requestdestination-report①\">\"report\"</a></code>, initialize <var>e</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/ServiceWorker/#dom-fetchevent-resultingclientid\" id=\"ref-for-dom-fetchevent-resultingclientid②\">resultingClientId</a></code> attribute to <var>reservedClient</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-id\" id=\"ref-for-concept-environment-id④\">id</a>, and to the empty string otherwise.</p>"
42994320
},
43004321
{
43014322
"html": "<p>If <var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#navigation-request\" id=\"ref-for-navigation-request②\">navigation request</a>, initialize <var>e</var>’s <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://w3c.github.io/ServiceWorker/#dom-fetchevent-replacesclientid\" id=\"ref-for-dom-fetchevent-replacesclientid②\">replacesClientId</a></code> attribute to <var>request</var>’s <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#concept-request-replaces-client-id\" id=\"ref-for-concept-request-replaces-client-id\">replaces client id</a>, and to the empty string otherwise.</p>"
@@ -5753,7 +5774,7 @@
57535774
"html": "<p>Let <var>registration</var> be null.</p>"
57545775
},
57555776
{
5756-
"html": "If <var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#non-subresource-request\" id=\"ref-for-non-subresource-request\">non-subresource request</a>, then:",
5777+
"html": "If <var>request</var> is a <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#non-subresource-request\" id=\"ref-for-non-subresource-request\">non-subresource request</a>, then:",
57575778
"rationale": "if",
57585779
"steps": [
57595780
{

ed/cddl/prefetch-all.cddl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
; GENERATED CONTENT - DO NOT EDIT
2+
; Content was automatically extracted by Reffy into webref
3+
; (https://github.com/w3c/webref)
4+
; Source: Prefetch (https://wicg.github.io/nav-speculation/prefetch.html)
5+
6+
speculation.PreloadingStatus = "pending" / "ready" / "success" / "failure"
7+
8+
SpeculationEvent = (
9+
speculation.PrefetchStatusUpdated
10+
)
11+
12+
speculation.PrefetchStatusUpdated = (
13+
method: "speculation.prefetchStatusUpdated",
14+
params: speculation.PrefetchStatusUpdatedParameters
15+
)
16+
17+
speculation.PrefetchStatusUpdatedParameters = {
18+
context: text,
19+
url: text,
20+
status: speculation.PreloadingStatus
21+
}

ed/cddl/prefetch-local-cddl.cddl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
; GENERATED CONTENT - DO NOT EDIT
2+
; Content was automatically extracted by Reffy into webref
3+
; (https://github.com/w3c/webref)
4+
; Source: Prefetch (https://wicg.github.io/nav-speculation/prefetch.html)
5+
6+
speculation.PreloadingStatus = "pending" / "ready" / "success" / "failure"
7+
8+
SpeculationEvent = (
9+
speculation.PrefetchStatusUpdated
10+
)
11+
12+
speculation.PrefetchStatusUpdated = (
13+
method: "speculation.prefetchStatusUpdated",
14+
params: speculation.PrefetchStatusUpdatedParameters
15+
)
16+
17+
speculation.PrefetchStatusUpdatedParameters = {
18+
context: text,
19+
url: text,
20+
status: speculation.PreloadingStatus
21+
}

0 commit comments

Comments
 (0)