[webkit-changes] [WebKit/WebKit] ac0de2: Remove PaintTimingEnabled preference
Anne van Kesteren
noreply at github.com
Tue Nov 21 23:40:13 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ac0de290147c3b8135d9c31a4ed6f5b78d1fa3b7
https://github.com/WebKit/WebKit/commit/ac0de290147c3b8135d9c31a4ed6f5b78d1fa3b7
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/dom/Document.cpp
M Source/WebCore/page/DeprecatedGlobalSettings.h
M Source/WebCore/page/PerformanceEntry.cpp
M Source/WebCore/page/PerformancePaintTiming.idl
M Source/WebKit/UIProcess/API/C/WKPreferences.cpp
M Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h
M Tools/DumpRenderTree/TestOptions.cpp
Log Message:
-----------
Remove PaintTimingEnabled preference
https://bugs.webkit.org/show_bug.cgi?id=265194
Reviewed by Timothy Hatcher.
Reduce the number of branches to maintain. This enables this feature in
WebKitLegacy, but that seems acceptable (perhaps even desired as per
the FIXME).
Also tidy up a couple of prior preference removals.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::supportsPaintTiming const):
* Source/WebCore/page/DeprecatedGlobalSettings.h:
(WebCore::DeprecatedGlobalSettings::setPaintTimingEnabled): Deleted.
(WebCore::DeprecatedGlobalSettings::paintTimingEnabled): Deleted.
* Source/WebCore/page/PerformanceEntry.cpp:
(WebCore::PerformanceEntry::parseEntryTypeString):
* Source/WebCore/page/PerformancePaintTiming.idl:
* Source/WebKit/UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetPaintTimingEnabled):
(WKPreferencesGetPaintTimingEnabled):
(WKPreferencesSetRequestAnimationFrameEnabled):
(WKPreferencesGetRequestAnimationFrameEnabled):
(WKPreferencesSetIntersectionObserverEnabled):
(WKPreferencesGetIntersectionObserverEnabled):
(WKPreferencesSetMenuItemElementEnabled):
(WKPreferencesGetMenuItemElementEnabled):
* Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h:
* Tools/DumpRenderTree/TestOptions.cpp:
(WTR::TestOptions::defaults):
Canonical link: https://commits.webkit.org/271039@main
More information about the webkit-changes
mailing list