[webkit-changes] [WebKit/WebKit] ff6ffc: [GLib] Some default values for WebKitSettings prop...

Adrian Perez noreply at github.com
Fri Jun 28 04:39:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ff6ffc06d5f8dda289e1d51e3b9a86d3370f342b
      https://github.com/WebKit/WebKit/commit/ff6ffc06d5f8dda289e1d51e3b9a86d3370f342b
  Author: Adrian Perez de Castro <aperez at igalia.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/WKPreferences.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp
    M Tools/WebKitTestRunner/TestOptions.cpp

  Log Message:
  -----------
  [GLib] Some default values for WebKitSettings properties do not match UnifiedWebPreferences.yaml
https://bugs.webkit.org/show_bug.cgi?id=255779
<rdar://problem/130018124>

Reviewed by Carlos Garcia Campos.

Re-land 280080 at main after fixing the tests regressions. The issue was that for the GTK/WPE ports the
EncryptedMedia and MediaCapabilities preferences are now disabled by default, so they need to be
re-enabled in TestOptions, otherwise the tests will fail.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:
(webKitSettingsConstructed):
(webkit_settings_class_init):
* Tools/TestWebKitAPI/Tests/WebKit/WKPreferences.cpp:
(TestWebKitAPI::TEST(WebKit, WKPreferencesDefaults)):
* Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
(testWebKitSettings):
(testWebKitFeatures):
(testWebKitSettingsApplyFromConfigFile):
* Tools/WebKitTestRunner/TestOptions.cpp:
(WTR::TestOptions::defaults):

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



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


More information about the webkit-changes mailing list