[webkit-changes] [WebKit/WebKit] b2b22d: Make the NotificationData NSDictionary representat...

Brady Eidson noreply at github.com
Thu May 25 18:26:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b2b22d7e5d2c187d224ca3cfb1c560d83fb2d794
      https://github.com/WebKit/WebKit/commit/b2b22d7e5d2c187d224ca3cfb1c560d83fb2d794
  Author: Brady Eidson <beidson at apple.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M Source/WebCore/Modules/notifications/NotificationDataCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/PushAPI.mm

  Log Message:
  -----------
  Make the NotificationData NSDictionary representation property list serializable
https://bugs.webkit.org/show_bug.cgi?id=257339
rdar://109734742

Reviewed by Tim Horton.

Only put the silent value in the dictionary if it exists.

* Source/WebCore/Modules/notifications/NotificationDataCocoa.mm:
(WebCore::NotificationData::dictionaryRepresentation const):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/PushAPI.mm:

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




More information about the webkit-changes mailing list