cef/libcef/browser/net_service
Marshall Greenblatt fa5268fa2d Fix issues with request callbacks during browser shutdown (see issue #2622).
The behavior has changed as follows with NetworkService enabled:
- All pending and in-progress requests will now be aborted when the CEF context
  or associated browser is destroyed. The OnResourceLoadComplete callback will
  now also be called in this case for in-progress requests that have a handler.
- The CefResourceHandler::Cancel method will now always be called when resource
  handling is complete, irrespective of whether handling completed successfully.
- Request callbacks that arrive after the OnBeforeClose callback for the
  associated browser (which may happen for in-progress requests that are aborted
  on browser destruction) will now always have a non-nullptr CefBrowser
  parameter.
- Allow empty parameters to CefRequest and CefResponse methods where it makes
  sense (e.g. resetting default response state, or clearing a referrer value).
- Fixed a reference loop that was keeping CefResourceHandler objects from being
  destroyed if they were holding a callback reference (from ProcessRequest,
  ReadResponse, etc.) during CEF context or associated browser destruction.
- Fixed an issue where the main frame was not detached on browser destruction
  which could cause a crash due to RFH use-after-free (see issue #2498).

To test: All unit tests pass as expected.
2019-06-01 15:51:33 +03:00
..
browser_urlrequest_impl.cc Fix issues with request callbacks during browser shutdown (see issue #2622). 2019-06-01 15:51:33 +03:00
browser_urlrequest_impl.h Add NetworkService support for CefURLRequest (see issue #2622). 2019-05-17 21:42:25 +03:00
cookie_helper.cc
cookie_helper.h
cookie_manager_impl.cc Fix crash when setting an invalid cookie (fixes issue #2657) 2019-05-08 18:12:21 +00:00
cookie_manager_impl.h Support disabling of cookie load/save via SetSupportedSchemes (see issue #2622). 2019-05-02 18:33:10 -04:00
proxy_url_loader_factory.cc Fix assertions when shutting down with pending requests (see issue #2622). 2019-05-29 20:01:12 +03:00
proxy_url_loader_factory.h Add NetworkService support for response filtering (see issue #2622). 2019-05-20 14:39:37 +03:00
resource_handler_wrapper.cc Fix issues with request callbacks during browser shutdown (see issue #2622). 2019-06-01 15:51:33 +03:00
resource_handler_wrapper.h
resource_request_handler_wrapper.cc Fix issues with request callbacks during browser shutdown (see issue #2622). 2019-06-01 15:51:33 +03:00
resource_request_handler_wrapper.h
response_filter_wrapper.cc Add NetworkService support for response filtering (see issue #2622). 2019-05-20 14:39:37 +03:00
response_filter_wrapper.h Add NetworkService support for response filtering (see issue #2622). 2019-05-20 14:39:37 +03:00
stream_reader_url_loader.cc Fix issues with request callbacks during browser shutdown (see issue #2622). 2019-06-01 15:51:33 +03:00
stream_reader_url_loader.h Fix issues with request callbacks during browser shutdown (see issue #2622). 2019-06-01 15:51:33 +03:00
url_loader_factory_getter.cc Add NetworkService support for CefURLRequest (see issue #2622). 2019-05-17 21:42:25 +03:00
url_loader_factory_getter.h Add NetworkService support for CefURLRequest (see issue #2622). 2019-05-17 21:42:25 +03:00