bool SchemeRegistry::shouldTreatURLSchemeAsNotAllowingJavascriptURLs(const String& scheme) { if (scheme.isEmpty()) return false; MutexLocker locker(mutex()); return notAllowingJavascriptURLsSchemes().contains(scheme); }
void SchemeRegistry::registerURLSchemeAsNotAllowingJavascriptURLs(const String& scheme) { MutexLocker locker(mutex()); notAllowingJavascriptURLsSchemes().add(scheme); }
void SchemeRegistry::registerURLSchemeAsNotAllowingJavascriptURLs(const String& scheme) { notAllowingJavascriptURLsSchemes().add(scheme); }