Title: [290859] trunk/Source/WebKit
Revision
290859
Author
[email protected]
Date
2022-03-04 18:21:44 -0800 (Fri, 04 Mar 2022)

Log Message

Change app launch scheme
https://bugs.webkit.org/show_bug.cgi?id=237480
rdar://89781553

Patch by Harrison Weinerman <[email protected]> on 2022-03-04
Reviewed by Brady Eidson.

We need to change the app launch scheme and remove an entitlement that is no longer required.

* Scripts/process-entitlements.sh:
* webpushd/WebPushDaemon.mm:
(WebPushD::Daemon::notifyClientPushMessageIsAvailable):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (290858 => 290859)


--- trunk/Source/WebKit/ChangeLog	2022-03-05 02:03:49 UTC (rev 290858)
+++ trunk/Source/WebKit/ChangeLog	2022-03-05 02:21:44 UTC (rev 290859)
@@ -1,3 +1,17 @@
+2022-03-04  Harrison Weinerman  <[email protected]>
+
+        Change app launch scheme
+        https://bugs.webkit.org/show_bug.cgi?id=237480
+        rdar://89781553
+
+        Reviewed by Brady Eidson.
+
+        We need to change the app launch scheme and remove an entitlement that is no longer required.
+
+        * Scripts/process-entitlements.sh:
+        * webpushd/WebPushDaemon.mm:
+        (WebPushD::Daemon::notifyClientPushMessageIsAvailable):
+
 2022-03-04  Patrick Angle  <[email protected]>
 
         REGRESSION (r284472): [ Monterey ] http/tests/websocket/tests/hybi/inspector/send-and-recieve-debugger.html is failing

Modified: trunk/Source/WebKit/Scripts/process-entitlements.sh (290858 => 290859)


--- trunk/Source/WebKit/Scripts/process-entitlements.sh	2022-03-05 02:03:49 UTC (rev 290858)
+++ trunk/Source/WebKit/Scripts/process-entitlements.sh	2022-03-05 02:21:44 UTC (rev 290859)
@@ -223,7 +223,6 @@
 function mac_process_webpushd_entitlements()
 {
     plistbuddy Add :com.apple.private.aps-connection-initiate bool YES
-    plistbuddy Add :com.apple.private.launchservices.allowopenwithanyhandler bool YES
 }
 
 # ========================================
@@ -512,7 +511,6 @@
     # FIXME: Add a sandbox profile for webpushd and add it to the seatbelt-profiles array.
     echo "webpushd sandbox has not been implemented yet"
     plistbuddy Add :aps-connection-initiate bool YES
-    plistbuddy Add :com.apple.private.launchservices.allowopenwithanyhandler bool YES
 }
 
 function ios_family_process_network_entitlements()

Modified: trunk/Source/WebKit/webpushd/WebPushDaemon.mm (290858 => 290859)


--- trunk/Source/WebKit/webpushd/WebPushDaemon.mm	2022-03-05 02:03:49 UTC (rev 290858)
+++ trunk/Source/WebKit/webpushd/WebPushDaemon.mm	2022-03-05 02:21:44 UTC (rev 290859)
@@ -552,7 +552,7 @@
 void Daemon::notifyClientPushMessageIsAvailable(const String& clientCodeSigningIdentifier)
 {
 #if PLATFORM(MAC)
-    CFArrayRef urls = (__bridge CFArrayRef)@[ [NSURL URLWithString:@"webkit-app-launch://1"] ];
+    CFArrayRef urls = (__bridge CFArrayRef)@[ [NSURL URLWithString:@"x-webkit-app-launch://1"] ];
     CFStringRef identifier = (__bridge CFStringRef)((NSString *)clientCodeSigningIdentifier);
 
     CFDictionaryRef options = (__bridge CFDictionaryRef)@{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to