-
Couldn't load subscription status.
- Fork 62
Description
What happened?
When calling navigator.mediaDevices.getUserMedia({ audio: true }), the WebView process ends unexpectedly.
The view is cleared, any development tools windows are closed and the CoreWebView2_ProcessFailed event is raised with Reason Unexpected and ExitCode -1073741819.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Prerelease (Edge Canary/Dev/Beta)
Runtime Version
142.0.3577.0
SDK Version
1.0.3485.44
Framework
Winforms
Operating System
Windows 11
OS Version
10.0.26100
Repro steps
Open a document with the following content, and click the button.
<html>
<body>
<button onclick="navigator.mediaDevices.getUserMedia({ audio: true })">getUserMedia</button>
</body>
</html>Alternatively, execute navigator.mediaDevices.getUserMedia({ audio: true }) from the development javascript console
To use the impacted Edge version (until released to the stable channel):
- Download Edge Canary
- Set environment variable
WEBVIEW2_RELEASE_CHANNEL_PREFERENCEto1.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Regression in newer Runtime
Last working version (if regression)
Runtime 140.0.3485.81