Searched refs:CORSEnabledSchemes (Results 1 – 1 of 1) sorted by relevance
129 static URLSchemesMap& CORSEnabledSchemes() in CORSEnabledSchemes() function132 DEFINE_STATIC_LOCAL(URLSchemesMap, CORSEnabledSchemes, ()); in CORSEnabledSchemes()134 if (CORSEnabledSchemes.isEmpty()) { in CORSEnabledSchemes()135 CORSEnabledSchemes.add("http"); in CORSEnabledSchemes()136 CORSEnabledSchemes.add("https"); in CORSEnabledSchemes()139 return CORSEnabledSchemes; in CORSEnabledSchemes()247 CORSEnabledSchemes().add(scheme); in registerURLSchemeAsCORSEnabled()254 return CORSEnabledSchemes().contains(scheme); in shouldTreatURLSchemeAsCORSEnabled()