Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/fetch/
DCrossOriginAccessControl.cpp207 bool redirectCrossOrigin = !securityOrigin->canRequest(requestURL); in handleRedirect()
210 if (!securityOrigin->canRequest(originalURL)) { in handleRedirect()
224 if (!originalOrigin->canRequest(requestURL)) { in handleRedirect()
DResourceFetcher.cpp313 …if (requestURL.isValid() && canRequest(Resource::Image, request.resourceRequest(), requestURL, req… in fetchImage()
442 bool ResourceFetcher::canRequest(Resource::Type type, const ResourceRequest& resourceRequest, const… in canRequest() function in blink::ResourceFetcher
472 … if (originRestriction == FetchRequest::RestrictToSameOrigin && !securityOrigin->canRequest(url)) { in canRequest()
480 if (!securityOrigin->canRequest(url)) { in canRequest()
588 …if (!canRequest(resource->type(), resource->resourceRequest(), url, resource->options(), resource-… in canAccessResource()
594 if (sourceOrigin->canRequest(url)) in canAccessResource()
668 …if (!canRequest(type, request.resourceRequest(), url, request.options(), request.forPreload(), req… in requestResource()
1293 …if (!canRequest(resource->type(), resource->resourceRequest(), response.url(), resource->options()… in didReceiveResponse()
1384 …if (!canRequest(resource->type(), request, request.url(), options, resource->isUnusedPreload(), Fe… in canAccessRedirect()
DResourceFetcher.h190 …bool canRequest(Resource::Type, const ResourceRequest&, const KURL&, const ResourceLoaderOptions&,…
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DServiceWorkerContainer.cpp126 if (!documentOrigin->canRequest(patternURL)) { in registerServiceWorker()
133 if (!documentOrigin->canRequest(scriptURL)) { in registerServiceWorker()
173 if (!documentOrigin->canRequest(completedURL)) { in getRegistration()
DServiceWorkerRegistration.cpp114 if (!scope().isEmpty() && !documentOrigin->canRequest(scopeURL)) { in unregister()
/external/chromium_org/third_party/WebKit/Source/web/
DWebSecurityOrigin.cpp105 bool WebSecurityOrigin::canRequest(const WebURL& url) const in canRequest() function in blink::WebSecurityOrigin
108 return m_private->canRequest(url); in canRequest()
/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 blink::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.cpp95 m_hasCrossOriginRedirect = !redirectedSecurityOrigin->canRequest(redirectingUrl); in addRedirect()
DDocumentThreadableLoader.cpp81 , m_sameOriginRequest(securityOrigin()->canRequest(request.url())) in DocumentThreadableLoader()
373 isCrossOriginResponse = !securityOrigin()->canRequest(response.url()); in handleResponse()
554 return m_sameOriginRequest && securityOrigin()->canRequest(url); in isAllowedRedirect()
DTextTrackLoader.cpp116 } else if (!document().securityOrigin()->canRequest(url)) { in load()
/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.cpp136 if (!fullURL.isValid() || !m_frame->document()->securityOrigin()->canRequest(fullURL)) { in stateObjectAdded()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSFontFaceSrcValue.cpp105 return !securityOrigin->canRequest(resource); in shouldSetCrossOriginAccessControl()
DCSSStyleSheet.cpp283 if (document->securityOrigin()->canRequest(baseURL)) in canAccessRules()
DStyleSheetContents.cpp336 bool isCrossOriginCSS = !securityOrigin || !securityOrigin->canRequest(baseURL()); in parseAuthorStyleSheet()
/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/css/resolver/
DScopedStyleResolver.cpp77 …AddRuleFlags addRuleFlags = resolver->document().securityOrigin()->canRequest(sheet->baseURL()) ? … in addRulesFromSheet()
/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/
DNavigatorContentUtils.cpp96 if (!document.securityOrigin()->canRequest(kurl)) { in verifyCustomHandlerURL()
/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/html/
DHTMLAnchorElement.cpp354 …ameOrigin = completedURL.protocolIsData() || document().securityOrigin()->canRequest(completedURL); in handleClick()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventSource.cpp145 …resourceLoaderOptions.allowCredentials = (origin->canRequest(m_url) || m_withCredentials) ? AllowS… in connect()

12