WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
EWS v2
(49.47 KB, patch)
2021-11-24 13:24 PST
,
Brady Eidson
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
EWS v3
(49.60 KB, patch)
2021-11-24 14:48 PST
,
Brady Eidson
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
EWS v4
(49.60 KB, patch)
2021-11-24 17:31 PST
,
Brady Eidson
achristensen
: review+
achristensen
: commit-queue-
Details
Formatted Diff
Diff
PFL v1
(49.62 KB, patch)
2021-11-29 11:15 PST
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
PFL v2
(50.79 KB, patch)
2021-11-29 11:41 PST
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2021-11-24 12:20:41 PST
Created
attachment 445104
[details]
EWS v1
Brady Eidson
Comment 2
2021-11-24 13:24:01 PST
Created
attachment 445108
[details]
EWS v2
Brady Eidson
Comment 3
2021-11-24 14:48:02 PST
Created
attachment 445112
[details]
EWS v3
Brady Eidson
Comment 4
2021-11-24 17:31:30 PST
Created
attachment 445115
[details]
EWS v4
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
Created
attachment 445303
[details]
PFL v1
Brady Eidson
Comment 7
2021-11-29 11:41:58 PST
Created
attachment 445312
[details]
PFL v2
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
<
rdar://problem/85840549
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug