Skip to content

Commit 12ef37c

Browse files
authored
Merge pull request #669 from linesight/cefpython123
Update CEF to version 123.0.7 with Chromium-123.0.6312.46 (Windows tested)
2 parents 5217c04 + 1585ccf commit 12ef37c

File tree

307 files changed

+31910
-21434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+31910
-21434
lines changed

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.idea/
22
build/
33
dist/
4+
venv/
45
*.log
56
__pycache__/
67
*.pyc
@@ -16,3 +17,5 @@ unittests/GPUCache/
1617
unittests/blob_storage/
1718
unittests/webrtc_event_logs/
1819
.DS_Store
20+
MediaDeviceSalts
21+
MediaDeviceSalts-journal

Diff for: README.md

+1-25
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Mac | 2.7 | 3.4 / 3.5 / 3.6 / 3.7 | No | Yes | MacOS 10.9+
8787
[Issues labelled Knowledge Base](../../issues?q=is%3Aissue+is%3Aopen+label%3A%22Knowledge+Base%22)
8888
- To search documentation use GitHub "This repository" search
8989
at the top. To narrow results to documentation only select
90-
"Markdown" in the side pane.
90+
"Markdown" in the right pane.
9191

9292
## Support development
9393

@@ -195,7 +195,6 @@ at this moment.
195195
* [PaintBuffer](api/PaintBuffer.md#paintbuffer-object) object
196196
* [Request](api/Request.md#request-class) class
197197
* [Response](api/Response.md#response-object) object
198-
* [WebPluginInfo](api/WebPluginInfo.md#webplugininfo-object) object
199198
* [WebRequest](api/WebRequest.md#webrequest-class) class
200199
* [WindowInfo](api/WindowInfo.md#windowinfo-class) class
201200
* [WindowUtils](api/WindowUtils.md#windowutils-class) class
@@ -230,7 +229,6 @@ at this moment.
230229
* [_OnAccessibilityTreeChange](api/AccessibilityHandler.md#_onaccessibilitytreechange)
231230
* [_OnAccessibilityLocationChange](api/AccessibilityHandler.md#_onaccessibilitylocationchange)
232231
* [Application settings](api/ApplicationSettings.md#application-settings)
233-
* [accept_language_list](api/ApplicationSettings.md#accept_language_list)
234232
* [app_user_model_id](api/ApplicationSettings.md#app_user_model_id)
235233
* [auto_zooming](api/ApplicationSettings.md#auto_zooming)
236234
* [background_color](api/ApplicationSettings.md#background_color)
@@ -241,7 +239,6 @@ at this moment.
241239
* [downloads_enabled](api/ApplicationSettings.md#downloads_enabled)
242240
* [external_message_pump](api/ApplicationSettings.md#external_message_pump)
243241
* [framework_dir_path](api/ApplicationSettings.md#framework_dir_path)
244-
* [ignore_certificate_errors](api/ApplicationSettings.md#ignore_certificate_errors)
245242
* [javascript_flags](api/ApplicationSettings.md#javascript_flags)
246243
* [locale](api/ApplicationSettings.md#locale)
247244
* [locales_dir_path](api/ApplicationSettings.md#locales_dir_path)
@@ -261,7 +258,6 @@ at this moment.
261258
* [uncaught_exception_stack_size](api/ApplicationSettings.md#uncaught_exception_stack_size)
262259
* [unique_request_context_per_browser](api/ApplicationSettings.md#unique_request_context_per_browser)
263260
* [user_agent](api/ApplicationSettings.md#user_agent)
264-
* [user_data_path](api/ApplicationSettings.md#user_data_path)
265261
* [windowless_rendering_enabled](api/ApplicationSettings.md#windowless_rendering_enabled)
266262
* [Browser (object)](api/Browser.md#browser-object)
267263
* [AddWordToDictionary](api/Browser.md#addwordtodictionary)
@@ -308,7 +304,6 @@ at this moment.
308304
* [Invalidate](api/Browser.md#invalidate)
309305
* [IsFullscreen](api/Browser.md#isfullscreen)
310306
* [IsLoading](api/Browser.md#isloading)
311-
* [IsMouseCursorChangeDisabled](api/Browser.md#ismousecursorchangedisabled)
312307
* [IsPopup](api/Browser.md#ispopup)
313308
* [IsWindowRenderingDisabled](api/Browser.md#iswindowrenderingdisabled)
314309
* [LoadUrl](api/Browser.md#loadurl)
@@ -326,13 +321,11 @@ at this moment.
326321
* [SendMouseClickEvent](api/Browser.md#sendmouseclickevent)
327322
* [SendMouseMoveEvent](api/Browser.md#sendmousemoveevent)
328323
* [SendMouseWheelEvent](api/Browser.md#sendmousewheelevent)
329-
* [SendFocusEvent](api/Browser.md#sendfocusevent)
330324
* [SendCaptureLostEvent](api/Browser.md#sendcapturelostevent)
331325
* [SetAccessibilityState](api/Browser.md#setaccessibilitystate)
332326
* [SetClientCallback](api/Browser.md#setclientcallback)
333327
* [SetClientHandler](api/Browser.md#setclienthandler)
334328
* [SetFocus](api/Browser.md#setfocus)
335-
* [SetMouseCursorChangeDisabled](api/Browser.md#setmousecursorchangedisabled)
336329
* [SetJavascriptBindings](api/Browser.md#setjavascriptbindings)
337330
* [SetUserData](api/Browser.md#setuserdata)
338331
* [SetZoomLevel](api/Browser.md#setzoomlevel)
@@ -346,27 +339,22 @@ at this moment.
346339
* [WasHidden](api/Browser.md#washidden)
347340
* [Browser settings](api/BrowserSettings.md#browser-settings)
348341
* [Font settings](api/BrowserSettings.md#font-settings)
349-
* [accept_language_list](api/BrowserSettings.md#accept_language_list)
350342
* [application_cache_disabled](api/BrowserSettings.md#application_cache_disabled)
351343
* [background_color](api/BrowserSettings.md#background_color)
352344
* [databases_disabled](api/BrowserSettings.md#databases_disabled)
353345
* [default_encoding](api/BrowserSettings.md#default_encoding)
354346
* [dom_paste_disabled](api/BrowserSettings.md#dom_paste_disabled)
355-
* [file_access_from_file_urls_allowed](api/BrowserSettings.md#file_access_from_file_urls_allowed)
356347
* [inherit_client_handlers_for_popups](api/BrowserSettings.md#inherit_client_handlers_for_popups)
357348
* [image_load_disabled](api/BrowserSettings.md#image_load_disabled)
358349
* [javascript_disabled](api/BrowserSettings.md#javascript_disabled)
359350
* [javascript_close_windows_disallowed](api/BrowserSettings.md#javascript_close_windows_disallowed)
360351
* [javascript_access_clipboard_disallowed](api/BrowserSettings.md#javascript_access_clipboard_disallowed)
361352
* [local_storage_disabled](api/BrowserSettings.md#local_storage_disabled)
362-
* [plugins_disabled](api/BrowserSettings.md#plugins_disabled)
363353
* [remote_fonts](api/BrowserSettings.md#remote_fonts)
364354
* [shrink_standalone_images_to_fit](api/BrowserSettings.md#shrink_standalone_images_to_fit)
365355
* [tab_to_links_disabled](api/BrowserSettings.md#tab_to_links_disabled)
366356
* [text_area_resize_disabled](api/BrowserSettings.md#text_area_resize_disabled)
367-
* [universal_access_from_file_urls_allowed](api/BrowserSettings.md#universal_access_from_file_urls_allowed)
368357
* [user_style_sheet_location](api/BrowserSettings.md#user_style_sheet_location)
369-
* [web_security_disabled](api/BrowserSettings.md#web_security_disabled)
370358
* [webgl_disabled](api/BrowserSettings.md#webgl_disabled)
371359
* [windowless_frame_rate](api/BrowserSettings.md#windowless_frame_rate)
372360
* [Callback (object)](api/Callback.md#callback-object)
@@ -427,9 +415,6 @@ at this moment.
427415
* [GetExpires](api/Cookie.md#getexpires)
428416
* [CookieManager (class)](api/CookieManager.md#cookiemanager-class)
429417
* [GetGlobalManager](api/CookieManager.md#getglobalmanager)
430-
* [GetBlockingManager](api/CookieManager.md#getblockingmanager)
431-
* [CreateManager](api/CookieManager.md#createmanager)
432-
* [SetSupportedSchemes](api/CookieManager.md#setsupportedschemes)
433418
* [VisitAllCookies](api/CookieManager.md#visitallcookies)
434419
* [VisitUrlCookies](api/CookieManager.md#visiturlcookies)
435420
* [SetCookie](api/CookieManager.md#setcookie)
@@ -449,7 +434,6 @@ at this moment.
449434
* [DownloadHandler](api/DownloadHandler.md#downloadhandler)
450435
* [DpiAware (class)](api/DpiAware.md#dpiaware-class)
451436
* [CalculateWindowSize](api/DpiAware.md#calculatewindowsize)
452-
* [EnableHighDpiSupport](api/DpiAware.md#enablehighdpisupport)
453437
* [GetSystemDpi](api/DpiAware.md#getsystemdpi)
454438
* [IsProcessDpiAware](api/DpiAware.md#isprocessdpiaware)
455439
* [SetProcessDpiAware](api/DpiAware.md#setprocessdpiaware)
@@ -616,10 +600,7 @@ at this moment.
616600
* [GetResourceType](api/Request.md#getresourcetype)
617601
* [GetTransitionType](api/Request.md#gettransitiontype)
618602
* [RequestHandler (interface)](api/RequestHandler.md#requesthandler-interface)
619-
* [CanGetCookies](api/RequestHandler.md#cangetcookies)
620-
* [CanSetCookie](api/RequestHandler.md#cansetcookie)
621603
* [GetAuthCredentials](api/RequestHandler.md#getauthcredentials)
622-
* [GetCookieManager](api/RequestHandler.md#getcookiemanager)
623604
* [GetResourceHandler](api/RequestHandler.md#getresourcehandler)
624605
* [OnBeforeBrowse](api/RequestHandler.md#onbeforebrowse)
625606
* [_OnBeforePluginLoad](api/RequestHandler.md#_onbeforepluginload)
@@ -657,11 +638,6 @@ at this moment.
657638
* [OnContextCreated](api/V8ContextHandler.md#oncontextcreated)
658639
* [OnContextReleased](api/V8ContextHandler.md#oncontextreleased)
659640
* [Virtual Key codes](api/VirtualKey.md#virtual-key-codes)
660-
* [WebPluginInfo (object)](api/WebPluginInfo.md#webplugininfo-object)
661-
* [GetName](api/WebPluginInfo.md#getname)
662-
* [GetPath](api/WebPluginInfo.md#getpath)
663-
* [GetVersion](api/WebPluginInfo.md#getversion)
664-
* [GetDescription](api/WebPluginInfo.md#getdescription)
665641
* [WebRequest (class)](api/WebRequest.md#webrequest-class)
666642
* [Create](api/WebRequest.md#create)
667643
* [GetRequest](api/WebRequest.md#getrequest)

Diff for: api/API-categories.md

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
* [PaintBuffer](PaintBuffer.md#paintbuffer-object) object
3131
* [Request](Request.md#request-class) class
3232
* [Response](Response.md#response-object) object
33-
* [WebPluginInfo](WebPluginInfo.md#webplugininfo-object) object
3433
* [WebRequest](WebRequest.md#webrequest-class) class
3534
* [WindowInfo](WindowInfo.md#windowinfo-class) class
3635
* [WindowUtils](WindowUtils.md#windowutils-class) class

Diff for: api/API-index.md

-23
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* [_OnAccessibilityTreeChange](AccessibilityHandler.md#_onaccessibilitytreechange)
77
* [_OnAccessibilityLocationChange](AccessibilityHandler.md#_onaccessibilitylocationchange)
88
* [Application settings](ApplicationSettings.md#application-settings)
9-
* [accept_language_list](ApplicationSettings.md#accept_language_list)
109
* [app_user_model_id](ApplicationSettings.md#app_user_model_id)
1110
* [auto_zooming](ApplicationSettings.md#auto_zooming)
1211
* [background_color](ApplicationSettings.md#background_color)
@@ -17,7 +16,6 @@
1716
* [downloads_enabled](ApplicationSettings.md#downloads_enabled)
1817
* [external_message_pump](ApplicationSettings.md#external_message_pump)
1918
* [framework_dir_path](ApplicationSettings.md#framework_dir_path)
20-
* [ignore_certificate_errors](ApplicationSettings.md#ignore_certificate_errors)
2119
* [javascript_flags](ApplicationSettings.md#javascript_flags)
2220
* [locale](ApplicationSettings.md#locale)
2321
* [locales_dir_path](ApplicationSettings.md#locales_dir_path)
@@ -37,7 +35,6 @@
3735
* [uncaught_exception_stack_size](ApplicationSettings.md#uncaught_exception_stack_size)
3836
* [unique_request_context_per_browser](ApplicationSettings.md#unique_request_context_per_browser)
3937
* [user_agent](ApplicationSettings.md#user_agent)
40-
* [user_data_path](ApplicationSettings.md#user_data_path)
4138
* [windowless_rendering_enabled](ApplicationSettings.md#windowless_rendering_enabled)
4239
* [Browser (object)](Browser.md#browser-object)
4340
* [AddWordToDictionary](Browser.md#addwordtodictionary)
@@ -84,7 +81,6 @@
8481
* [Invalidate](Browser.md#invalidate)
8582
* [IsFullscreen](Browser.md#isfullscreen)
8683
* [IsLoading](Browser.md#isloading)
87-
* [IsMouseCursorChangeDisabled](Browser.md#ismousecursorchangedisabled)
8884
* [IsPopup](Browser.md#ispopup)
8985
* [IsWindowRenderingDisabled](Browser.md#iswindowrenderingdisabled)
9086
* [LoadUrl](Browser.md#loadurl)
@@ -102,13 +98,11 @@
10298
* [SendMouseClickEvent](Browser.md#sendmouseclickevent)
10399
* [SendMouseMoveEvent](Browser.md#sendmousemoveevent)
104100
* [SendMouseWheelEvent](Browser.md#sendmousewheelevent)
105-
* [SendFocusEvent](Browser.md#sendfocusevent)
106101
* [SendCaptureLostEvent](Browser.md#sendcapturelostevent)
107102
* [SetAccessibilityState](Browser.md#setaccessibilitystate)
108103
* [SetClientCallback](Browser.md#setclientcallback)
109104
* [SetClientHandler](Browser.md#setclienthandler)
110105
* [SetFocus](Browser.md#setfocus)
111-
* [SetMouseCursorChangeDisabled](Browser.md#setmousecursorchangedisabled)
112106
* [SetJavascriptBindings](Browser.md#setjavascriptbindings)
113107
* [SetUserData](Browser.md#setuserdata)
114108
* [SetZoomLevel](Browser.md#setzoomlevel)
@@ -122,27 +116,22 @@
122116
* [WasHidden](Browser.md#washidden)
123117
* [Browser settings](BrowserSettings.md#browser-settings)
124118
* [Font settings](BrowserSettings.md#font-settings)
125-
* [accept_language_list](BrowserSettings.md#accept_language_list)
126119
* [application_cache_disabled](BrowserSettings.md#application_cache_disabled)
127120
* [background_color](BrowserSettings.md#background_color)
128121
* [databases_disabled](BrowserSettings.md#databases_disabled)
129122
* [default_encoding](BrowserSettings.md#default_encoding)
130123
* [dom_paste_disabled](BrowserSettings.md#dom_paste_disabled)
131-
* [file_access_from_file_urls_allowed](BrowserSettings.md#file_access_from_file_urls_allowed)
132124
* [inherit_client_handlers_for_popups](BrowserSettings.md#inherit_client_handlers_for_popups)
133125
* [image_load_disabled](BrowserSettings.md#image_load_disabled)
134126
* [javascript_disabled](BrowserSettings.md#javascript_disabled)
135127
* [javascript_close_windows_disallowed](BrowserSettings.md#javascript_close_windows_disallowed)
136128
* [javascript_access_clipboard_disallowed](BrowserSettings.md#javascript_access_clipboard_disallowed)
137129
* [local_storage_disabled](BrowserSettings.md#local_storage_disabled)
138-
* [plugins_disabled](BrowserSettings.md#plugins_disabled)
139130
* [remote_fonts](BrowserSettings.md#remote_fonts)
140131
* [shrink_standalone_images_to_fit](BrowserSettings.md#shrink_standalone_images_to_fit)
141132
* [tab_to_links_disabled](BrowserSettings.md#tab_to_links_disabled)
142133
* [text_area_resize_disabled](BrowserSettings.md#text_area_resize_disabled)
143-
* [universal_access_from_file_urls_allowed](BrowserSettings.md#universal_access_from_file_urls_allowed)
144134
* [user_style_sheet_location](BrowserSettings.md#user_style_sheet_location)
145-
* [web_security_disabled](BrowserSettings.md#web_security_disabled)
146135
* [webgl_disabled](BrowserSettings.md#webgl_disabled)
147136
* [windowless_frame_rate](BrowserSettings.md#windowless_frame_rate)
148137
* [Callback (object)](Callback.md#callback-object)
@@ -203,9 +192,6 @@
203192
* [GetExpires](Cookie.md#getexpires)
204193
* [CookieManager (class)](CookieManager.md#cookiemanager-class)
205194
* [GetGlobalManager](CookieManager.md#getglobalmanager)
206-
* [GetBlockingManager](CookieManager.md#getblockingmanager)
207-
* [CreateManager](CookieManager.md#createmanager)
208-
* [SetSupportedSchemes](CookieManager.md#setsupportedschemes)
209195
* [VisitAllCookies](CookieManager.md#visitallcookies)
210196
* [VisitUrlCookies](CookieManager.md#visiturlcookies)
211197
* [SetCookie](CookieManager.md#setcookie)
@@ -225,7 +211,6 @@
225211
* [DownloadHandler](DownloadHandler.md#downloadhandler)
226212
* [DpiAware (class)](DpiAware.md#dpiaware-class)
227213
* [CalculateWindowSize](DpiAware.md#calculatewindowsize)
228-
* [EnableHighDpiSupport](DpiAware.md#enablehighdpisupport)
229214
* [GetSystemDpi](DpiAware.md#getsystemdpi)
230215
* [IsProcessDpiAware](DpiAware.md#isprocessdpiaware)
231216
* [SetProcessDpiAware](DpiAware.md#setprocessdpiaware)
@@ -392,10 +377,7 @@
392377
* [GetResourceType](Request.md#getresourcetype)
393378
* [GetTransitionType](Request.md#gettransitiontype)
394379
* [RequestHandler (interface)](RequestHandler.md#requesthandler-interface)
395-
* [CanGetCookies](RequestHandler.md#cangetcookies)
396-
* [CanSetCookie](RequestHandler.md#cansetcookie)
397380
* [GetAuthCredentials](RequestHandler.md#getauthcredentials)
398-
* [GetCookieManager](RequestHandler.md#getcookiemanager)
399381
* [GetResourceHandler](RequestHandler.md#getresourcehandler)
400382
* [OnBeforeBrowse](RequestHandler.md#onbeforebrowse)
401383
* [_OnBeforePluginLoad](RequestHandler.md#_onbeforepluginload)
@@ -433,11 +415,6 @@
433415
* [OnContextCreated](V8ContextHandler.md#oncontextcreated)
434416
* [OnContextReleased](V8ContextHandler.md#oncontextreleased)
435417
* [Virtual Key codes](VirtualKey.md#virtual-key-codes)
436-
* [WebPluginInfo (object)](WebPluginInfo.md#webplugininfo-object)
437-
* [GetName](WebPluginInfo.md#getname)
438-
* [GetPath](WebPluginInfo.md#getpath)
439-
* [GetVersion](WebPluginInfo.md#getversion)
440-
* [GetDescription](WebPluginInfo.md#getdescription)
441418
* [WebRequest (class)](WebRequest.md#webrequest-class)
442419
* [Create](WebRequest.md#create)
443420
* [GetRequest](WebRequest.md#getrequest)

Diff for: api/ApplicationSettings.md

-59
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Table of contents:
88
* [Introduction](#introduction)
99
* [Settings](#settings)
10-
* [accept_language_list](#accept_language_list)
1110
* [app_user_model_id](#app_user_model_id)
1211
* [auto_zooming](#auto_zooming)
1312
* [background_color](#background_color)
@@ -38,7 +37,6 @@ Table of contents:
3837
* [uncaught_exception_stack_size](#uncaught_exception_stack_size)
3938
* [unique_request_context_per_browser](#unique_request_context_per_browser)
4039
* [user_agent](#user_agent)
41-
* [user_data_path](#user_data_path)
4240
* [windowless_rendering_enabled](#windowless_rendering_enabled)
4341

4442

@@ -57,18 +55,6 @@ to Chromium Preferences.
5755
## Settings
5856

5957

60-
### accept_language_list
61-
62-
(string)
63-
Comma delimited ordered list of language codes without any
64-
whitespace that
65-
will be used in the "Accept-Language" HTTP header. May be overridden on a
66-
per-browser basis using the CefBrowserSettings.accept_language_list value.
67-
If both values are empty then "en-US,en" will be used. Can be overridden
68-
for individual CefRequestContext instances via the
69-
CefRequestContextSettings.accept_language_list value.
70-
71-
7258
### app_user_model_id
7359

7460
This is setting is applied only on Windows.
@@ -231,40 +217,6 @@ the "framework-dir-path" command-line switch.
231217
See also [Issue #304](../../../issues/304).
232218

233219

234-
### ignore_certificate_errors
235-
236-
(bool)
237-
Set to true (1) to ignore errors related to invalid SSL certificates.
238-
Enabling this setting can lead to potential security vulnerabilities like
239-
"man in the middle" attacks. Applications that load content from the
240-
internet should not enable this setting. Also configurable using the
241-
"ignore-certificate-errors" [command-line switch](CommandLineSwitches.md).
242-
Can be overridden for individual CefRequestContext instances via the
243-
CefRequestContextSettings.ignore_certificate_errors value.
244-
245-
__IMPORTANT__: This option not only ignores all certificate errors,
246-
but it also enables caching of content due to custom patch being
247-
applied (read more in "NOTE ON CACHING" further down). If you don't
248-
want this caching feature of insecure content then alternatively you
249-
can ignore certificate errors using the
250-
RequestHandler.[_OnCertificateError()](#_oncertificateerror)
251-
callback. Note that disk caching is enabled only when the "cache_path"
252-
option is set.
253-
254-
__NOTE ON CACHING__: Chromium by default disallows caching of
255-
content when there is certificate error. There is a issue125.patch
256-
in the patches/ directory that can be enabled when doing a custom
257-
CEF build. This patch changes the caching behavior on sites with SSL
258-
certificate errors when used with this setting. This patch can be
259-
applied Chromium sources to allow for caching even when there is
260-
certificate error, but only when the "ignore_certificate_errors"
261-
option is set to True.
262-
When it's set to False then the Chromium's caching behavior does not
263-
change. Enabling caching with certificate errors is useful on local
264-
private networks that use self-signed SSL certificates. See the
265-
referenced CEF topic in [Issue #125](../../../issues/125) for more details.
266-
267-
268220
### javascript_flags
269221

270222
(string)
@@ -485,17 +437,6 @@ default User-Agent string will be used. Also configurable using the
485437
"user-agent" [command-line switch](CommandLineSwitches.md).
486438

487439

488-
### user_data_path
489-
490-
(string)
491-
The location where user data such as spell checking dictionary files will
492-
be stored on disk. If empty then the default platform-specific user data
493-
directory will be used (`"~/.cef_user_data"` directory on Linux,
494-
`"~/Library/Application Support/CEF/User Data"` directory on Mac OS X,
495-
`"Local Settings\Application Data\CEF\User Data"` directory under the user
496-
profile directory on Windows).
497-
498-
499440
### windowless_rendering_enabled
500441

501442
(bool)

0 commit comments

Comments
 (0)