Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 124eb520694fb1d752877e2cea6044d954e932e5
https://github.com/WebKit/WebKit/commit/124eb520694fb1d752877e2cea6044d954e932e5
Author: Basuke Suzuki <[email protected]>
Date: 2025-02-20 (Thu, 20 Feb 2025)
Changed paths:
M Source/WebCore/loader/ResourceMonitor.cpp
M Source/WebCore/loader/ResourceMonitor.h
Log Message:
-----------
Stop propagating the eligibility of ResourceMonitor to the non-eligible
parent iframe.
https://bugs.webkit.org/show_bug.cgi?id=288016
rdar://145172135
Reviewed by Per Arne Vollan.
In the current implementation, the positive eligibility is delivered to parent
iframe and that makes
the parent also eligible. It should not be delivered to parent iframe if it's
not eligible.
Same thing for networking usage. Stop reporting it to non-eligible iframe.
* Source/WebCore/loader/ResourceMonitor.cpp:
(WebCore::ResourceMonitor::setEligibility):
(WebCore::ResourceMonitor::addNetworkUsage):
(WebCore::ResourceMonitor::checkNetworkUsageExcessIfNecessary):
* Source/WebCore/loader/ResourceMonitor.h:
Canonical link: https://commits.webkit.org/290755@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes