MAUI HybridWebView C# to JavaScript interface hang
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 297
Description
### Description
Summary - Adding new function parameter types cause function call to hang and never complete
Reference: Reproduction project below from Github
Visual Studio 18.2.0
Microsoft.Maui.Controls 10.0.30
net10.0-windows10.0.19041.0
### Steps to Reproduce
1. Target "Windows Machine"
2. Start project with F5
3. Press "Invoke Synchronous Javascript" button.
**Expected output in top edit window:**
```
Hello from HybridWebView
Called operation Addition with 123 and 321 to receive 444.
Test 2: Passing plain text string...Test function 2 completed
Test 3: Passing serialized JSON object...Test function 3 completed
Test 4: passing string array...Test function 4 completed
```
**Actual output:**
```
Hello from HybridWebView
Called operation Addition with 123 and 321 to receive 444.
Test 2: Passing plain text string...Test function 2 completed
Test 3: Passing serialized JSON object...
```
Test case 3 and 4 never complete.
### Link to public reproduction project repository
https://github.com/bikeoid/HybridWebViewDemo
### Version with bug
10.0.1
### Is this a regression from previous behavior?
Not sure, did not test other versions
### Last version that worked well
_No response_
### Affected platforms
I was *not* able test on other platforms
### Affected platform versions
Windows SDK Version: 10.0.102
### Did you find any workaround?
_No response_
### Relevant log output
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.