cef/libcef
Marshall Greenblatt fc7f9ff505 Fix crash when navigating to an unregistered scheme (fixes issue #3105)
The policy->CanAccessDataForOrigin CHECK in NavigationRequest::
GetOriginForURLLoaderFactory was failing because unregistered schemes
(which are already considered non-standard schemes) didn't trigger the
registered non-standard scheme allowance that we previously added in
ChildProcessSecurityPolicyImpl::CanAccessDataForOrigin. This change
modifies GetOriginForURLLoaderFactory to always return an opaque/unique
origin for non-standard schemes resulting in unregistered and non-standard
schemes receiving the same treatment.

New test coverage has been added for this condition, and can be run with:
ceftests --gtest_filter=CorsTest.*CustomUnregistered*
2021-04-12 16:18:37 -04:00
..
browser Fix crash when navigating to an unregistered scheme (fixes issue #3105) 2021-04-12 16:18:37 -04:00
common chrome: Support client-created request contexts (see issue #2969) 2021-04-07 18:19:17 -04:00
features Create a ChromeBrowserHostImpl for every Chrome tab (see issue #2969) 2020-09-21 17:06:56 -04:00
renderer Fix potential use-after-free of V8TrackArrayBuffer (fixes issue #3074) 2021-03-23 16:02:51 -04:00
resources Update to Chromium version 88.0.4324.0 (#827102) 2020-12-04 15:43:33 -05:00