WebKit2.SecurityManager.prototype.uri_scheme_is_cors_enabled
function uri_scheme_is_cors_enabled(scheme: String): Boolean { // Gjs wrapper for webkit_security_manager_uri_scheme_is_cors_enabled() }
Whether scheme is considered as a CORS enabled scheme. See also WebKit2.SecurityManager.prototype.register_uri_scheme_as_cors_enabled.
- scheme
a URI scheme
- Returns
true if scheme is a CORS enabled scheme or false otherwise.