-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
feature requestfeature requestfeature requestpriority-lowWe have considered this issue and decided that we will not be able to address it in the near future.We have considered this issue and decided that we will not be able to address it in the near future.trackedWe are tracking this work internally.We are tracking this work internally.
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.
Metadata
Metadata
Assignees
Labels
feature requestfeature requestfeature requestpriority-lowWe have considered this issue and decided that we will not be able to address it in the near future.We have considered this issue and decided that we will not be able to address it in the near future.trackedWe are tracking this work internally.We are tracking this work internally.