cef/libcef/browser
Marshall Greenblatt fc7f9ff505 Fix crash when navigating to an unregistered scheme (fixes issue #3105)
The policy->CanAccessDataForOrigin CHECK in NavigationRequest::
GetOriginForURLLoaderFactory was failing because unregistered schemes
(which are already considered non-standard schemes) didn't trigger the
registered non-standard scheme allowance that we previously added in
ChildProcessSecurityPolicyImpl::CanAccessDataForOrigin. This change
modifies GetOriginForURLLoaderFactory to always return an opaque/unique
origin for non-standard schemes resulting in unregistered and non-standard
schemes receiving the same treatment.

New test coverage has been added for this condition, and can be run with:
ceftests --gtest_filter=CorsTest.*CustomUnregistered*
2021-04-12 16:18:37 -04:00
..
alloy chrome: Add DevTools protocol support (see issue #2969) 2021-03-18 13:32:56 -04:00
chrome chrome: Support usage of the Chrome toolbar from Views (see issue #2969) 2021-04-11 20:44:28 -04:00
devtools chrome: Add DevTools protocol support (see issue #2969) 2021-03-18 13:32:56 -04:00
extensions Update to Chromium version 90.0.4430.0 (#857950) 2021-03-18 11:23:00 -04:00
gpu
media_router Update to Chromium version 89.0.4389.0 (#843830) 2021-02-08 14:15:38 -05:00
native Windows: Fix out-of-sync timestamps in OSR mode (fixes issue #3102) 2021-03-23 20:13:03 +00:00
net Use the same pak files for the Alloy and Chrome runtimes (see issue #2969) 2021-02-28 16:51:37 -05:00
net_service Fix crash when navigating to an unregistered scheme (fixes issue #3105) 2021-04-12 16:18:37 -04:00
osr Remove maximum frame rate limit with OSR (fixes issue #3077) 2021-03-18 17:46:03 +00:00
plugins Make CefBrowserContext an abstract base class (see issue #2969) 2020-07-01 15:35:07 -04:00
prefs chrome: Fix PreferenceTest failures (see issue #2969) 2021-04-09 22:00:33 -04:00
printing Move GetPrintHandler to CefClient (see issue #2196) 2021-03-30 12:26:57 -04:00
views chrome: Support usage of the Chrome toolbar from Views (see issue #2969) 2021-04-11 20:44:28 -04:00
audio_capturer.cc Update to Chromium version 88.0.4324.0 (#827102) 2020-12-04 15:43:33 -05:00
audio_capturer.h Update to Chromium version 88.0.4324.0 (#827102) 2020-12-04 15:43:33 -05:00
audio_loopback_stream_creator.cc Update to Chromium version 88.0.4324.0 (#827102) 2020-12-04 15:43:33 -05:00
audio_loopback_stream_creator.h Update to Chromium version 88.0.4324.0 (#827102) 2020-12-04 15:43:33 -05:00
browser_contents_delegate.cc chrome: Support usage of the Chrome toolbar from Views (see issue #2969) 2021-04-11 20:44:28 -04:00
browser_contents_delegate.h Update to Chromium version 90.0.4430.0 (#857950) 2021-03-18 11:23:00 -04:00
browser_context.cc Move cookieable scheme configuration to settings (see issue #2969) 2021-04-09 15:04:24 -04:00
browser_context.h Move cookieable scheme configuration to settings (see issue #2969) 2021-04-09 15:04:24 -04:00
browser_context_keyed_service_factories.cc Update to Chromium version 87.0.4280.0 (#812852) 2020-10-15 14:21:06 -04:00
browser_context_keyed_service_factories.h
browser_host_base.cc chrome: Add DevTools protocol support (see issue #2969) 2021-03-18 13:32:56 -04:00
browser_host_base.h chrome: Add support for reparenting of popups with Views (see issue #2969) 2021-04-02 16:53:34 -04:00
browser_host_create.cc Fix URL rewrite on browser creation (see issue #2969) 2021-04-07 18:56:07 -04:00
browser_info.cc Update to Chromium version 87.0.4280.0 (#812852) 2020-10-15 14:21:06 -04:00
browser_info.h Create a ChromeBrowserHostImpl for every Chrome tab (see issue #2969) 2020-09-21 17:06:56 -04:00
browser_info_manager.cc chrome: Add support for reparenting of popups with Views (see issue #2969) 2021-04-02 16:53:34 -04:00
browser_info_manager.h Add chrome runtime support for more callbacks and ceftests (see issue #2969) 2020-09-29 18:31:43 -04:00
browser_message_filter.cc Remove render thread created callbacks (see issue #2498) 2020-07-16 19:11:18 -04:00
browser_message_filter.h
browser_message_loop.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
browser_message_loop.h Refactor process execution logic (see issue #2969) 2020-06-29 16:17:13 -04:00
browser_platform_delegate.cc chrome: Add Views API integration (see issue #2969) 2021-02-21 15:25:10 -05:00
browser_platform_delegate.h Mac: Add Views API support (see issue #1749) 2021-02-27 12:31:45 -05:00
browser_platform_delegate_create.cc chrome: Add support for reparenting of popups with Views (see issue #2969) 2021-04-02 16:53:34 -04:00
browser_util.cc Update to Chromium version 84.0.4147.0 (#768962) 2020-06-10 15:26:29 -04:00
browser_util.h
chrome_crash_reporter_client_stub.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
context.cc Move cookieable scheme configuration to settings (see issue #2969) 2021-04-09 15:04:24 -04:00
context.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
context_menu_params_impl.cc Update to Chromium version 90.0.4430.0 (#857950) 2021-03-18 11:23:00 -04:00
context_menu_params_impl.h Update to Chromium version 90.0.4430.0 (#857950) 2021-03-18 11:23:00 -04:00
download_item_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
download_item_impl.h
download_manager_delegate.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
download_manager_delegate.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
extension_impl.cc Make CefBrowserContext an abstract base class (see issue #2969) 2020-07-01 15:35:07 -04:00
extension_impl.h Update to Chromium version 74.0.3729.0 (#638880) 2019-03-13 21:27:37 +00:00
file_dialog_manager.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
file_dialog_manager.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
file_dialog_runner.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
frame_host_impl.cc Fix loading of URL without scheme (fixes issue #3079) 2021-02-10 13:33:51 -05:00
frame_host_impl.h Update to Chromium version 88.0.4324.0 (#827102) 2020-12-04 15:43:33 -05:00
image_impl.cc Update to Chromium version 89.0.4389.0 (#843830) 2021-02-08 14:15:38 -05:00
image_impl.h Allow CefImage usage from any thread 2019-11-19 13:29:33 -05:00
iothread_state.cc Avoid potential use-after-free of CefIOThreadState (see issue #2969) 2021-04-07 18:19:46 -04:00
iothread_state.h Avoid potential use-after-free of CefIOThreadState (see issue #2969) 2021-04-07 18:19:46 -04:00
javascript_dialog_manager.cc Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
javascript_dialog_manager.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
javascript_dialog_runner.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
main_runner.cc Update to Chromium version 87.0.4280.0 (#812852) 2020-10-15 14:21:06 -04:00
main_runner.h Update to Chromium version 87.0.4280.0 (#812852) 2020-10-15 14:21:06 -04:00
media_capture_devices_dispatcher.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
media_capture_devices_dispatcher.h Update to Chromium version 77.0.3865.0 (#681094) 2019-09-04 15:13:32 +00:00
menu_manager.cc Update to Chromium version 90.0.4430.0 (#857950) 2021-03-18 11:23:00 -04:00
menu_manager.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
menu_model_impl.cc Update to Chromium version 90.0.4430.0 (#857950) 2021-03-18 11:23:00 -04:00
menu_model_impl.h Update to Chromium version 90.0.4430.0 (#857950) 2021-03-18 11:23:00 -04:00
menu_runner.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
navigate_params.cc Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
navigate_params.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
navigation_entry_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
navigation_entry_impl.h
origin_whitelist_impl.cc Add support and enable out-of-Blink CORS (fixes issue #2716) 2020-08-26 16:25:25 -04:00
origin_whitelist_impl.h Add support and enable out-of-Blink CORS (fixes issue #2716) 2020-08-26 16:25:25 -04:00
path_util_impl.cc Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
print_settings_impl.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
print_settings_impl.h Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
process_util_impl.cc Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
request_context_handler_map.cc Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
request_context_handler_map.h Rename CefBrowserHostImpl to AlloyBrowserHostImpl (see issue #2969) 2020-09-22 17:36:06 -04:00
request_context_impl.cc chrome: Support client-created request contexts (see issue #2969) 2021-04-07 18:19:17 -04:00
request_context_impl.h chrome: Support client-created request contexts (see issue #2969) 2021-04-07 18:19:17 -04:00
scheme_impl.cc
server_impl.cc Fix server thread assertion on CEF shutdown (see issue #2969) 2021-04-09 14:22:51 -04:00
server_impl.h Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00:00
simple_menu_model_impl.cc chrome: Support customization of context menus (see issue #2969) 2021-04-08 19:38:29 -04:00
simple_menu_model_impl.h chrome: Support customization of context menus (see issue #2969) 2021-04-08 19:38:29 -04:00
speech_recognition_manager_delegate.cc Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
speech_recognition_manager_delegate.h
ssl_host_state_delegate.cc Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
ssl_host_state_delegate.h Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
ssl_info_impl.cc Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
ssl_info_impl.h
ssl_status_impl.cc
ssl_status_impl.h
stream_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
stream_impl.h
thread_util.h Rename the current CEF runtime to Alloy (see issue #2969) 2020-06-29 16:17:41 -04:00
trace_impl.cc
trace_subscriber.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
trace_subscriber.h
web_contents_dialog_helper.cc Mac: Add Views API support (see issue #1749) 2021-02-27 12:31:45 -05:00
web_contents_dialog_helper.h Add print preview support (see issue #123) 2019-07-19 21:55:30 -04:00
web_plugin_impl.cc
web_plugin_impl.h
x509_cert_principal_impl.cc
x509_cert_principal_impl.h
x509_certificate_impl.cc Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
x509_certificate_impl.h Rename the current CEF runtime to Alloy (see issue #2969) 2020-06-29 16:17:41 -04:00
xml_reader_impl.cc Update to Chromium version 89.0.4389.0 (#843830) 2021-02-08 14:15:38 -05:00
xml_reader_impl.h
zip_reader_impl.cc Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
zip_reader_impl.h