mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add option to enable fetch support for custom schemes (issue #2579)
This commit is contained in:
committed by
Marshall Greenblatt
parent
667d190547
commit
a72e00a7b9
@@ -269,6 +269,8 @@ void CefContentRendererClient::WebKitInitialized() {
|
||||
blink::WebSecurityPolicy::RegisterURLSchemeAsDisplayIsolated(scheme);
|
||||
if (info.is_secure)
|
||||
blink_glue::RegisterURLSchemeAsSecure(scheme);
|
||||
if (info.is_fetch_enabled)
|
||||
blink_glue::RegisterURLSchemeAsSupportingFetchAPI(scheme);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user