Home
last modified time | relevance | path

Searched refs:canRequest (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DServiceWorkerContainer.cpp94 if (!documentOrigin->canRequest(patternURL)) { in registerServiceWorker()
101 if (!documentOrigin->canRequest(scriptURL)) { in registerServiceWorker()
137 if (!pattern.isEmpty() && !documentOrigin->canRequest(patternURL)) { in unregisterServiceWorker()
/external/chromium_org/third_party/WebKit/Source/web/
DWebSecurityOrigin.cpp107 bool WebSecurityOrigin::canRequest(const WebURL& url) const in canRequest() function in blink::WebSecurityOrigin
110 return m_private->canRequest(url); in canRequest()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DCrossOriginAccessControl.cpp234 bool redirectCrossOrigin = !securityOrigin->canRequest(requestURL); in handleRedirect()
237 if (!securityOrigin->canRequest(originalURL)) { in handleRedirect()
251 if (!originalOrigin->canRequest(requestURL)) { in handleRedirect()
DResourceFetcher.cpp284 …if (requestURL.isValid() && canRequest(Resource::Image, requestURL, request.options(), request.for… in fetchImage()
487 bool ResourceFetcher::canRequest(Resource::Type type, const KURL& url, const ResourceLoaderOptions&… in canRequest() function in WebCore::ResourceFetcher
520 … if (originRestriction == FetchRequest::RestrictToSameOrigin && !securityOrigin->canRequest(url)) { in canRequest()
528 if (!securityOrigin->canRequest(url)) { in canRequest()
605 …if (!canRequest(resource->type(), url, resource->options(), false, FetchRequest::UseDefaultOriginR… in canAccessResource()
611 if (sourceOrigin->canRequest(url)) in canAccessResource()
683 … if (!canRequest(type, url, request.options(), request.forPreload(), request.originRestriction())) in requestResource()
1361 …if (!canRequest(resource->type(), request.url(), options, false, FetchRequest::UseDefaultOriginRes… in canAccessRedirect()
DResourceFetcher.h191 …bool canRequest(Resource::Type, const KURL&, const ResourceLoaderOptions&, bool forPreload, FetchR…
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
DWorkerGlobalScopeFileSystem.cpp91 …ityOrigin()->canAccessFileSystem() || !secureContext->securityOrigin()->canRequest(completedURL)) { in webkitResolveLocalFileSystemURL()
108 …ityOrigin()->canAccessFileSystem() || !secureContext->securityOrigin()->canRequest(completedURL)) { in webkitResolveLocalFileSystemSyncURL()
DDOMWindowFileSystem.cpp85 if (!securityOrigin->canAccessFileSystem() || !securityOrigin->canRequest(completedURL)) { in webkitResolveLocalFileSystemURL()
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DSecurityOrigin.cpp285 bool SecurityOrigin::canRequest(const KURL& url) const in canRequest() function in WebCore::SecurityOrigin
314 if (canRequest(url)) in taintsCanvas()
368 return canRequest(url); in canDisplay()
DSecurityOrigin.h99 bool canRequest(const KURL&) const;
/external/chromium_org/third_party/WebKit/Source/core/workers/
DAbstractWorker.cpp61 if (!executionContext()->securityOrigin()->canRequest(scriptURL)) { in resolveURL()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DDocumentLoadTiming.cpp88 m_hasCrossOriginRedirect = !redirectedSecurityOrigin->canRequest(redirectingUrl); in addRedirect()
DTextTrackLoader.cpp115 } else if (!m_document.securityOrigin()->canRequest(url)) { in load()
DDocumentThreadableLoader.cpp78 , m_sameOriginRequest(securityOrigin()->canRequest(request.url())) in DocumentThreadableLoader()
480 return m_sameOriginRequest && securityOrigin()->canRequest(url); in isAllowedRedirect()
/external/chromium_org/third_party/WebKit/public/web/
DWebSecurityOrigin.h84 BLINK_EXPORT bool canRequest(const WebURL&) const;
/external/chromium_org/third_party/WebKit/Source/core/frame/
DHistory.cpp132 if (!fullURL.isValid() || !m_frame->document()->securityOrigin()->canRequest(fullURL)) { in stateObjectAdded()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSFontFaceSrcValue.cpp95 return !securityOrigin->canRequest(resource); in shouldSetCrossOriginAccessControl()
DCSSStyleSheet.cpp283 if (document->securityOrigin()->canRequest(baseURL)) in canAccessRules()
DStyleSheetContents.cpp337 bool isCrossOriginCSS = !securityOrigin || !securityOrigin->canRequest(baseURL()); in parseAuthorStyleSheet()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DScopedStyleResolver.cpp68 …AddRuleFlags addRuleFlags = resolver->document().securityOrigin()->canRequest(sheet->baseURL()) ? … in addRulesFromSheet()
/external/chromium_org/third_party/WebKit/Source/core/html/imports/
DHTMLImportsController.cpp117 bool sameOriginRequest = master()->securityOrigin()->canRequest(request.url()); in load()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DExecutionContext.cpp132 …return !(securityOrigin()->canRequest(completeURL(sourceURL)) || corsStatus == SharableCrossOrigin… in shouldSanitizeScriptError()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventSource.cpp145 …resourceLoaderOptions.allowCredentials = (origin->canRequest(m_url) || m_withCredentials) ? AllowS… in connect()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAnchorElement.cpp386 …ameOrigin = completedURL.protocolIsData() || document().securityOrigin()->canRequest(completedURL); in handleClick()
/external/chromium_org/components/nacl/renderer/
Dppb_nacl_private_impl.cc219 if (document.securityOrigin().canRequest(gurl)) { in CreateWebURLLoader()
653 if (!security_origin.canRequest(gurl)) in OpenNaClExecutable()
/external/chromium_org/third_party/WebKit/Source/core/frame/csp/
DContentSecurityPolicy.cpp555 …return document->securityOrigin()->canRequest(url) ? url.strippedForUseAsReferrer() : SecurityOrig… in stripURLForUseInReport()

12