[webkit-changes] [WebKit/WebKit] 69a533: Remove release assertions in `WebNotificationManag...

Charlie Wolfe noreply at github.com
Mon Oct 21 21:58:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 69a5334b6a2417631b21e5a9b1b4bb8c09afe5f1
      https://github.com/WebKit/WebKit/commit/69a5334b6a2417631b21e5a9b1b4bb8c09afe5f1
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Notifications/WebNotificationManagerMessageHandler.cpp

  Log Message:
  -----------
  Remove release assertions in `WebNotificationManagerMessageHandler`
https://bugs.webkit.org/show_bug.cgi?id=281893
rdar://137740728

Reviewed by Ben Nham.

Change the assertions to be debug only to avoid crashing during IPC fuzzing.

* Source/WebKit/UIProcess/Notifications/WebNotificationManagerMessageHandler.cpp:
(WebKit::WebNotificationManagerMessageHandler::requestPermission):
(WebKit::WebNotificationManagerMessageHandler::getPermissionState):
(WebKit::WebNotificationManagerMessageHandler::getPermissionStateSync):

Canonical link: https://commits.webkit.org/285544@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