Implement persistent notification handling
https://notifications.spec.whatwg.org/#persistent-notification
<rdar://problem/90972545>
Created attachment 456009 [details] Patch
Created attachment 456014 [details] Patch
Comment on attachment 456014 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=456014&action=review > Source/WebCore/Modules/notifications/Notification.cpp:69 > + notification->showSoon(); Looking at it again, calling showSoon should be removed. Probably worth moving showSoon call out of the Notification::create object.
Comment on attachment 456014 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=456014&action=review >> Source/WebCore/Modules/notifications/Notification.cpp:69 >> + notification->showSoon(); > > Looking at it again, calling showSoon should be removed. Probably worth moving showSoon call out of the Notification::create object. Definitely should be: In this case we're not showing it. Agree with the refactor. > Source/WebKit/NetworkProcess/NetworkProcess.cpp:2332 > > + stray newline
Created attachment 456104 [details] Patch for landing
> > Looking at it again, calling showSoon should be removed. Probably worth moving showSoon call out of the Notification::create object. > > Definitely should be: In this case we're not showing it. > > Agree with the refactor. I needed to do a few more refactoring since now we are not reusing the already created Notification object but a new one that should have a matching identifier.
Created attachment 456114 [details] Patch for landing
Committed r292110 (249029@main): <https://commits.webkit.org/249029@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 456114 [details].