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
..
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2020-10-15 14:21:06 -04:00
2021-04-12 16:18:37 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-04-11 20:44:28 -04:00
2021-03-18 11:23:00 -04:00
2021-04-08 19:38:29 -04:00
2021-03-18 11:23:00 -04:00
2021-04-11 16:05:10 -04:00
2021-04-09 15:04:24 -04:00
2021-03-18 11:23:00 -04:00
2021-02-08 14:15:38 -05:00
2021-02-08 14:15:38 -05:00
2021-03-18 11:23:00 -04:00
2021-03-18 14:11:59 -04:00
2021-03-18 11:23:00 -04:00
2020-12-04 15:43:33 -05:00
2021-03-18 11:23:00 -04:00
2021-04-11 20:44:28 -04:00
2021-04-11 20:44:28 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-31 11:00:37 -04:00
2021-02-08 14:15:38 -05:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2020-10-15 14:21:06 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-02-08 14:15:38 -05:00
2021-03-18 11:23:00 -04:00
2020-10-15 14:21:06 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2020-06-29 16:17:23 -04:00
2021-02-08 14:15:38 -05:00
2018-12-04 14:45:37 -05:00
2018-12-04 14:45:37 -05:00
2021-02-08 14:15:38 -05:00
2021-03-18 11:23:00 -04:00
2020-07-16 19:11:12 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-02-08 14:15:38 -05:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2020-07-16 19:11:12 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2021-03-18 11:23:00 -04:00
2020-09-03 17:44:25 -04:00