Bug 74433

Summary: Inaccurate IDL for NotificationCenter.requestPermission
Product: WebKit Reporter: Stephen Adams <sra>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Minor CC: jonlee
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Stephen Adams
Reported 2011-12-13 11:51:11 PST
Example code like http://www.html5rocks.com/en/tutorials/notifications/quick/ calls requestPermission with no arguments. The webkit IDL declares requestPermission with one parameter: [Custom] void requestPermission(in VoidCallback callback); If the parameter is optional, please mark it as optional in the IDL. Also, does this operation really need to be custom?
Attachments
Jon Lee
Comment 1 2011-12-15 15:00:45 PST
Merging this request into bug 63615, which implements the optional parameter. *** This bug has been marked as a duplicate of bug 63615 ***
Note You need to log in before you can comment on or make changes to this bug.