267
267
bool protocolIs(const String& url, const char* protocol);
268
268
bool protocolIsJavaScript(const String& url);
271
270
bool isDefaultPortForProtocol(unsigned short port, const String& protocol);
272
271
bool portAllowed(const KURL&); // Blacklist ports that should never be used for Web resources.