RESOLVED FIXED233714
Add an InstallCoordination webpushd backend
https://bugs.webkit.org/show_bug.cgi?id=233714
Summary Add an InstallCoordination webpushd backend
Brady Eidson
Reported 2021-12-01 11:07:24 PST
Add an InstallCoordination webpushd backend
Attachments
EWS v1 (41.88 KB, patch)
2021-12-01 14:00 PST, Brady Eidson
ews-feeder: commit-queue-
EWS v2 (42.14 KB, patch)
2021-12-01 16:15 PST, Brady Eidson
ews-feeder: commit-queue-
EWS v3 (43.13 KB, patch)
2021-12-01 17:05 PST, Brady Eidson
ews-feeder: commit-queue-
Patch v1 (47.83 KB, patch)
2021-12-01 17:51 PST, Brady Eidson
no flags
Patch v2 (47.85 KB, patch)
2021-12-01 18:02 PST, Brady Eidson
ews-feeder: commit-queue-
Patch v3 (49.34 KB, patch)
2021-12-01 20:11 PST, Brady Eidson
ews-feeder: commit-queue-
Patch v4 (47.62 KB, patch)
2021-12-01 20:43 PST, Brady Eidson
achristensen: review+
PFL (47.67 KB, patch)
2021-12-02 12:21 PST, Brady Eidson
ews-feeder: commit-queue-
Revived for EWS + landing (51.79 KB, patch)
2022-02-17 19:33 PST, Brady Eidson
no flags
Revived for EWS + landing v2 (51.79 KB, patch)
2022-02-17 19:34 PST, Brady Eidson
no flags
Brady Eidson
Comment 1 2021-12-01 14:00:25 PST
Tim Horton
Comment 2 2021-12-01 14:13:15 PST
Comment on attachment 445613 [details] EWS v1 View in context: https://bugs.webkit.org/attachment.cgi?id=445613&action=review > Source/WebKit/webpushd/AppBundleRequest.mm:56 > +#if PLATFORM(IOS) Please give yourself an ENABLE for all of these > Source/WebKit/webpushd/ICAppBundle.mm:190 > + LSApplicationRecord *appRecord = [[LSApplicationRecord alloc] initWithBundleIdentifier:(NSString *)getBundleIdentifier() allowPlaceholder:YES error:&error]; This leaks
Brady Eidson
Comment 3 2021-12-01 16:15:05 PST
Brady Eidson
Comment 4 2021-12-01 17:05:01 PST
Brady Eidson
Comment 5 2021-12-01 17:51:15 PST
Created attachment 445648 [details] Patch v1
Brady Eidson
Comment 6 2021-12-01 18:02:06 PST
Created attachment 445649 [details] Patch v2
Brady Eidson
Comment 7 2021-12-01 20:11:34 PST
Created attachment 445661 [details] Patch v3
Brady Eidson
Comment 8 2021-12-01 20:43:18 PST
Created attachment 445666 [details] Patch v4
Alex Christensen
Comment 9 2021-12-02 11:37:00 PST
Comment on attachment 445666 [details] Patch v4 View in context: https://bugs.webkit.org/attachment.cgi?id=445666&action=review > Source/WebKit/webpushd/ICAppBundle.mm:137 > + appDigest->addBytes(utf8Identifier.data(), utf8Identifier.length()); Do we want to add a salt? > Source/WebKit/webpushd/ICAppBundle.mm:295 > + dataPromise.get().percentComplete = 1.0; Should this be 100? > Source/WebKit/webpushd/ICAppBundle.mm:313 > +void ICAppBundle::bundleCreationFailed(NSError *error) Why error parameter? > Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm:333 > +#if PLATFORM(IOS) ENABLE(INSTALL_COORDINATION_BUNDLES)
Brady Eidson
Comment 10 2021-12-02 12:21:38 PST
(In reply to Alex Christensen from comment #9) > Comment on attachment 445666 [details] > Patch v4 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=445666&action=review > > > Source/WebKit/webpushd/ICAppBundle.mm:137 > > + appDigest->addBytes(utf8Identifier.data(), utf8Identifier.length()); > > Do we want to add a salt? Salt discussion happening out of band, can be added later if needed. > > > Source/WebKit/webpushd/ICAppBundle.mm:295 > > + dataPromise.get().percentComplete = 1.0; > > Should this be 100? Misnamed SPI - It's actually 0.0 to 1.0 despite the "percent" name > > > Source/WebKit/webpushd/ICAppBundle.mm:313 > > +void ICAppBundle::bundleCreationFailed(NSError *error) > > Why error parameter? TBD > > > Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm:333 > > +#if PLATFORM(IOS) > > ENABLE(INSTALL_COORDINATION_BUNDLES) Changed.
Brady Eidson
Comment 11 2021-12-02 12:21:52 PST
EWS
Comment 12 2021-12-02 14:23:38 PST
ChangeLog entry in Source/WebCore/PAL/ChangeLog contains OOPS!.
Radar WebKit Bug Importer
Comment 13 2021-12-08 11:08:23 PST
Brady Eidson
Comment 14 2022-02-17 19:33:04 PST
Created attachment 452470 [details] Revived for EWS + landing
Brady Eidson
Comment 15 2022-02-17 19:34:35 PST
Created attachment 452471 [details] Revived for EWS + landing v2
EWS
Comment 16 2022-02-18 11:02:39 PST
Committed r290146 (247485@main): <https://commits.webkit.org/247485@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 452471 [details].
Note You need to log in before you can comment on or make changes to this bug.