cef/libcef/browser
Marshall Greenblatt cc56720bd2 Support CORS preflight requests with OutOfBlinkCors (fixes issue #3006)
A CORS preflight request is an "OPTIONS" request sent to a server prior to a
cross-origin XMLHttpRequest or Fetch request. The server's response determines
which HTTP request methods are allowed and supported, and whether credentials
such as Cookies and HTTP Authentication should be sent with requests.

A CORS preflight request will only be sent if certain conditions are met. For
example, it will be sent for requests that have potentially unsafe HTTP
methods [1] or request headers [2]. See the NeedsPreflight function in
services/network/cors/cors_url_loader.cc for full details.

CORS preflight functionality is implemented in the network service and will not
be triggered if the client handles the request instead of allowing it to proceed
over the network. Since the preflight request itself also runs in the network
service it cannot be intercepted by the client.

[1] https://fetch.spec.whatwg.org/#cors-safelisted-method
[2] https://fetch.spec.whatwg.org/#cors-safelisted-request-header
2020-09-11 19:21:53 -04:00
..
alloy Don't save or load cookies for non-cookieable scheme requests. 2020-09-09 18:29:15 -04:00
chrome Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
devtools Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
extensions Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
gpu Update to Chromium version 73.0.3665.0 (#620590) 2019-01-18 11:25:51 +01:00
media_router Expose MediaSink device ip/port and model name (see issue #2900) 2020-07-16 19:11:19 -04:00
native Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
net Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
net_service Support CORS preflight requests with OutOfBlinkCors (fixes issue #3006) 2020-09-11 19:21:53 -04:00
osr Restore the CefRenderHandler::OnScrollOffsetChanged callback (fixes issue #2810) 2020-09-03 17:51:09 -04:00
plugins Make CefBrowserContext an abstract base class (see issue #2969) 2020-07-01 15:35:07 -04:00
prefs Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
printing Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
views views: Support specification of screen bounds for CefWindow creation (fixes issue #2980) 2020-09-03 17:51:57 -04:00
audio_capturer.cc Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
audio_capturer.h Re-implement audio capturing based on the AudioService API (fixes issue #2755) 2020-05-01 18:18:18 +00:00
browser_context.cc Fix official build errors caused by chrome runtime changes (see issue #2969) 2020-07-16 19:11:18 -04:00
browser_context.h Don't save or load cookies for non-cookieable scheme requests. 2020-09-09 18:29:15 -04:00
browser_context_keyed_service_factories.cc Add Google SafeSearch support with NetworkService (see issue #1917) 2019-10-02 12:33:56 +03:00
browser_context_keyed_service_factories.h Initialize required KeyedServiceFactories when extensions are disabled (issue #2359) 2018-02-02 17:44:08 -05:00
browser_host_impl.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
browser_host_impl.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
browser_info.cc Fix crash in RemoveFrame on unknown frame_tree_node_id (fixes issue #2799) 2019-11-06 13:17:18 -05:00
browser_info.h Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
browser_info_manager.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
browser_info_manager.h Fix DCHECK when showing print preview dialog (see issue #2952) 2020-07-23 15:46:57 -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 Resolve request mapping issues with swapped out frames and browser-side navigation (issue #2290) 2017-10-26 15:58:57 -04:00
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 Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
browser_platform_delegate.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
browser_platform_delegate_create.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -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 Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
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 Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
context.h Add initial chrome runtime support (see issue #2969) 2020-06-29 16:17:23 -04:00
context_menu_params_impl.cc Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
context_menu_params_impl.h Update to Chromium version 82.0.4085.0 (#749737) 2020-04-02 13:20:25 -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 Update to Chromium revision 66afc5e5 (#540276) 2018-03-22 16:56:23 -04:00
download_manager_delegate.cc Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
download_manager_delegate.h Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05: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 Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
file_dialog_manager.h Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
file_dialog_runner.h Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
frame_host_impl.cc Fix CefFrame::GetSource crash on detached frame (fixes issue #2898) 2020-04-02 21:01:33 +00:00
frame_host_impl.h Fix navigation to debug URLs 2020-02-17 13:19:09 -05:00
image_impl.cc Allow CefImage usage from any thread 2019-11-19 13:29:33 -05:00
image_impl.h Allow CefImage usage from any thread 2019-11-19 13:29:33 -05:00
iothread_state.cc Make CefBrowserContext an abstract base class (see issue #2969) 2020-07-01 15:35:07 -04:00
iothread_state.h Make CefBrowserContext an abstract base class (see issue #2969) 2020-07-01 15:35:07 -04:00
javascript_dialog_manager.cc Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
javascript_dialog_manager.h Update to Chromium revision 66afc5e5 (#540276) 2018-03-22 16:56:23 -04:00
javascript_dialog_runner.h Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
main_runner.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
main_runner.h Add initial chrome runtime support (see issue #2969) 2020-06-29 16:17:23 -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 Add CefAppManager and remove global ContentClient accessors (see issue #2969) 2020-06-29 16:17:58 -04:00
menu_manager.h Update to Chromium version 82.0.4085.0 (#749737) 2020-04-02 13:20:25 -04:00
menu_model_impl.cc Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
menu_model_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
menu_runner.h Update to Chromium revision 6e53600d (#386251) 2016-04-28 12:57:08 -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 Add API for SSL status and certificate retrieval (issue #1924) 2016-09-02 13:01:33 +03:00
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 Update to Chromium version 78.0.3904.0 (#693954) 2019-10-01 13:55:16 +00:00
request_context_impl.cc Update to Chromium version 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
request_context_impl.h Rename the current CEF runtime to Alloy (see issue #2969) 2020-06-29 16:17:41 -04:00
scheme_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
server_impl.cc Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
server_impl.h Update to Chromium version 75.0.3749.0 (#645082) 2019-04-16 14:38:48 +00: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 Update to Chromium version 69.0.3464.0 (#567918) 2018-06-19 15:49:32 -04:00
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 Add API for SSL status and certificate retrieval (issue #1924) 2016-09-02 13:01:33 +03:00
ssl_status_impl.cc Add callback for custom certificate selection (issue #1824) 2016-10-27 14:04:48 -04:00
ssl_status_impl.h Update to Chromium revision 9cedf753 (#418732) 2016-10-20 16:54:25 -04:00
stream_impl.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
stream_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
thread_util.h Rename the current CEF runtime to Alloy (see issue #2969) 2020-06-29 16:17:41 -04:00
trace_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
trace_subscriber.cc libcef: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:49:22 +01:00
trace_subscriber.h Update to Chromium revision 2b3ae3b8 (#394939) 2016-05-25 08:10:01 -07:00
web_contents_dialog_helper.cc Add print preview support (see issue #123) 2019-07-19 21:55:30 -04: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 Update to Chromium version 71.0.3567.0 (#595360) 2018-10-04 12:17:26 +03:00
web_plugin_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
x509_cert_principal_impl.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
x509_cert_principal_impl.h Add API for SSL status and certificate retrieval (issue #1924) 2016-09-02 13:01:33 +03:00
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 85.0.4183.0 (#782793) 2020-07-16 19:11:12 -04:00
xml_reader_impl.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
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 Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00