From 1f437e92bae9d4d24e8127565b91cf1b137f74b2 Mon Sep 17 00:00:00 2001 From: Mingyu Lei Date: Tue, 10 Jun 2025 12:09:27 +0900 Subject: [PATCH 1/2] Add new strings for notRestoredReason --- source | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/source b/source index 8966f3b8e89..fbc743263ee 100644 --- a/source +++ b/source @@ -98093,6 +98093,14 @@ interface NotRestoredReasons { RTCDataChannel was shut down, so the page was not in a state that could be stored in the back/forward cache. WEBRTC +
"rtc-used-with-cache-control-no-store" +
The Document was created from an HTTP response whose + `Cache-Control` header included the + "no-store" token, and it has created a RTCPeerConnection or + RTCDataChannel which might be used to receive sensitive information, so the page was + not in a state that could be stored in the back/forward cache. + HTTP WEBRTC
+
"sensors"
The Document requested sensor access.
@@ -98161,11 +98169,25 @@ interface NotRestoredReasons {
The Document used the Web Share API's navigator.share() method.
+
"websocket-used-with-cache-control-no-store" +
The Document was created from an HTTP response whose + `Cache-Control` header included the + "no-store" token, and it has created a WebSocket connection + which might be used to receive sensitive information, so the page was not in a state that could be + stored in the back/forward cache. HTTP WEBSOCKETS
+
"webtransport"
While unloading, an open WebTransport connection was shut down, so the page was not in a state that could be stored in the back/forward cache. WEBTRANSPORT
+
"webtransport-used-with-cache-control-no-store" +
The Document was created from an HTTP response whose + `Cache-Control` header included the + "no-store" token, and it has created a WebTransport connection + which might be used to receive sensitive information, so the page was not in a state that could be + stored in the back/forward cache. HTTP WEBTRANSPORT
+
"webxrdevice"
The Document created a XRSystem.
From e97e93c80e9cbc7c972fec2be97219066ab7c8b4 Mon Sep 17 00:00:00 2001 From: Mingyu Lei Date: Tue, 17 Jun 2025 01:36:00 +0900 Subject: [PATCH 2/2] Fix formatting --- source | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source b/source index fbc743263ee..fb126a4a7af 100644 --- a/source +++ b/source @@ -98093,8 +98093,8 @@ interface NotRestoredReasons { RTCDataChannel was shut down, so the page was not in a state that could be stored in the back/forward cache. WEBRTC -
"rtc-used-with-cache-control-no-store" -
The Document was created from an HTTP response whose +
"rtc-used-with-cache-control-no-store"
+
The Document was created from an HTTP response whose `Cache-Control` header included the "no-store" token, and it has created a RTCPeerConnection or RTCDataChannel which might be used to receive sensitive information, so the page was @@ -98169,8 +98169,8 @@ interface NotRestoredReasons {
The Document used the Web Share API's navigator.share() method.
-
"websocket-used-with-cache-control-no-store" -
The Document was created from an HTTP response whose +
"websocket-used-with-cache-control-no-store"
+
The Document was created from an HTTP response whose `Cache-Control` header included the "no-store" token, and it has created a WebSocket connection which might be used to receive sensitive information, so the page was not in a state that could be @@ -98181,8 +98181,8 @@ interface NotRestoredReasons { connection was shut down, so the page was not in a state that could be stored in the back/forward cache. WEBTRANSPORT
-
"webtransport-used-with-cache-control-no-store" -
The Document was created from an HTTP response whose +
"webtransport-used-with-cache-control-no-store"
+
The Document was created from an HTTP response whose `Cache-Control` header included the "no-store" token, and it has created a WebTransport connection which might be used to receive sensitive information, so the page was not in a state that could be