Home
last modified time | relevance | path

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

12

/external/webkit/WebCore/platform/
DKURL.h131 bool protocolIs(const char*) const;
204 static bool protocolIs(const String&, const char*);
250 bool protocolIs(const String& url, const char* protocol);
DKURL.cpp284 inline bool KURL::protocolIs(const String& string, const char* protocol) in protocolIs() function in WebCore::KURL
286 return WebCore::protocolIs(string, protocol); in protocolIs()
345 if (rel.contains('\\') && !(protocolIs(rel, "javascript") || protocolIs(rel, "data"))) in init()
626 bool KURL::protocolIs(const char* protocol) const in protocolIs() function in WebCore::KURL
819 } else if (protocolIs("file")) { in prettyURL()
896 return protocolIs("file"); in isLocalFile()
1504 if (protocolIs(str, "mailto")) { in encodeHostnames()
1539 …!= pathEncoding && encoding.isValid() && !protocolIs(rel, "mailto") && !protocolIs(rel, "data") &&… in encodeRelativeString()
1593 bool protocolIs(const String& url, const char* protocol) in protocolIs() function
1607 ASSERT(protocolIs(url, "data")); in mimeTypeFromDataURL()
/external/webkit/WebCore/platform/network/
DResourceHandle.cpp192 if ((port == 21 || port == 22) && request.url().protocolIs("ftp")) in portAllowed()
196 if (request.url().protocolIs("file")) in portAllowed()
/external/webkit/WebCore/wml/
DWMLAElement.cpp62 if (protocolIs(value, "http") || protocolIs(value, "https") || value.startsWith("//")) in parseMappedAttribute()
/external/webkit/WebCore/loader/
Dloader.cpp104 bool isHTTP = url.protocolIs("http") || url.protocolIs("https"); in load()
243 … if ((referrer.protocolIs("http") || referrer.protocolIs("https")) && referrer.path().isEmpty()) in servePendingRequests()
DDocLoader.cpp285 if (kurl.protocolIs("http") || kurl.protocolIs("https")) in shouldBlockNetworkImage()
DFrameLoader.cpp451 if (protocolIs(urlString, "javascript")) { in requestFrame()
545 if (u.protocolIs("javascript")) { in submitForm()
710 if (!m_URL.protocolIs("http") && !m_URL.protocolIs("https")) in iconURL()
741 …if ((m_URL.protocolIs("http") || m_URL.protocolIs("https")) && !m_URL.host().isEmpty() && m_URL.pa… in didOpenURL()
769 if (!url.protocolIs("javascript")) in executeIfJavaScriptURL()
1939 && !m_URL.protocolIs("https") in canCachePageContainingThisFrame()
2081 if (m_URL.protocolIs("https")) in logCanCacheFrameDecision()
2283 if (url.protocolIs("file")) { in loadFrameRequestWithFormAndValues()
2525 bool referrerIsSecureURL = protocolIs(referrer, "https"); in shouldHideReferrer()
2526 bool referrerIsWebURL = referrerIsSecureURL || protocolIs(referrer, "http"); in shouldHideReferrer()
[all …]
/external/webkit/perf/
DIntercept.cpp43 if (protocolIs(m_url, "data")) in handleRequest()
45 else if (protocolIs(m_url, "file")) in handleRequest()
/external/webkit/WebCore/loader/appcache/
DApplicationCache.cpp114 if (!request.url().protocolIs("http") && !request.url().protocolIs("https")) in requestIsHTTPOrHTTPSGet()
/external/webkit/WebCore/bindings/js/
DJSHTMLIFrameElementCustom.cpp47 if (protocolIs(parseURL(srcValue), "javascript")) { in setSrc()
DJSAttrCustom.cpp50 … if (equalIgnoringCase(imp->name(), "src") && protocolIs(parseURL(attrValue), "javascript")) { in setValue()
DJSHTMLFrameElementCustom.cpp43 if (protocolIs(parseURL(value), "javascript")) { in allowSettingJavascriptURL()
DJSLocationCustom.cpp139 if (!url.protocolIs("javascript") || allowsAccessFromFrame(exec, frame)) { in navigateIfAllowed()
274 …if (!frame->loader()->url().protocolIs("javascript") || (window && window->allowsAccessFrom(exec))… in reload()
DJSElementCustom.cpp56 …|| element->hasTagName(frameTag)) && equalIgnoringCase(name, "src") && protocolIs(parseURL(value),… in allowSettingSrcToJavascriptURL()
DJSDOMWindowCustom.cpp174 if (!protocolIs(dstUrl, "javascript") || allowsAccessFrom(exec)) { in setLocation()
DJSDOMWindowBase.cpp244 if (!protocolIs(url, "javascript") || newWindow->allowsAccessFrom(exec)) { in createWindow()
789 …if (!completedURL.isEmpty() && (!protocolIs(completedURL, "javascript") || (targetedWindow && targ… in windowProtoFuncOpen()
/external/webkit/WebCore/html/
DHTMLPlugInImageElement.cpp43 if (m_serviceType.isEmpty() && protocolIs(m_url, "data")) in isImageType()
DHTMLAnchorElement.cpp289 if (protocolIs(value, "http") || protocolIs(value, "https") || value.startsWith("//")) in parseMappedAttribute()
DHTMLFormElement.cpp93 return document()->completeURL(url).protocolIs("https"); in formWouldHaveSecureSubmission()
248 return protocolIs(m_url, "mailto"); in isMailtoForm()
/external/webkit/WebCore/xml/
DXMLHttpRequest.cpp565 …if (m_method != "GET" && m_method != "HEAD" && (m_url.protocolIs("http") || m_url.protocolIs("http… in send()
596 …l() && m_method != "GET" && m_method != "HEAD" && (m_url.protocolIs("http") || m_url.protocolIs("h… in send()
620 …if (m_method != "GET" && m_method != "HEAD" && (m_url.protocolIs("http") || m_url.protocolIs("http… in send()
/external/webkit/WebCore/platform/network/win/
DCookieJarCFNetWin.cpp124 bool secure = url.protocolIs("https"); in cookies()
/external/webkit/WebKit/android/jni/
DWebCoreFrameBridge.cpp584 (requestUrl.protocolIs("http") || requestUrl.protocolIs("https") || in canHandleRequest()
585 requestUrl.protocolIs("file") || requestUrl.protocolIs("about") || in canHandleRequest()
586 requestUrl.protocolIs("javascript"))) in canHandleRequest()
/external/webkit/WebCore/platform/network/curl/
DResourceHandleManager.cpp545 if (kurl.protocolIs("data")) { in dispatchSynchronousJob()
576 if (kurl.protocolIs("data")) { in startJob()
/external/webkit/WebKit/win/
DWebHistoryItem.cpp193 …if (lastVisitWasHTTPNonGet && (protocolIs(m_historyItem->urlString(), "http") || protocolIs(m_hist… in initFromDictionaryRepresentation()
/external/webkit/WebCore/plugins/
DPluginStream.cpp132 if (responseURL.protocolIs("javascript")) in startStream()

12