Add WKPageValidateCommand()
Created attachment 84808 [details] Patch
Comment on attachment 84808 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=84808&action=review > Source/WebKit2/UIProcess/API/C/WKPage.h:378 > +typedef void (*WKPageValidateCommandCallback)(WKStringRef command, bool isEnabled, int state, WKErrorRef, void*); > +WK_EXPORT void WKPageValidateCommand(WKPageRef page, WKStringRef command, void* context, WKPageValidateCommandCallback callback); It’s not clear what “state” is; probably needs a comment. Also, the void* probably needs an argument name to make clear it is the context pointer.
Committed http://trac.webkit.org/changeset/80394