Title: [293635] trunk/Source/WebCore
Revision
293635
Author
[email protected]
Date
2022-04-29 15:54:41 -0700 (Fri, 29 Apr 2022)

Log Message

increase transient activation duration to 5s
https://bugs.webkit.org/show_bug.cgi?id=239832

Reviewed by Geoffrey Garen.

This matches other user agents and gives a bit more time for asynchronous work to be done.

Spec: <https://html.spec.whatwg.org/multipage/interaction.html#transient-activation-duration>

* page/DOMWindow.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (293634 => 293635)


--- trunk/Source/WebCore/ChangeLog	2022-04-29 22:40:31 UTC (rev 293634)
+++ trunk/Source/WebCore/ChangeLog	2022-04-29 22:54:41 UTC (rev 293635)
@@ -1,3 +1,16 @@
+2022-04-29  Devin Rousso  <[email protected]>
+
+        increase transient activation duration to 5s
+        https://bugs.webkit.org/show_bug.cgi?id=239832
+
+        Reviewed by Geoffrey Garen.
+
+        This matches other user agents and gives a bit more time for asynchronous work to be done.
+
+        Spec: <https://html.spec.whatwg.org/multipage/interaction.html#transient-activation-duration>
+
+        * page/DOMWindow.cpp:
+
 2022-04-29  Oriol Brufau  <[email protected]>
 
         [css-cascade] Sort shorthand properties at the end of CSSPropertyID enum

Modified: trunk/Source/WebCore/page/DOMWindow.cpp (293634 => 293635)


--- trunk/Source/WebCore/page/DOMWindow.cpp	2022-04-29 22:40:31 UTC (rev 293634)
+++ trunk/Source/WebCore/page/DOMWindow.cpp	2022-04-29 22:54:41 UTC (rev 293635)
@@ -154,7 +154,7 @@
 namespace WebCore {
 using namespace Inspector;
 
-static const Seconds defaultTransientActivationDuration { 2_s };
+static constexpr Seconds defaultTransientActivationDuration { 5_s };
 
 static WeakHashSet<DOMWindow>& windowsInterestedInStorageEvents()
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to