dotnet / dotnet/macios

WKUIDelegate runJavaScriptTextInputPanelWithPrompt has incorrect nullability

Open
#15,728 4 comments 1 reaction 0 assignees View on GitHub
api-bindings bug
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 13h
Merged PRs (30d)
96

Description

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

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.