Because 'function' means you can pass in a JS function and XPConnect will coerce it into the interface. Both these interfaces are only implemented in C++, so this is unnecessary.
yes, 'function' should be removed.
i am not working on these right now. resetting assignee.
Created attachment 588344 [details] [diff] [review] Patch v1
6 years ago