Bug 122199 - Remove useless need for event when using window.webkitNotifications.requestPermission()
Summary: Remove useless need for event when using window.webkitNotifications.requestPe...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 18:01 PDT by John A. Bilicki III
Modified: 2019-08-16 03:08 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John A. Bilicki III 2013-10-01 18:01:42 PDT
For some unknown reason WebKit requires window.webkitNotifications.requestPermission() to be associated with an event. Since there is no immediate function without some direct user it makes not only coding window.webkitNotifications.requestPermission() awkward and a waste of time it also forces web developers to require some convoluted task of the user to trigger the method.