Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 38e5de251688f84e101e288b166ca9254997bf78
      
https://github.com/WebKit/WebKit/commit/38e5de251688f84e101e288b166ca9254997bf78
  Author: Ryosuke Niwa <[email protected]>
  Date:   2023-08-05 (Sat, 05 Aug 2023)

  Changed paths:
    M Source/WebCore/page/DOMTimer.cpp

  Log Message:
  -----------
  makeOpportunisticTaskDeferralScopeIfPossible has a wrong early exit logic
https://bugs.webkit.org/show_bug.cgi?id=259857

Reviewed by Yusuke Suzuki and Wenson Hsieh.

We want to defer opportunistic task whenever we have a timer firing in the next 
1ms,
not whenever we have a timer firing in 1ms or later.

* Source/WebCore/page/DOMTimer.cpp:
(WebCore::DOMTimer::makeOpportunisticTaskDeferralScopeIfPossible):

Canonical link: https://commits.webkit.org/266621@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to