Bug 233845

Summary: Add command line `webpushtool` for daemon development and debugging
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
EWS v1
none
EWS v2
thorton: review+
PFL v1
ews-feeder: commit-queue-
PFL v2
ews-feeder: commit-queue-
PFL v3
ews-feeder: commit-queue-
PFL v4
none
PFL v5 (different approach from v4)
ews-feeder: commit-queue-
PFL v6 none

Description Brady Eidson 2021-12-03 16:44:28 PST
Add command line `webpushtool` for daemon development and debugging
Comment 1 Brady Eidson 2021-12-03 17:10:59 PST
Created attachment 445928 [details]
EWS v1
Comment 2 Tim Horton 2021-12-03 17:20:55 PST
Comment on attachment 445928 [details]
EWS v1

View in context: https://bugs.webkit.org/attachment.cgi?id=445928&action=review

> Source/WebKit/Configurations/webpushtool.xcconfig:30
> +

I think you need to sort out your INSTALL_PATH

> Source/WebKit/webpushd/webpushtool/WebPushToolMain.mm:38
> +    fprintf(stderr, "  --Development              Connects to mach service \"org.webkit.webpushtestdaemon.service\" (Default)\n");

Really, leading-capitals in your command line arguments??
Comment 3 Brady Eidson 2021-12-03 17:51:45 PST
Created attachment 445934 [details]
EWS v2
Comment 4 Brady Eidson 2021-12-03 18:34:29 PST
Created attachment 445935 [details]
PFL v1
Comment 5 Brady Eidson 2021-12-03 18:50:23 PST
Created attachment 445936 [details]
PFL v2
Comment 6 Brady Eidson 2021-12-03 19:51:28 PST
Created attachment 445941 [details]
PFL v3
Comment 7 Brady Eidson 2021-12-03 20:44:00 PST
Created attachment 445952 [details]
PFL v4
Comment 8 Brady Eidson 2021-12-03 20:55:12 PST
Created attachment 445954 [details]
PFL v5 (different approach from v4)
Comment 9 Brady Eidson 2021-12-03 23:43:20 PST
Created attachment 445962 [details]
PFL v6
Comment 10 EWS 2021-12-04 08:09:04 PST
Committed r286533 (244865@main): <https://commits.webkit.org/244865@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 445962 [details].
Comment 11 Radar WebKit Bug Importer 2021-12-04 08:10:26 PST
<rdar://problem/86052852>