// Serialize the registered schemes in a comma-separated list.
static String listOfCORSEnabledURLSchemes();
+ // "Legacy" schemes (e.g. 'ftp:', 'gopher:') which we might want to treat differently from "webby" schemes.
+ static void registerURLSchemeAsLegacy(const String& scheme);
+ static bool shouldTreatURLSchemeAsLegacy(const String& scheme);
+
// Allow resources from some schemes to load on a page, regardless of its
// Content Security Policy.
static void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme);