From 361b6675a3c0ba31b91cdc96714dcb3d5182a20b Mon Sep 17 00:00:00 2001
From: Domenic Denicola For the purpose of tracking user activation, each For the purpose of tracking user activation, each A last activation timestamp, which is either a
@@ -80201,6 +80201,8 @@ interface VisibilityStateEntry : PerformanceEntry A last history-action activation timestamp, which is either a
A sticky activation override, a boolean, initially false. A user agent also defines a transient activation duration, which is a constant
@@ -80217,12 +80219,14 @@ interface VisibilityStateEntry : PerformanceEntrySticky activation
When the current high resolution time given W is greater than or
- equal to the last activation timestamp in W, W is said to
- have sticky activation. This is W's historical activation state, indicating whether the user has ever
interacted in W. It starts false, then changes to true (and never changes back to
- false) when W gets the very first activation notification.Window W has two
- relevant values:Window W has the
+ following relevant values:
DOMHighResTimeStamp or positive infinity, initially positive infinity.
If navigable's active window has + sticky activation, and navigable's active + document's origin is same + origin with navigationParams's origin, then set window's sticky + activation override to true.
This is the usual case, where the new Document we're about to
From ad0e6b8914fdabe01cf83ed6cb4ae927b6950b8c Mon Sep 17 00:00:00 2001
From: Domenic Denicola
A last history-action activation timestamp, which is either a
- DOMHighResTimeStamp or positive infinity, initially positive infinity.
A has history-action activation boolean, initially false.
A sticky activation override, a boolean, initially false.
A has sticky activation boolean, initially false.
A user agent also defines a transient activation duration, which is a constant
@@ -80218,10 +80217,8 @@ interface VisibilityStateEntry : PerformanceEntry
When the current high resolution time given W is greater than or
- equal to the last activation timestamp in W, or W's
- sticky activation override is true, W is said to have sticky
- activation. When W's has sticky activation is true, W is said to have
+ sticky activation. This is W's historical activation state, indicating whether the user has ever
interacted in W. It starts false, then changes to true (and never changes back to
@@ -80249,9 +80246,8 @@ interface VisibilityStateEntry : PerformanceEntryHistory-action activation
When the last history-action activation timestamp of W is not equal
- to the last activation timestamp of W, then W is said to have
- history-action activation. When W's has history-action activation is true, then W is
+ said to have history-action activation. This is a special variant of user activation, used to allow access to certain session history
APIs which, if used too frequently, would make it harder for the user to traverse back using VisibilityStateEntry : PerformanceEntry
- The last activation timestamp and last history-action
- activation timestamp are retained even after the Set window's last activation timestamp to the current
high resolution time. Set window's has history-action activation to true. Set window's has sticky activation to true. Notify the close watcher manager about user activation given
window. For each window in windows, set
- window's last history-action activation timestamp to window's
- last activation timestamp. Note the asymmetry in the sets of browsing
@@ -106378,8 +106376,8 @@ location.href = '#foo';
sticky activation, and navigable's active
document's origin is same
origin with navigationParams's origin, then set window's sticky
- activation override to true.Document changes its
- fully active status (e.g., after navigating away from a Document, or
- navigating to a cached Document). This means sticky activation state
- spans multiple navigations as long as the same Document gets reused. For the
- transient activation state, the original expiry time
- remains unchanged (i.e., the state still expires within the transient activation
- duration limit from the original activation triggering input event). It is
- important to consider this when deciding whether to base certain things off sticky
- activation or transient activation.Processing model
@@ -80306,6 +80301,10 @@ interface VisibilityStateEntry : PerformanceEntry
This is the usual case, where the new Document we're about to
From fae6b36ecdb2822a9c1f3adf764d550dec444d4b Mon Sep 17 00:00:00 2001
From: Domenic Denicola
If navigable's active window has - sticky activation, and navigable's active - document's origin is same - origin with navigationParams's origin, then set window's has sticky - activation to true.
If browsingContext's active window has sticky + activation, and browsingContext's active document's origin is same origin with + navigationParams's origin, then set + window's has sticky activation to true.
This is the usual case, where the new Document we're about to
From 3939d915c4fe5989d7d4ac9ffafde2dae72ac6dd Mon Sep 17 00:00:00 2001
From: Domenic Denicola
Let stickyActivationToCarryOver be false.
If displayedDocument's relevant global object has sticky + activation, and displayDocument's origin is same origin with + targetEntry's document's origin, then set stickyActivationToCarryOver + to true.
If changingNavigableContinuation's update-only is true, or @@ -104952,7 +104962,8 @@ location.href = '#foo'; changingNavigableContinuation's update-only, scriptHistoryLength, scriptHistoryIndex, navigationType, - entriesForNavigationAPI, and previousEntry.
If targetEntry's document is equal to displayedDocument, then perform updateDocument.
NavigationType-or-null navigationType, an
optional list of session history entries
- entriesForNavigationAPI, and an optional session history entry
- previousEntryForActivation:
+ entriesForNavigationAPI, an optional session history entry
+ previousEntryForActivation, and an optional boolean
+ stickyActivationToCarryOver (default false):
Let documentIsNew be true if document's latest entry @@ -105659,7 +105671,8 @@ location.href = '#foo';
Assert: entriesForNavigationAPI is given.
Reactivate document given - entry and entriesForNavigationAPI.
+ entry, entriesForNavigationAPI, and + stickyActivationToCarryOver.documentsEntryChanged can be false for one of two reasons: either we @@ -105710,8 +105723,9 @@ location.href = '#foo';
To reactivate a
Document document given a session history entry
- reactivatedEntry and a list of session history entries entriesForNavigationAPI:
This algorithm updates document after it has come out of bfcache, i.e., after it has been made fully active @@ -105720,6 +105734,16 @@ location.href = '#foo'; of events that happen in effect of the change is clear.
If stickyActivationToCarryOver is true, then set document's + relevant global object's has sticky activation to true.
+ +This means we are performing a
+ same-origin traverse from a document with sticky activation, in which case, we want to carry
+ over sticky activation if present, even if this bfcached Document did not
+ originally have it.
For each
formControl of form controls in document with an autofill field
name of "off", invoke the
data-x="navigation-params-origin">origin.
If navigable's container is not null, - then:
+If navigationParams's navigable's container is not null, then:
Let parentEnvironment be navigable's
Date: Fri, 22 Aug 2025 14:59:29 +0900
Subject: [PATCH 5/6] Fix build oops
---
source | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/source b/source
index e8bca0fde73..669d3d51f2c 100644
--- a/source
+++ b/source
@@ -105736,7 +105736,7 @@ location.href = '#foo';
If stickyActivationToCarryOver is true, then set document's
- relevant global object's has sticky activation to true.
This means we are performing a same-origin traverse from a document with sticky activation, in which case, we want to carry @@ -106376,7 +106376,8 @@ location.href = '#foo'; data-x="navigation-params-origin">origin.
If navigationParams's navigable's If navigationParams's navigable's container is not null, then:
For each window in windows, set +
For each window of windows, set window's has history-action activation to false.
If navigationParams's navigable's container is not null, then:
+ data-x="nav-container">container is not null:Let parentEnvironment be navigable's