Home
last modified time | relevance | path

Searched refs:protocolIs (Results 1 – 25 of 38) sorted by relevance

12

/external/webkit/WebCore/platform/network/win/
DCookieJarCFNetWin.cpp103 bool secure = url.protocolIs("https"); in cookies()
117 bool secure = url.protocolIs("https"); in cookieRequestHeaderFieldValue()
140 bool sendSecureCookies = url.protocolIs("https"); in getRawCookies()
173 bool sendSecureCookies = url.protocolIs("https"); in deleteCookie()
/external/webkit/WebCore/platform/
DKURLGoogle.cpp735 return protocolIs(url, "javascript"); in protocolIsJavaScript()
852 if ((port == 21 || port == 22) && url.protocolIs("ftp")) in portAllowed()
856 if (url.protocolIs("file")) in portAllowed()
869 ASSERT(protocolIs(url, "data")); in mimeTypeFromDataURL()
963 bool KURL::protocolIs(const char* protocol) const in protocolIs() function in WebCore::KURL
981 return protocolIs("file"); in isLocalFile()
1093 bool protocolIs(const String& url, const char* protocol) in protocolIs() function
1105 inline bool KURL::protocolIs(const String& string, const char* protocol) in protocolIs() function in WebCore::KURL
1107 return WebCore::protocolIs(string, protocol); in protocolIs()
DKURL.cpp289 inline bool KURL::protocolIs(const String& string, const char* protocol) in protocolIs() function in WebCore::KURL
291 return WebCore::protocolIs(string, protocol); in protocolIs()
349 if (rel.contains('\\') && !(protocolIsJavaScript(rel) || protocolIs(rel, "data"))) in init()
635 bool KURL::protocolIs(const char* protocol) const in protocolIs() function in WebCore::KURL
846 } else if (protocolIs("file")) { in prettyURL()
927 return protocolIs("file"); in isLocalFile()
1548 if (protocolIs(str, "mailto")) { in encodeHostnames()
1583 …if (encoding != pathEncoding && encoding.isValid() && !protocolIs(rel, "mailto") && !protocolIs(re… in encodeRelativeString()
1637 bool protocolIs(const String& url, const char* protocol) in protocolIs() function
1651 return protocolIs(url, "javascript"); in protocolIsJavaScript()
[all …]
DKURL.h143 bool protocolIs(const char*) const;
217 static bool protocolIs(const String&, const char*);
267 bool protocolIs(const String& url, const char* protocol);
/external/webkit/WebCore/page/
DSecurityOrigin.cpp253 if (url.protocolIs("data")) in taintsCanvas()
477 bool referrerIsSecureURL = protocolIs(referrer, "https"); in shouldHideReferrer()
478 bool referrerIsWebURL = referrerIsSecureURL || protocolIs(referrer, "http"); in shouldHideReferrer()
486 bool URLIsSecureURL = url.protocolIs("https"); in shouldHideReferrer()
DXSSAuditor.cpp361 if (frame->document()->url().protocolIs("data")) in findInRequest()
/external/webkit/WebCore/wml/
DWMLAElement.cpp63 if (protocolIs(value, "http") || protocolIs(value, "https") || value.startsWith("//")) in parseMappedAttribute()
/external/webkit/WebKit/android/benchmark/
DIntercept.cpp51 if (protocolIs(m_url, "data")) in handleRequest()
53 else if (protocolIs(m_url, "file")) in handleRequest()
/external/webkit/WebCore/websockets/
DWebSocket.cpp128 if (!m_url.protocolIs("ws") && !m_url.protocolIs("wss")) { in connect()
/external/webkit/WebKit/chromium/tests/
DKURLTest.cpp603 EXPECT_TRUE(url1.protocolIs("foo")); in TEST()
604 EXPECT_FALSE(url1.protocolIs("foo-bar")); in TEST()
607 EXPECT_TRUE(url2.protocolIs("foo-bar")); in TEST()
608 EXPECT_FALSE(url2.protocolIs("foo")); in TEST()
/external/webkit/WebCore/html/
DHTMLPlugInImageElement.cpp43 if (m_serviceType.isEmpty() && protocolIs(m_url, "data")) in isImageType()
DHTMLAnchorElement.cpp281 … if (protocolIs(parsedURL, "http") || protocolIs(parsedURL, "https") || parsedURL.startsWith("//")) in parseMappedAttribute()
DHTMLFormElement.cpp105 return document()->completeURL(url).protocolIs("https"); in formWouldHaveSecureSubmission()
288 return protocolIs(m_url, "mailto"); in isMailtoForm()
/external/webkit/WebCore/platform/qt/
DKURLQt.cpp99 if (!isValid() || !protocolIs("file")) in fileSystemPath()
/external/webkit/WebCore/platform/network/
DResourceHandle.cpp127 return !url.protocolIs("file"); in shouldContentSniffURL()
/external/webkit/WebCore/platform/network/cf/
DSocketStreamHandle.h72 bool shouldUseSSL() const { return m_url.protocolIs("wss"); } in shouldUseSSL()
DSocketStreamHandleCFNet.cpp68 ASSERT(url.protocolIs("ws") || url.protocolIs("wss")); in SocketStreamHandle()
/external/webkit/WebCore/platform/network/qt/
DQNetworkReplyHandler.cpp345 if (!newRequest.url().protocolIs("https") && protocolIs(newRequest.httpReferrer(), "https")) in sendResponseIfNeeded()
DSocketStreamHandleQt.cpp47 bool isSecure = url.protocolIs("wss"); in SocketStreamHandlePrivate()
/external/webkit/WebCore/loader/
DMainResourceLoader.cpp195 return url.isEmpty() || (url.protocolIs("about") && equalIgnoringRef(url, blankURL())); in shouldLoadAsEmptyDocument()
197 return url.isEmpty() || url.protocolIs("about"); in shouldLoadAsEmptyDocument()
DDocLoader.cpp335 if (kurl.protocolIs("http") || kurl.protocolIs("https")) in shouldBlockNetworkImage()
/external/webkit/WebKit/chromium/src/
DFrameLoaderClientImpl.cpp677 ASSERT(m_expectedClientRedirectDest.protocolIs("javascript") in dispatchDidStartProvisionalLoad()
908 if (url.protocolIs(backForwardNavigationScheme)) { in dispatchDecidePolicyForNavigationAction()
1466 ASSERT(url.protocolIs(backForwardNavigationScheme)); in handleBackForwardNavigation()
/external/webkit/WebKit/win/
DWebHistoryItem.cpp194 …if (lastVisitWasHTTPNonGet && (protocolIs(m_historyItem->urlString(), "http") || protocolIs(m_hist… in initFromDictionaryRepresentation()
/external/webkit/WebCore/platform/network/curl/
DResourceHandleManager.cpp630 if (kurl.protocolIs("data")) { in dispatchSynchronousJob()
661 if (kurl.protocolIs("data")) { in startJob()
/external/webkit/WebCore/platform/network/soup/
DResourceHandleSoup.cpp206 if (!request.url().protocolIs("https") && protocolIs(request.httpReferrer(), "https")) { in restartedCallback()

12