Closed szanto90balazs closed 1 month ago
I'm happy to send a PR with an updated PermissionRequestType
and potentially come up with some tests. In the past the uint value of Geolocation changed two times in the enum according to the history of cef_types.h
PR would be most welcome 👍
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: https://github.com/chromiumembedded/cef/commit/dc2231cdfb6c355d83c6121ffe2912ea30e6eef0Known 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