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?
Merging this request into bug 63615, which implements the optional parameter.
*** This bug has been marked as a duplicate of bug 63615 ***