PermissionRequestType is out of sync compared to cef_permission_request_types_t #4935
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
CefSharp Version
128.4.90
Operating System
Windows 11
Architecture
x64
.Net Version
.Net 6.0
Implementation
WPF
Reproduction Steps
https://permission.site/
Location
buttonExpected 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@dc2231cKnown Workarounds
You could introduce
MyPermissionRequestType
based on the values ofcef_permission_request_types_t
and castPermissionRequestType
touint
toMyPermissionRequestType
, this will require a custom permission handler implementation.Does this problem also occur in the CEF Sample Application
No
Other information
No response
The text was updated successfully, but these errors were encountered: