Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a008f1a1f7ea02bae815a09d18688b2d076c130d
https://github.com/WebKit/WebKit/commit/a008f1a1f7ea02bae815a09d18688b2d076c130d
Author: Sihui Liu <[email protected]>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M Source/WebCore/dom/Document.h
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/Internals.h
M Source/WebCore/testing/Internals.idl
M Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp
Log Message:
-----------
Remove Internals.shouldSkipResourceMonitorThrottling
https://bugs.webkit.org/show_bug.cgi?id=316451
rdar://178848413
Reviewed by Per Arne Vollan.
Follow-up to 314057@main which removed the only test usage of this API (setting
it to `false` in monitor-setup.js, which
was a no-op since the default is already `false`). Remove the Internals
getter/setter, the IDL attribute, the Document
member and its getter/setter, and the corresponding bypass check in
WebLocalFrameLoaderClient::didExceedNetworkUsageThreshold.
* Source/WebCore/dom/Document.h:
(WebCore::Document::shouldSkipResourceMonitorThrottling const): Deleted.
(WebCore::Document::setShouldSkipResourceMonitorThrottling): Deleted.
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::shouldSkipResourceMonitorThrottling const): Deleted.
(WebCore::Internals::setShouldSkipResourceMonitorThrottling): Deleted.
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
* Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp:
(WebKit::WebLocalFrameLoaderClient::didExceedNetworkUsageThreshold):
Canonical link: https://commits.webkit.org/314870@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications