mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-28 02:20:04 +01:00
fa5268fa2d
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. |
||
---|---|---|
.. | ||
base | ||
cpptoc | ||
ctocpp | ||
sandbox | ||
wrapper | ||
CMakeLists.txt.in | ||
libcef_dll2.cc | ||
libcef_dll.cc | ||
libcef_dll.rc | ||
libcef.dll.manifest | ||
libcef.lst | ||
ptr_util.h | ||
resource.h | ||
shutdown_checker.cc | ||
shutdown_checker.h | ||
transfer_util.cc | ||
transfer_util.h | ||
views_stub.cc | ||
wrapper_types.h |