Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 573d332590d54627458bf9601ecbf9afd822c8bd
      
https://github.com/WebKit/WebKit/commit/573d332590d54627458bf9601ecbf9afd822c8bd
  Author: Jessica Lee <[email protected]>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebKit/Shared/Cocoa/WebPreferencesDefaultValuesCocoa.mm
    M Source/WebKit/Shared/WebPreferencesDefaultValues.h

  Log Message:
  -----------
  WebContentRestrictionsAskTo Runtime Flag should not be hard-coded to false
https://bugs.webkit.org/show_bug.cgi?id=308996
rdar://171054954

Reviewed by Sihui Liu and Tadeu Zagallo.

We should dynamically set the value of the WebContentRestrictionsAskT's runtime 
flag based on
the system's value.

No new tests needed.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebKit/Shared/Cocoa/WebPreferencesDefaultValuesCocoa.mm:
(WebKit::defaultWebContentRestrictionsAskToEnabled):
* Source/WebKit/Shared/WebPreferencesDefaultValues.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to