Bug 108066 - Notifications interface does not match the spec
Summary: Notifications interface does not match the spec
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 01:46 PST by Andrew Wilson
Modified: 2013-02-07 08:39 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Wilson 2013-01-28 01:46:55 PST
Two issues:

1) We expose Notifications.show(), but that's not part of the Notifications spec. This leads to issues like https://bugs.webkit.org/show_bug.cgi?id=108009 because the new notifications implementation was not expecting to support these other calls.

2) Both webkitNotifications and Notifications share the same .idl definition. This means that APIs only defined for webkitNotifications (like cancel()) are also exposed for Notifications, if the platform turns on ENABLE_LEGACY_NOTIFICATIONS.