<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>215962</bug_id>
          
          <creation_ts>2020-08-28 17:56:10 -0700</creation_ts>
          <short_desc>Delete DeprecatedGlobalSettings</short_desc>
          <delta_ts>2025-07-29 19:31:45 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=216182</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>250192</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Weinig">sam</reporter>
          <assigned_to name="Sam Weinig">sam</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>graouts</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1683845</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2020-08-28 17:56:10 -0700</bug_when>
    <thetext>DeprecatedGlobalSettings has been named deprecated for many years. Let&apos;s finish it off, and find new homes for its members.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1684921</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2020-09-02 12:36:07 -0700</bug_when>
    <thetext>Most of the very straightforward ones out of the way, now onto the more complicated ones (only listing the getter half of each):


    static bool shouldUseHighResolutionTimers() { return gShouldUseHighResolutionTimers; }

Windows only, used in platform/win/MainThreadSharedTimerWin.cpp (layering violation).


    static bool isAVFoundationEnabled() { return gAVFoundationEnabled; }

Used in platform/graphics/MediaPlayer.cpp (layering violation).


    static bool isAVFoundationNSURLSessionEnabled() { return gAVFoundationNSURLSessionEnabled; }

Used in platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (layering violation).


    static bool isGStreamerEnabled() { return gGStreamerEnabled; }

Used in platform/graphics/MediaPlayer.cpp (layering violation).


    WEBCORE_EXPORT static bool mockScrollbarsEnabled();

Used in platform/ScrollbarTheme.cpp (layering violation) and testing/InternalSettings.cpp.


    static bool usesOverlayScrollbars();

Used in platform/adwaita/ScrollbarThemeAdwaita.cpp (layering violation), platform/mock/ScrollbarThemeMock.cpp (layering violation), platform/Mac/NSScrollerImpDetails.mm (layering violation) and platform/Mac/ScrollbarThemeMac.mm (layering violation).


    static bool usesMockScrollAnimator();

Used in page/FrameView.cpp, rendering/RenderLayer.cpp, rendering/RenderListBox.cpp. (this one it seems like we could move to Settings.yaml).



    static bool shouldRespectPriorityInCSSAttributeSetters();

Used in css/CSSStyleDeclaration.cpp.


    static bool lowPowerVideoAudioBufferSizeEnabled() { return gLowPowerVideoAudioBufferSizeEnabled; }

Used in platform/audio/cocoa/MediaSessionManagerCocoa.mm (layering violation).


    static bool resourceLoadStatisticsEnabled() { return gResourceLoadStatisticsEnabledEnabled; }

Used in dom/Document.cpp, WebKit/WebProcess/WebProcess.cpp and WebKit/WebProcess/WebPage/WebCookieJar.cpp.


    static unsigned audioSessionCategoryOverride();

Not used anywhere, though setter is, and calls down to AudioSession::sharedSession().setCategoryOverride(...).


    static bool networkDataUsageTrackingEnabled();

Not used anywhere.


    static const String&amp; networkInterfaceName();

Used in WebCore/html/HTMLMediaElement.cpp (this one it seems like we could move to Settings.yaml, probably needs a clearer names, since it is only used for some media related purposes).


    static bool disableScreenSizeOverride() { return gDisableScreenSizeOverride; }

Not used anywhere.


    static bool avKitEnabled() { return gAVKitEnabled; }

Used in WebKit/WebProcess/cocoa/VideoFullscreenManager.mm, WebKitLegacy/mac/WebCoreSupport/WebChromeClient.mm and WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp (layering violation).


    static bool shouldOptOutOfNetworkStateObservation() { return gShouldOptOutOfNetworkStateObservation; }

Used in WebCore/platform/network/iOS/NetworkStateNotifierIOS.mm (layering violation).


    static bool shouldManageAudioSessionCategory() { return gManageAudioSession; }

Used in WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm (layering violation), WebCore/platform/mediastream/Mac/BaseAudioSharedUnit.cpp (layering violation), and WebCore/testing/InternalSettings.cpp.


    static bool allowsAnySSLCertificate();

Used in WebCore/platform/network/cf/SocketStreamHandleImplCFNet.cpp (layering violation), WebCore/platform/network/curl/SocketStreamHandleImplCurl.cpp (layering violation) and WebKit/NetworkProcess/soup/NetworkSessionSoup.cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1685028</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2020-09-02 15:35:27 -0700</bug_when>
    <thetext>(In reply to Sam Weinig from comment #1)
&gt; 
&gt; 
&gt;     static bool disableScreenSizeOverride() { return
&gt; gDisableScreenSizeOverride; }
&gt; 
&gt; Not used anywhere.

Actually, this one is indeed still used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1685966</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-09-04 17:57:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/68375087&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1990120</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-11-06 01:58:15 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 250192 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1990122</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-11-06 02:00:33 -0800</bug_when>
    <thetext>Actually we can use this bug to remove the file itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2133287</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-07-29 19:31:45 -0700</bug_when>
    <thetext>We still has this - https://searchfox.org/wubkat/search?q=DeprecatedGlobalSettings&amp;path=&amp;case=false&amp;regexp=false</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>