[webkit-changes] [WebKit/WebKit] d65ae5: Add Web Push and App Badge support to MiniBrowser ...

Brady Eidson noreply at github.com
Tue Sep 12 18:55:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d65ae5ea23a9dd813a65c5686600e77bf4256113
      https://github.com/WebKit/WebKit/commit/d65ae5ea23a9dd813a65c5686600e77bf4256113
  Author: Brady Eidson <beidson at apple.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M Tools/MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj
    M Tools/MiniBrowser/mac/AppDelegate.h
    M Tools/MiniBrowser/mac/AppDelegate.m
    M Tools/MiniBrowser/mac/BrowserWindowController.h
    M Tools/MiniBrowser/mac/BrowserWindowController.m
    M Tools/MiniBrowser/mac/Info.plist
    M Tools/MiniBrowser/mac/WK2BrowserWindowController.m

  Log Message:
  -----------
  Add Web Push and App Badge support to MiniBrowser for testing purposes
https://bugs.webkit.org/show_bug.cgi?id=261482
rdar://115394079

Reviewed by Andy Estes.

Fills in all the delegates and other support functionality for MiniBrowser to support Web Push from the testing service.

* Tools/MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
* Tools/MiniBrowser/mac/AppDelegate.h:
* Tools/MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate init]):
(-[BrowserAppDelegate persistentDataStore]):
(-[BrowserAppDelegate notificationPermissionsForWebsiteDataStore:]):
(-[BrowserAppDelegate userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:]):
(-[BrowserAppDelegate websiteDataStore:showNotification:]):
(+[BrowserAppDelegate currentBadge]):
(-[BrowserAppDelegate websiteDataStore:workerOrigin:updatedAppBadge:]):
(-[BrowserAppDelegate _processPendingPushMessages]):
(-[BrowserAppDelegate _handleURLEvent:withReplyEvent:]):
(-[BrowserAppDelegate awakeFromNib]):
(-[BrowserAppDelegate defaultConfiguration]):
(-[BrowserAppDelegate fetchDefaultStoreWebsiteData:]):
(-[BrowserAppDelegate fetchAndClearDefaultStoreWebsiteData:]):
(-[BrowserAppDelegate clearDefaultStoreWebsiteData:]):
(persistentDataStore): Deleted.
* Tools/MiniBrowser/mac/BrowserWindowController.h:
* Tools/MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController updateTitleForBadgeChange]):
* Tools/MiniBrowser/mac/Info.plist:
* Tools/MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController _webView:requestNotificationPermissionForSecurityOrigin:decisionHandler:]):
(-[WK2BrowserWindowController updateTitleForBadgeChange]):
(-[WK2BrowserWindowController updateTitle:]):

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




More information about the webkit-changes mailing list