Bug 95507 - [Tests] Implement web notification callbacks for Qt port of DRT and WTR
Summary: [Tests] Implement web notification callbacks for Qt port of DRT and WTR
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on: 77969 107696
  Show dependency treegraph
Reported: 2012-08-30 16:08 PDT by Jon Lee
Modified: 2014-02-06 07:55 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jon Lee 2012-08-30 16:08:09 PDT
The new web notifications tests in http/tests/notifications use an updated API for managing web notifications:

        // Web notifications support
        void grantWebNotificationPermission(in DOMString origin);
        void denyWebNotificationPermission(in DOMString origin);
        void removeAllWebNotificationPermissions();
        void simulateWebNotificationClick(in object notification);

These need to be implemented in order for the tests to work. (grantWebNotificationPermission is already ported from grantDesktopNotificationPermission).
Comment 1 Allan Sandfeld Jensen 2013-01-21 07:25:50 PST
It seems to work fine in WTR, the implementation of most of the methods can be found in bug #107449