RESOLVED FIXED 233454
Make webpushd "fake registration for testing" much more complicated by adding a "mock app bundle" install
https://bugs.webkit.org/show_bug.cgi?id=233454
Summary Make webpushd "fake registration for testing" much more complicated by adding...
Brady Eidson
Reported 2021-11-23 15:29:39 PST
Make webpushd "fake registration for testing" much more complicated by adding a "mock app bundle" install This replaces the `m_inMemoryOriginStringsWithPermissionForTesting` with a much more complicated `MockAppBundleForTesting` and `MockAppBundleRegistry`. The effect is the same, but it makes the next patch much easier to follow.
Attachments
EWS v1 (49.32 KB, patch)
2021-11-24 12:20 PST, Brady Eidson
no flags
EWS v2 (49.47 KB, patch)
2021-11-24 13:24 PST, Brady Eidson
ews-feeder: commit-queue-
EWS v3 (49.60 KB, patch)
2021-11-24 14:48 PST, Brady Eidson
ews-feeder: commit-queue-
EWS v4 (49.60 KB, patch)
2021-11-24 17:31 PST, Brady Eidson
achristensen: review+
achristensen: commit-queue-
PFL v1 (49.62 KB, patch)
2021-11-29 11:15 PST, Brady Eidson
no flags
PFL v2 (50.79 KB, patch)
2021-11-29 11:41 PST, Brady Eidson
no flags
Brady Eidson
Comment 1 2021-11-24 12:20:41 PST
Brady Eidson
Comment 2 2021-11-24 13:24:01 PST
Brady Eidson
Comment 3 2021-11-24 14:48:02 PST
Brady Eidson
Comment 4 2021-11-24 17:31:30 PST
Alex Christensen
Comment 5 2021-11-29 10:12:10 PST
Comment on attachment 445115 [details] EWS v4 View in context: https://bugs.webkit.org/attachment.cgi?id=445115&action=review > Source/WebKit/webpushd/AppBundleRequest.h:55 > + ClientConnection* m_connection; Let's not store a raw pointer. Can this be a WeakPtr? > Source/WebKit/webpushd/MockAppBundleForTesting.mm:43 > + extra space, could use =default; > Source/WebKit/webpushd/PushAppBundle.h:34 > +enum class PushAppBundleExists { : bool > Source/WebKit/webpushd/PushAppBundle.h:39 > +enum class PushAppBundleCreationResult { : bool
Brady Eidson
Comment 6 2021-11-29 11:15:47 PST
Brady Eidson
Comment 7 2021-11-29 11:41:58 PST
EWS
Comment 8 2021-11-29 16:21:03 PST
Committed r286273 (244634@main): <https://commits.webkit.org/244634@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445312 [details].
Radar WebKit Bug Importer
Comment 9 2021-11-29 16:22:21 PST
Note You need to log in before you can comment on or make changes to this bug.