From 80cb060235a349e79b076a7ed2b5352f0d0fb95e Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Thu, 14 Dec 2023 06:26:52 +0000
Subject: [PATCH 01/12] add nrr
---
index.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/index.html b/index.html
index d85724e..9025f47 100644
--- a/index.html
+++ b/index.html
@@ -372,6 +372,7 @@
readonly attribute NavigationTimingType type;
readonly attribute unsigned short redirectCount;
readonly attribute DOMHighResTimeStamp criticalCHRestart;
+ readonly attribute NotRestoredReasons? notRestoredReasons;
[Default] object toJSON();
};
@@ -393,6 +394,9 @@
A PerformanceNavigationTiming has an associated
{{DOMHighResTimeStamp}} `Critical-CH` restart time.
+
A PerformanceNavigationTiming has an associated
+ {{NotRestoredReasons}} not restored reasons.
+
A {{PerformanceNavigationTiming}} has an associated null or [=service worker timing info=]
service worker timing.
From f03ed04298fea3df2754ed95c0290e9b4d02caba Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Thu, 21 Dec 2023 06:41:58 +0000
Subject: [PATCH 02/12] wip: creating nrr needs reference
---
index.html | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/index.html b/index.html
index 9025f47..96f3a11 100644
--- a/index.html
+++ b/index.html
@@ -506,6 +506,9 @@
the moment the redirection part of the navigation was restarted.
+
+ The notRestoredReasons getter steps are to return |this|'s
+ not restored reasons.
The toJSON() method runs the [=default toJSON steps=] for [=this=].
@@ -619,6 +622,10 @@ Creating a navigation timing entry
Set |document|'s navigation timing entry to |navigationTimingEntry|.
Set |navigationTimingEntry|'s `Critical-CH` restart time
to |criticalCHRestart|.
+ Set |navigationTimingEntry|'s not restored
+ reasons to the result of creating a NotRestoredReasons object given |document|'s
+ node navigable's active session history entry's document state's not restored reasons
+ and realm.
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From b23f60239e0c97466aaf8434dbe4f78ce13c9926 Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Tue, 23 Jan 2024 04:33:20 +0000
Subject: [PATCH 03/12] add outermost
---
index.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/index.html b/index.html
index 96f3a11..6fd79ec 100644
--- a/index.html
+++ b/index.html
@@ -622,10 +622,10 @@ Creating a navigation timing entry
Set |document|'s navigation timing entry to |navigationTimingEntry|.
Set |navigationTimingEntry|'s `Critical-CH` restart time
to |criticalCHRestart|.
- Set |navigationTimingEntry|'s not restored
- reasons to the result of creating a NotRestoredReasons object given |document|'s
- node navigable's active session history entry's document state's not restored reasons
- and realm.
+ If |document| is the outermost main frame's document, set |navigationTimingEntry|'s
+ not restored reasons to the result of
+ creating a NotRestoredReasons object given |document|'s node navigable's active session
+ history entry's document state's not restored reasons and realm.
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From 3e2cf4a274cf48364b92c9eb11d930b0bf666a79 Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Tue, 23 Jan 2024 04:37:34 +0000
Subject: [PATCH 04/12] add realm
---
index.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 6fd79ec..859d677 100644
--- a/index.html
+++ b/index.html
@@ -624,8 +624,9 @@ Creating a navigation timing entry
to |criticalCHRestart|.
If |document| is the outermost main frame's document, set |navigationTimingEntry|'s
not restored reasons to the result of
- creating a NotRestoredReasons object given |document|'s node navigable's active session
- history entry's document state's not restored reasons and realm.
+ creating a NotRestoredReasons object given |document|'s node navigable's active[=session
+ history entry=]'s document state's not restored reasons and |global|'s
+ [=global object/realm=].
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From 2637c7a4925c317e1719db9445444928907ae43d Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Tue, 23 Jan 2024 04:40:21 +0000
Subject: [PATCH 05/12] remove session history
---
index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 859d677..4740472 100644
--- a/index.html
+++ b/index.html
@@ -624,8 +624,8 @@ Creating a navigation timing entry
to |criticalCHRestart|.
If |document| is the outermost main frame's document, set |navigationTimingEntry|'s
not restored reasons to the result of
- creating a NotRestoredReasons object given |document|'s node navigable's active[=session
- history entry=]'s document state's not restored reasons and |global|'s
+ creating a NotRestoredReasons object given |document|'s node navigable's active session
+ history entry's document state's not restored reasons and |global|'s
[=global object/realm=].
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From 6492c2d23e43793a13d8250dbbbd8263d3c02149 Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Tue, 23 Jan 2024 04:42:34 +0000
Subject: [PATCH 06/12] remove realm
---
index.html | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 4740472..6fd79ec 100644
--- a/index.html
+++ b/index.html
@@ -625,8 +625,7 @@ Creating a navigation timing entry
If |document| is the outermost main frame's document, set |navigationTimingEntry|'s
not restored reasons to the result of
creating a NotRestoredReasons object given |document|'s node navigable's active session
- history entry's document state's not restored reasons and |global|'s
- [=global object/realm=].
+ history entry's document state's not restored reasons and realm.
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From b9146835d872179ae3896a4e56e2ec0706587d9a Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Tue, 23 Jan 2024 04:47:30 +0000
Subject: [PATCH 07/12] mc
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 6fd79ec..61e59eb 100644
--- a/index.html
+++ b/index.html
@@ -622,7 +622,7 @@ Creating a navigation timing entry
Set |document|'s navigation timing entry to |navigationTimingEntry|.
Set |navigationTimingEntry|'s `Critical-CH` restart time
to |criticalCHRestart|.
- If |document| is the outermost main frame's document, set |navigationTimingEntry|'s
+ If document is the outermost main frame's document, set |navigationTimingEntry|'s
not restored reasons to the result of
creating a NotRestoredReasons object given |document|'s node navigable's active session
history entry's document state's not restored reasons and realm.
From 1ed8f7bdf7800111f440a167f59732487d1a0d8a Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Tue, 23 Jan 2024 06:28:32 +0000
Subject: [PATCH 08/12] Update to relect HTML spec change
---
index.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/index.html b/index.html
index 61e59eb..e71baa4 100644
--- a/index.html
+++ b/index.html
@@ -622,10 +622,10 @@ Creating a navigation timing entry
Set |document|'s navigation timing entry to |navigationTimingEntry|.
Set |navigationTimingEntry|'s `Critical-CH` restart time
to |criticalCHRestart|.
- If document is the outermost main frame's document, set |navigationTimingEntry|'s
- not restored reasons to the result of
- creating a NotRestoredReasons object given |document|'s node navigable's active session
- history entry's document state's not restored reasons and realm.
+ If |document|'s [=Document/not restored reasons=] is not null, then set
+ |navigationTimingEntry|'s [=PerformanceNavigationTiming/not restored reasons=] to the
+ result of [=creating a NotRestoredReasons object=] given |document|'s
+ [=Document/not restored reasons=].
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From ec8fcf9518a880ecd03d6d7834b8a9c90043cc69 Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Wed, 28 Feb 2024 05:28:39 +0000
Subject: [PATCH 09/12] remove null check
---
index.html | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/index.html b/index.html
index e71baa4..14a1f2f 100644
--- a/index.html
+++ b/index.html
@@ -622,9 +622,8 @@ Creating a navigation timing entry
Set |document|'s navigation timing entry to |navigationTimingEntry|.
Set |navigationTimingEntry|'s `Critical-CH` restart time
to |criticalCHRestart|.
- If |document|'s [=Document/not restored reasons=] is not null, then set
- |navigationTimingEntry|'s [=PerformanceNavigationTiming/not restored reasons=] to the
- result of [=creating a NotRestoredReasons object=] given |document|'s
+ Set |navigationTimingEntry|'s [=PerformanceNavigationTiming/not restored reasons=]
+ to the result of [=creating a NotRestoredReasons object=] given |document|'s
[=Document/not restored reasons=].
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From bbc70c13047e503fa361e0eb7795853f3a921871 Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Thu, 29 Feb 2024 04:57:16 +0000
Subject: [PATCH 10/12] use xref
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 14a1f2f..eaefa52 100644
--- a/index.html
+++ b/index.html
@@ -623,7 +623,7 @@ Creating a navigation timing entry
Set |navigationTimingEntry|'s `Critical-CH` restart time
to |criticalCHRestart|.
Set |navigationTimingEntry|'s [=PerformanceNavigationTiming/not restored reasons=]
- to the result of [=creating a NotRestoredReasons object=] given |document|'s
+ to the result of [=creating a notrestoredreasons object=] given |document|'s
[=Document/not restored reasons=].
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From 15486d8f491d48e1cf764a3520588577fd7ef889 Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Thu, 29 Feb 2024 05:20:52 +0000
Subject: [PATCH 11/12] creating to create
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index eaefa52..9fcdd67 100644
--- a/index.html
+++ b/index.html
@@ -623,7 +623,7 @@ Creating a navigation timing entry
Set |navigationTimingEntry|'s `Critical-CH` restart time
to |criticalCHRestart|.
Set |navigationTimingEntry|'s [=PerformanceNavigationTiming/not restored reasons=]
- to the result of [=creating a notrestoredreasons object=] given |document|'s
+ to the result of [=create a notrestoredreasons object=] given |document|'s
[=Document/not restored reasons=].
add |navigationTimingEntry| to |global|'s
performance entry buffer.
From c5066615dccb208f5d922bd5f981af54de976e14 Mon Sep 17 00:00:00 2001
From: rubberyuzu
Date: Mon, 4 Mar 2024 05:49:41 +0000
Subject: [PATCH 12/12] use data-lt
---
index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index d0c331e..55c5f79 100644
--- a/index.html
+++ b/index.html
@@ -623,8 +623,8 @@ Creating a navigation timing entry
Set |navigationTimingEntry|'s `Critical-CH` restart time
to |criticalCHRestart|.
Set |navigationTimingEntry|'s [=PerformanceNavigationTiming/not restored reasons=]
- to the result of [=create a notrestoredreasons object=] given |document|'s
- [=Document/not restored reasons=].
+ to the result of creating a
+ NotRestoredReasons object given |document|'s [=Document/not restored reasons=].
add |navigationTimingEntry| to |global|'s
performance entry buffer.