Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56677f10e903d3ee45cf7526e1db5e6f202d7674
      
https://github.com/WebKit/WebKit/commit/56677f10e903d3ee45cf7526e1db5e6f202d7674
  Author: Elijah Sawyers <[email protected]>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WebKit/WebProcess/Extensions/API/WebExtensionAPINamespace.cpp
    M 
Source/WebKit/WebProcess/Extensions/Interfaces/WebExtensionAPINamespace.idl

  Log Message:
  -----------
  Add a feature flag for the browser.notifications web extension API
https://bugs.webkit.org/show_bug.cgi?id=324389
rdar://187613186

Reviewed by Kiara Rose.

This patch adds a WebExtensionNotificationsEnabled runtime preference (in the
extensions category), gated by a new ENABLE_WK_WEB_EXTENSIONS_NOTIFICATIONS
compile-time flag, mirroring the offscreen API. The compile flag tracks
ENABLE_WK_WEB_EXTENSIONS so the code is built and tested on trunk, while the
preference defaults to off so browser.notifications stays hidden from users
until the implementation is complete. It was previously exposed only in
testing mode; it is now also available when the preference is enabled.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebKit/WebProcess/Extensions/API/WebExtensionAPINamespace.cpp:
(WebKit::WebExtensionAPINamespace::isPropertyAllowed):
* Source/WebKit/WebProcess/Extensions/Interfaces/WebExtensionAPINamespace.idl:

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



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

Reply via email to