From 237d8ec9563e41d6557f975cda43b96671d524db Mon Sep 17 00:00:00 2001
From: Nic Jansma
@@ -509,7 +512,7 @@
- Navigation where the
+ Navigation where the
history handling behavior
is set to
"default" or
@@ -1457,7 +1467,7 @@
- Navigation where the
+ Navigation where the
history handling behavior
is set to
"reload".
@@ -1468,7 +1478,7 @@
- Navigation where the
+ Navigation where the
history handling behavior
is set to
"entry update".
diff --git a/timestamp-diagram.svg b/timestamp-diagram.svg
index f7d0531..fad74a3 100644
--- a/timestamp-diagram.svg
+++ b/timestamp-diagram.svg
@@ -1,4 +1,1011 @@
-
-
-
-
+
+
From bd93c19e2612778cb7bf6ddd176491c360068caf Mon Sep 17 00:00:00 2001
From: Nic Jansma
@@ -812,7 +819,7 @@
time immediately before the user agent fired an event named `fetch` at
the active
- worker. Otherwise, if there is no active worker this attribute
- MUST return zero.
+ worker. If there were redirects, this is the start time of
+ the the active worker of the first same-origin document in the redirect
+ chain.
+ If there is no active worker for the current document,
+ this attribute MUST return zero.
navigate
reload
back_forward
-
let the navigation type be the {{DOMString}}
"navigate".
fails, set both unloadEventStart and
unloadEventEnd to
- 0 then go to fetch-start-step.
+ 0 then go to worker-start-step.
Otherwise, record unloadEventStart as the time
immediately before the unload event.
redirectEnd, unloadEventStart,
unloadEventEnd and
+ "PerformanceNavigationTiming">unloadEventEnd,
+ workerStart and
redirectCount to 0. Then,
- return to fetch-start-step with
+ return to worker-start-step with
the new resource.
nextHopProtocol
, unloadEventStart and
+ "PerformanceNavigationTiming">unloadEventStart,
+ unloadEventEnd and
unloadEventEnd. Set
+ "PerformanceNavigationTiming">workerStart. Set
nextHopProtocol
to the empty {{DOMString}}.
@@ -1445,7 +1455,7 @@
"PerformanceNavigationTiming">unloadEventEnd.
time immediately before the user agent fired an event named `fetch` at
the active
- worker. If there were redirects, this is the start time of
- the the active worker of the first same-origin document in the redirect
- chain.
+ worker. If the same-origin check
+ fails, this attribute MUST return zero.
If there is no active worker for the current document,
this attribute MUST return zero.
This figure illustrates the timing attributes defined by the
{{PerformanceNavigationTiming}} interface. Attributes in
parenthesis indicate that they may not be available for navigations
- involving documents from different origins.
From b8e3550f57262b6ada1208ac51edaa6e2a130895 Mon Sep 17 00:00:00 2001
From: Nic Jansma
request.
{{DOMString}} "
navigation
".
- workerStart
attribute MUST return the time immediately
- before the user agent ran the worker (if the
- current document has an active
- service worker registration [[SERVICE-WORKERS]]) required to
- service the request, or if the worker was already available, the
- time immediately before the user agent fired an event named `fetch` at
- the active
- worker. If the same-origin check
- fails, this attribute MUST return zero.
- If there is no active worker for the current document,
- this attribute MUST return zero.
+ workerStart attribute:
+
+
"PerformanceNavigationTiming">workerStart and
redirectCount to 0. Then,
- return to worker-start-step with
+ return to fetch-start-step with
the new resource.
workerStart
attribute:
-
@@ -819,7 +821,7 @@
"PerformanceNavigationTiming">workerStart and
redirectCount to 0. Then,
- return to fetch-start-step with
+ return to worker-start-step with
the new resource.
current time as unloadEventEnd.
+
+
+
+
+
redirectEnd, unloadEventStart,
unloadEventEnd,
- workerStart and
- unloadEventEnd
+ and redirectCount to 0. Then,
return to worker-start-step with
the new resource.
From 6d60531b2ff4b54ae356e14e260e18b2e7b6bd16 Mon Sep 17 00:00:00 2001
From: Nic Jansma
"resource-timing-2#dom-performanceresourcetiming-nexthopprotocol">
nextHopProtocol
to the empty {{DOMString}}.
@@ -672,7 +673,6 @@
current time as unloadEventEnd.
@@ -686,7 +686,7 @@
If the [=request/current url=] has an active
worker registration:
-
{{DOMString}} "
navigation
".
- workerStart
attribute:
+ workerStart attribute getter does the following:
The loadEventEnd attribute MUST return a DOMHighResTimeStamp with a time value equal to the time when the load event of the current - document is completed. It MUST return a DOMHighResTimeStamp with a - time value equal to zero when the load event is not fired or is not - completed. + document is completed. It MUST return zero when the load + event is not fired or is not completed.
The type attribute MUST return a {{DOMString}} describing @@ -627,8 +622,7 @@
navigation
".
nextHopProtocol
to the empty {{DOMString}}.