cef/tests/ceftests
Marshall Greenblatt 21cf732e7f chrome: Update expectations with same-site BFCache enabled (fixes issue #3301)
With same-site BFCache enabled every navigation can now potentially be served
via the BFCache. To support this internally a new top-level RenderFrame object
may be created for each new navigation. As a result, OnBrowserCreated may now
be called multiple times with the same browser ID in a given renderer process
(a behavior previously only seen with cross-site navigations and different
renderer processes).

BFCache navigations do not trigger the same Chromium notifications as a normal
load. To avoid breaking CEF API usage expectations we now synthetically
generate the load-related callbacks that would otherwise be missing
(OnLoadingStateChange with isLoading=true, OnLoadStart, OnLoadEnd). The
|httpStatusCode| argument to OnLoadEnd will be 0 in this case.

To test:
- Run `FrameHandlerTest.*:MessageRouterTest.*:NavigationTest.*`
- Run `NavigationTest.LoadSameOriginLoadURL` for OnBrowserCreated behavior.
- Run `NavigationTest.History` for load-related callback behavior.
2022-04-05 15:30:30 -04:00
..
extensions tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
resources Update to Chromium version 88.0.4324.0 (#827102) 2020-12-04 15:43:33 -05:00
views Update to Chromium version 94.0.4606.0 (#911515) 2021-08-24 17:43:02 -04:00
audio_output_unittest.cc Various fixes related to the C++11/14 update (see issue #3140) 2021-06-18 13:42:31 -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 Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
CMakeLists.txt.in Mac: Add Views API support (see issue #1749) 2021-02-27 12:31:45 -05:00
command_line_unittest.cc Fix CefCommandLine character case requirements (fixes issue #1872) 2021-09-27 16:36:57 +03:00
cookie_unittest.cc Replace CefRequestCallback with CefCallback (fixes issue #1861) 2021-09-27 16:22:27 +03:00
cors_unittest.cc Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
devtools_message_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
dialog_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
display_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04: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 Add permission callback for user-initated downloads (fixes issue #3183) 2022-03-22 17:46:44 -04:00
draggable_regions_unittest.cc Fix draggable region update with BackForwardCache enabled (see issue #2421) 2021-09-16 18:25:43 +03:00
file_util_unittest.cc Add support for loading extensions (issue #1947) 2017-08-25 18:40:32 -04:00
frame_handler_unittest.cc chrome: Update expectations with same-site BFCache enabled (fixes issue #3301) 2022-04-05 15:30:30 -04:00
frame_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04: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 tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
life_span_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
message_router_unittest.cc chrome: Update expectations with same-site BFCache enabled (fixes issue #3301) 2022-04-05 15:30:30 -04:00
navigation_unittest.cc chrome: Update expectations with same-site BFCache enabled (fixes issue #3301) 2022-04-05 15:30:30 -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
os_rendering_unittest.cc Rename SendFocusEvent to SetFocus (fixes issue #866) 2021-09-27 10:50:12 +03:00
osr_accessibility_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
osr_display_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
parser_unittest.cc Update to Chromium version 87.0.4280.0 (#812852) 2020-10-15 14:21:06 -04:00
pdf_viewer_unittest.cc Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
preference_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
print_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
process_message_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
request_context_unittest.cc Update to Chromium version 95.0.4638.0 (#920003) 2021-09-22 12:08:24 +03:00
request_handler_unittest.cc Replace CefRequestCallback with CefCallback (fixes issue #1861) 2021-09-27 16:22:27 +03:00
request_unittest.cc Replace CefRequestCallback with CefCallback (fixes issue #1861) 2021-09-27 16:22:27 +03:00
resource_manager_unittest.cc Replace CefRequestCallback with CefCallback (fixes issue #1861) 2021-09-27 16:22:27 +03:00
resource_request_handler_unittest.cc Replace CefRequestCallback with CefCallback (fixes issue #1861) 2021-09-27 16:22:27 +03: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
resource.h Apply clang-format to all C, C++ and ObjC files (issue #2171) 2017-05-18 12:30:05 +02:00
response_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
routing_test_handler.cc Add CefFrameHandler callbacks for tracking CefFrame lifespan (see issue #2421) 2021-05-31 18:58:27 -04:00
routing_test_handler.h Add CefFrameHandler callbacks for tracking CefFrame lifespan (see issue #2421) 2021-05-31 18:58:27 -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
run_all_unittests.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
scheme_handler_unittest.cc Update to Chromium version 97.0.4692.0 (#938553) 2021-11-15 14:25:16 -05:00
scoped_temp_dir_unittest.cc Rename unittests to ceftests (issue #1632) 2016-11-18 12:44:46 -05:00
server_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
stream_resource_handler_unittest.cc Various fixes related to the C++11/14 update (see issue #3140) 2021-06-18 13:42:31 -04:00
stream_unittest.cc ceftests: Convert NULL to nullptr (see issue #2861) 2020-01-15 14:59:12 +01:00
string_unittest.cc Update to Chromium version 91.0.4472.0 (#870763) 2021-04-23 11:38:51 -04:00
task_unittest.cc Add base::OnceClosure support in cef_closure_task.h (see issue #3140) 2021-06-18 14:19:11 -04:00
test_handler.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
test_handler.h tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
test_request.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
test_request.h tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
test_server_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
test_server.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
test_server.h tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
test_suite.cc gtest: Add plugin for TeamCity integration 2021-06-24 17:00:21 -04:00
test_suite.h chrome: Support client-created request contexts (see issue #2969) 2021-04-07 18:19:17 -04:00
test_util.cc chrome: Update expectations with same-site BFCache enabled (fixes issue #3301) 2022-04-05 15:30:30 -04:00
test_util.h chrome: Update expectations with same-site BFCache enabled (fixes issue #3301) 2022-04-05 15:30:30 -04:00
thread_helper.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
thread_helper.h tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
thread_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
tracing_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
track_callback.h ceftests: Move TrackCallback to a separate header file 2020-08-26 16:21:51 -04:00
translator_unittest.cc Various fixes related to the C++11/14 update (see issue #3140) 2021-06-18 13:42:31 -04:00
urlrequest_unittest.cc Delete cef_web_plugin.h and plugin-related APIs (see issue #3047) 2022-02-18 16:23:11 -05:00
v8_unittest.cc tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -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 tests: Convert usage of base::Bind to Once or Repeating (see issue #3140) 2021-06-19 17:19:32 -04:00
webui_unittest.cc Update to Chromium version 97.0.4692.0 (#938553) 2021-11-15 14:25:16 -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