-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Milestone
Description
Is there an existing issue for this?
- I have searched both open/closed issues, no issue already exists.
CefSharp Version
128.4.90
Operating System
Windows 11
Architecture
x64
.Net Version
.Net 6.0
Implementation
WPF
Reproduction Steps
- Run the CefSharp.Wpf.Example app with debugger attached
- Go to
https://permission.site/ - Click on the
Locationbutton - Go to the Debug output and find the following debug line sent by this code (System.Diagnostics.Debug.WriteLine($"{promptId}|{requestedPermissions} {requestingOrigin}");)
Expected behavior
Expected: 1|Geolocation https://permission.site/
Actual behavior
Actual: 1|MicStream https://permission.site/
Regression?
The C# PermissionRequestType enum and the C++ cef_permission_request_types_t enum got out of sync, seems like since this CEF commit: chromiumembedded/cef@dc2231c
Known Workarounds
You could introduce MyPermissionRequestType based on the values of cef_permission_request_types_t and cast PermissionRequestType to uint to MyPermissionRequestType, this will require a custom permission handler implementation.
Does this problem also occur in the CEF Sample Application
No
Other information
No response
