Open
Description
Description
I know it's an experimental feature which needs to be enabled with
new CoreWebView2EnvironmentOptions("--enable-experimental-web-platform-features");
, but I'd still give out the permission from the code instead of having the user allow it in the dialog.
Version
SDK: 1.0.1901.177
Runtime: 115.0.1901.183
Framework: WPF, but others probably too
OS: Win10
Regression
Not a regression since it's an experimental feature.
Repro Steps
After enabling the experimental web platform features, execute a javascript call
btScan = await navigator.bluetooth.requestLEScan(options);
Screenshots
The dialog shown that I'm trying to avoid is this:
Additional context
I tried settings several Permissions to Allow
in the profile, and also set up a PermissionRequested
handler, but no luck so far.