Bug 215924 - [WPE] Enable Notifications support
Summary: [WPE] Enable Notifications support
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adrian Perez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-28 07:18 PDT by Philippe Normand
Modified: 2020-08-28 15:10 PDT (History)
10 users (show)

See Also:


Attachments
Patch (1.94 KB, patch)
2020-08-28 08:46 PDT, Adrian Perez
no flags Details | Formatted Diff | Diff
Patch for landing (4.14 KB, patch)
2020-08-28 14:35 PDT, Adrian Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2020-08-28 07:18:03 PDT
Why is this disabled? It doesn't seem to pull additional build-time dependencies here.
Comment 1 Adrian Perez 2020-08-28 07:58:30 PDT
I think we should enable this by default. For the WPE port I think it is
fine to let the default implementation be a stub that does nothing (so
not even libnotify is needed at build time) so embedders can decide how
to show notifications connecting to the WebKitWebView::show-notification
signal.
Comment 2 Adrian Perez 2020-08-28 08:46:33 PDT
Created attachment 407471 [details]
Patch
Comment 3 Philippe Normand 2020-08-28 08:56:58 PDT
Comment on attachment 407471 [details]
Patch

Maybe this could allow us to unskip some of http/tests/notifications ?
Comment 4 Philippe Normand 2020-08-28 08:57:32 PDT
and imported/w3c/web-platform-tests/notifications
Comment 5 Adrian Perez 2020-08-28 09:00:22 PDT
(In reply to Philippe Normand from comment #3)
> Comment on attachment 407471 [details]
> Patch
> 
> Maybe this could allow us to unskip some of http/tests/notifications ?

Probably, I'll give it a try before landing.
Comment 6 Adrian Perez 2020-08-28 14:23:17 PDT
Regarding layout tests:

 - All the tests under http/tests/notifications/ pass.
 - All but one under imported/w3c/web-platform-tests/notifications/ pass, too.
 - imported/w3c/web-platform-tests/notifications/shownotification-resolve-manual.https.html
   gives a timeout, I'll mark it “[ Timeout Pass ]” for now.
Comment 7 Adrian Perez 2020-08-28 14:35:33 PDT
Created attachment 407501 [details]
Patch for landing
Comment 8 EWS 2020-08-28 15:10:00 PDT
Committed r266297: <https://trac.webkit.org/changeset/266297>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 407501 [details].