Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DNavigatorServiceWorker.cpp113 if (!documentOrigin->canRequest(patternURL)) { in registerServiceWorker()
119 if (!documentOrigin->canRequest(scriptURL)) { in registerServiceWorker()
148 if (!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/loader/
DTextTrackLoader.cpp97 && !m_document.securityOrigin()->canRequest(resource->response().url()) in notifyFinished()
127 if (!m_document.securityOrigin()->canRequest(url)) { in load()
DDocumentLoadTiming.cpp88 m_hasCrossOriginRedirect = !redirectedSecurityOrigin->canRequest(redirectingUrl); in addRedirect()
DDocumentThreadableLoader.cpp74 , m_sameOriginRequest(securityOrigin()->canRequest(request.url())) in DocumentThreadableLoader()
465 return m_sameOriginRequest && securityOrigin()->canRequest(url); in isAllowedRedirect()
DImageLoader.cpp268 && !m_element->document().securityOrigin()->canRequest(image()->response().url()) in notifyFinished()
DFrameLoader.cpp867 …pdl->timing()->setHasSameOriginAsPreviousDocument(securityOrigin->canRequest(m_frame->document()->… in commitProvisionalLoad()
/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.cpp284 bool SecurityOrigin::canRequest(const KURL& url) const in canRequest() function in WebCore::SecurityOrigin
313 if (canRequest(url)) in taintsCanvas()
367 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/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/fetch/
DResourceFetcher.cpp288 …if (requestURL.isValid() && canRequest(Resource::Image, requestURL, request.options(), request.for… in fetchImage()
432 bool ResourceFetcher::canRequest(Resource::Type type, const KURL& url, const ResourceLoaderOptions&… in canRequest() function in WebCore::ResourceFetcher
465 … if (originRestriction == FetchRequest::RestrictToSameOrigin && !securityOrigin->canRequest(url)) { in canRequest()
473 if (!securityOrigin->canRequest(url)) { in canRequest()
540 …if (!canRequest(resource->type(), resource->response().url(), resource->options(), false, originRe… in canAccess()
548 && !m_document->securityOrigin()->canRequest(resource->response().url()) in canAccess()
600 … if (!canRequest(type, url, request.options(), request.forPreload(), request.originRestriction())) in requestResource()
1298 …if (!canRequest(resource->type(), request.url(), options, false, FetchRequest::UseDefaultOriginRes… in shouldRequest()
DResourceFetcher.h185 …bool canRequest(Resource::Type, const KURL&, const ResourceLoaderOptions&, bool forPreload, FetchR…
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentInit.cpp110 return m_parent->securityOrigin()->canRequest(child->url()); in isSeamlessAllowedFor()
DExecutionContext.cpp123 …return !(securityOrigin()->canRequest(completeURL(sourceURL)) || corsStatus == SharableCrossOrigin… in shouldSanitizeScriptError()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DScopedStyleResolver.cpp74 …AddRuleFlags addRuleFlags = resolver->document().securityOrigin()->canRequest(sheet->baseURL()) ? … in addRulesFromSheet()
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventSource.cpp140 …options.allowCredentials = (origin->canRequest(m_url) || m_withCredentials) ? AllowStoredCredentia… in connect()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSStyleSheet.cpp276 if (document->securityOrigin()->canRequest(baseURL)) in canAccessRules()
DStyleSheetContents.cpp317 bool isCrossOriginCSS = !securityOrigin || !securityOrigin->canRequest(baseURL()); in parseAuthorStyleSheet()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXMLHttpRequest.cpp793 m_sameOriginRequest = securityOrigin()->canRequest(m_url); in createRequest()
/external/chromium_org/chrome/renderer/
Dchrome_content_renderer_client.cc1209 opener.canRequest(WebURL(new_url))) in CrossesExtensionExtents()
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
DXMLDocumentParser.cpp626 if (!XMLDocumentParserScope::currentFetcher->document()->securityOrigin()->canRequest(url)) { in shouldAllowExternalLoad()

12