cef/tests/ceftests
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
..
extensions ceftests: Fix incorrect include guard #ifdef names 2020-08-26 16:21:30 -04:00
resources MacOS: Update target SDK to 10.10 for cmake and tests 2020-07-23 12:12:16 -04:00
views views: Support specification of screen bounds for CefWindow creation (fixes issue #2980) 2020-09-03 17:51:57 -04:00
CMakeLists.txt.in Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
audio_output_unittest.cc Improve AudioOutputTest.AudioTogglePlaybackTest to avoid flakyness. 2020-06-10 15:26:40 -04:00
browser_info_map_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
client_app_delegates.cc Remove render thread created callbacks (see issue #2498) 2020-07-16 19:11:18 -04:00
command_line_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
cookie_unittest.cc Don't save or load cookies for non-cookieable scheme requests. 2020-09-09 18:29:15 -04:00
cors_unittest.cc Support CORS preflight requests with OutOfBlinkCors (fixes issue #3006) 2020-09-11 19:21:53 -04:00
devtools_message_unittest.cc Add support for direct DevTools protocol messaging (fixes issue #2961). 2020-06-19 22:15:22 -04:00
dialog_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
display_unittest.cc Update to Chromium revision 9ef2aa86 (#550428) 2018-05-04 10:50:26 +02:00
dom_unittest.cc Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
download_unittest.cc Convert usage and tests to the new CefResourceHandler API (see issue #2622) 2019-12-31 16:11:29 +02:00
draggable_regions_unittest.cc Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
file_util_unittest.cc Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
frame_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
image_unittest.cc Allow CefImage usage from any thread 2019-11-19 13:29:33 -05:00
image_util.cc Rename unittests to ceftests (issue #1632) 2016-11-18 12:44:46 -05:00
image_util.h ceftests: Fix incorrect include guard #ifdef names 2020-08-26 16:21:30 -04:00
jsdialog_unittest.cc Update to Chromium revision d483fb77 (#474934) 2017-06-02 05:55:23 -07:00
life_span_unittest.cc Update to Chromium revision d483fb77 (#474934) 2017-06-02 05:55:23 -07:00
message_router_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
navigation_unittest.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
os_rendering_unittest.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
os_rendering_unittest_mac.h ceftests: Fix incorrect include guard #ifdef names 2020-08-26 16:21:30 -04:00
os_rendering_unittest_mac.mm macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
osr_accessibility_unittest.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
osr_display_unittest.cc Fix no newline at end of file error with Xcode 11.3.1 2020-04-02 13:36:45 -04:00
parser_unittest.cc Fix UU_REPLACE_PLUS_WITH_SPACE value to match Chromium (fixes issue #2904) 2020-04-02 21:16:52 +00:00
plugin_unittest.cc Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
preference_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
print_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
process_message_unittest.cc Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
request_context_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
request_handler_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
request_unittest.cc Update to Chromium version 81.0.4044.0 (#737173) 2020-03-04 19:31:54 -05:00
resource.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
resource_manager_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
resource_request_handler_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
resource_util_linux.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
resource_util_win_idmap.cc Update to Chromium revision 5fdc0fab (#520840) 2017-12-14 15:31:07 -05:00
response_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
routing_test_handler.cc Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
routing_test_handler.h ceftests: Fix incorrect include guard #ifdef names 2020-08-26 16:21:30 -04:00
run_all_unittests.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
run_all_unittests_mac.mm Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
scheme_handler_unittest.cc Don't save or load cookies for non-cookieable scheme requests. 2020-09-09 18:29:15 -04:00
scoped_temp_dir_unittest.cc Rename unittests to ceftests (issue #1632) 2016-11-18 12:44:46 -05:00
server_unittest.cc ceftests: Add shared test_request and test_server implementations 2020-08-26 16:23:19 -04:00
stream_resource_handler_unittest.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
stream_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
string_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
task_unittest.cc Update to Chromium revision 66afc5e5 (#540276) 2018-03-22 16:56:23 -04:00
test_handler.cc Add support and enable out-of-Blink CORS (fixes issue #2716) 2020-08-26 16:25:25 -04:00
test_handler.h ceftests: Move TrackCallback to a separate header file 2020-08-26 16:21:51 -04:00
test_request.cc Don't save or load cookies for non-cookieable scheme requests. 2020-09-09 18:29:15 -04:00
test_request.h Don't save or load cookies for non-cookieable scheme requests. 2020-09-09 18:29:15 -04:00
test_server.cc Support CORS preflight requests with OutOfBlinkCors (fixes issue #3006) 2020-09-11 19:21:53 -04:00
test_server.h Add support and enable out-of-Blink CORS (fixes issue #2716) 2020-08-26 16:25:25 -04:00
test_server_unittest.cc ceftests: Add shared test_request and test_server implementations 2020-08-26 16:23:19 -04:00
test_suite.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
test_suite.h ceftests: Fix incorrect include guard #ifdef names 2020-08-26 16:21:30 -04:00
test_util.cc Add support and enable out-of-Blink CORS (fixes issue #2716) 2020-08-26 16:25:25 -04:00
test_util.h Add support and enable out-of-Blink CORS (fixes issue #2716) 2020-08-26 16:25:25 -04:00
thread_helper.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
thread_helper.h ceftests: Fix incorrect include guard #ifdef names 2020-08-26 16:21:30 -04:00
thread_unittest.cc Move message routing from CefBrowser to CefFrame (see issue #2498). 2019-05-29 17:44:56 +03:00
tracing_unittest.cc Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
track_callback.h ceftests: Move TrackCallback to a separate header file 2020-08-26 16:21:51 -04:00
translator_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
urlrequest_unittest.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
v8_unittest.cc Update to Chromium version 86.0.4240.0 (#800218) 2020-09-03 17:44:25 -04:00
values_unittest.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
version_unittest.cc Compute all version numbers using cef_version.py (see issue #2596) 2019-03-15 13:16:43 -04:00
waitable_event_unittest.cc Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
webui_unittest.cc Update to Chromium version 80.0.3987.0 (#722274) 2020-02-17 13:19:09 -05:00
xml_reader_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
zip_reader_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00