Skip to content

WKUIDelegate runJavaScriptTextInputPanelWithPrompt has incorrect nullability #15728

@mattleibow

Description

@mattleibow

The API in objc (and also in the ms docs) indicate that values can be null:

https://developer.apple.com/documentation/webkit/wkuidelegate/1538086-webview?language=objc

 public virtual void RunJavaScriptTextInputPanel (
     WebKit.WKWebView webView,
     string prompt,
-    string defaultText,
+    string defaultText?,
     WebKit.WKFrameInfo frame,
-    Action<string> completionHandler);
+    Action<string?> completionHandler);

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-bindingsbugIf an issue is a bug or a pull request a bug fix

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions