You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metadata for webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame_completionHandler seems to be incorrect. Calling completion handler with a boolean value results in the following exception
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/xxxx/testvenv/lib/python3.9/site-packages/objc/_convenience.py", line 158, in __call__
return _block_call(self, self.__block_signature__, args, kwds)
TypeError: Need 1 arguments, got 1
Example code:
class BrowserDelegate(AppKit.NSObject):
def webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame_completionHandler_(self, webview, message, frame, handler):
handler(Foundation.YES)
Metadata description for this selector (from WebKit/_metadata.py) is
Metadata for webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame_completionHandler seems to be incorrect. Calling completion handler with a boolean value results in the following exception
Example code:
Metadata description for this selector (from WebKit/_metadata.py) is
If I read this code correctly it assumes that the argument to the handler is void, while it should be boolean.
Platform information
The text was updated successfully, but these errors were encountered: