Bug 95507
| Summary: | [Tests] Implement web notification callbacks for Qt port of DRT and WTR | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jon Lee <jonlee> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | ossy |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 77969, 107696 | ||
| Bug Blocks: | |||
Jon Lee
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).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Allan Sandfeld Jensen
It seems to work fine in WTR, the implementation of most of the methods can be found in bug #107449