[Wasm] Runtime crash when clipboard access has been refused #19365
Labels
area/canary 🐤
Categorizes an issue or PR as relevant to canary testing
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
platform/wasm 🌐
Categorizes an issue or PR as relevant to the WebAssembly platform
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
On any web browser when the user clicks on 'Paste Text from Clipboard' button, the app crashes.
The crash happens only when the Clipboard access is blocked. Alothough with the same setting upon clicking on other buttons doesn’t lead to crash.
Screen.Recording.2025-01-29.at.12.28.44.PM.mov
Expected behavior
App should not crash
How to reproduce it (as minimally and precisely as possible)
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
Package Referenced version Updated version
Uno.CommunityToolkit.WinUI.UI.Controls 7.1.200 7.1.204
Uno.CommunityToolkit.WinUI.UI.Controls.DataGrid 7.1.200 7.1.204
Uno.Core.Extensions.Compatibility 4.0.1 4.1.1
Uno.Core.Extensions.Disposables 4.0.1 4.1.1
Uno.Sdk 5.6.20 5.7.0-dev.27
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: