Bug 74433
Summary: | Inaccurate IDL for NotificationCenter.requestPermission | ||
---|---|---|---|
Product: | WebKit | Reporter: | Stephen Adams <sra> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Minor | CC: | jonlee |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Stephen Adams
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jon Lee
Merging this request into bug 63615, which implements the optional parameter.
*** This bug has been marked as a duplicate of bug 63615 ***