Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 476ff0a8d21e4f837dbf599efe3d8f12feace99c
      
https://github.com/WebKit/WebKit/commit/476ff0a8d21e4f837dbf599efe3d8f12feace99c
  Author: Basuke Suzuki <bas...@apple.com>
  Date:   2025-05-12 (Mon, 12 May 2025)

  Changed paths:
    M Source/WebCore/loader/ResourceMonitorThrottler.cpp
    M Source/WebKit/NetworkProcess/NetworkProcess.cpp
    M Source/WebKit/NetworkProcess/NetworkSession.cpp
    M Source/WebKit/NetworkProcess/NetworkSession.h

  Log Message:
  -----------
  REGRESSION (294151@main): [  MacOS iOS Wk2 ] 
http/tests/iframe-monitor/throttler.html is a consistent timeout
https://bugs.webkit.org/show_bug.cgi?id=292650
rdar://150816150

Reviewed by Chris Dumez.

Fix test failures caused by incomplete throttler data cleanup between tests.

The throttler persistence was fixed in 294151@main, which exposed a regression
where throttler data wasn't being properly cleared between tests. This
caused the throttler to incorrectly restrict unloading in subsequent tests,
leading to test failures.

Fixed by ensuring all throttler data is cleared between tests.

* Source/WebCore/loader/ResourceMonitorThrottler.cpp:
(WebCore::ResourceMonitorThrottler::clearAllData):
* Source/WebKit/NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::resetResourceMonitorThrottlerForTesting):
* Source/WebKit/NetworkProcess/NetworkSession.cpp:
(WebKit::NetworkSession::clearResourceMonitorThrottlerData):
(WebKit::NetworkSession::resetResourceMonitorThrottlerForTesting): Deleted.
* Source/WebKit/NetworkProcess/NetworkSession.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to