Lines Matching refs:url
161 // Update cookie policy base URL as URL changes, except for subframes, which use the
162 // URL of the main frame which doesn't change when we redirect.
164 newRequest.setFirstPartyForCookies(newRequest.url());
180 frameLoader()->checkIfDisplayInsecureContent(top->document()->securityOrigin(), newRequest.url());
192 static bool shouldLoadAsEmptyDocument(const KURL& url)
195 return url.isEmpty() || (url.protocolIs("about") && equalIgnoringRef(url, blankURL()));
197 return url.isEmpty() || url.protocolIs("about");
203 KURL url = request().url();
209 bool isRemoteWebArchive = equalIgnoringCase("application/x-webarchive", mimeType) && !m_substituteData.isValid() && !url.isLocalFile();
266 } else if (shouldLoadAsEmptyDocument(url) || frameLoader()->representationExistsForURLScheme(url.protocol()))
291 String filename = r.url().lastPathComponent();
318 if (m_frame->loader()->shouldInterruptLoadForXFrameOptions(content, r.url())) {
327 ASSERT(shouldLoadAsEmptyDocument(r.url()) || !defersLoading());
413 ASSERT(shouldLoadAsEmptyDocument(frameLoader()->activeDocumentLoader()->url()) || !defersLoading());
448 void MainResourceLoader::handleEmptyLoad(const KURL& url, bool forURLScheme)
452 mimeType = frameLoader()->generatedMIMETypeForURLScheme(url.protocol());
456 ResourceResponse response(url, mimeType, 0, String(), String());
464 KURL url = m_substituteData.responseURL();
465 if (url.isEmpty())
466 url = m_initialRequest.url();
468 ResourceResponse response(url, m_substituteData.mimeType(), m_substituteData.content()->size(), m_substituteData.textEncoding(), "");
494 bool shouldLoadEmptyBeforeRedirect = shouldLoadAsEmptyDocument(r.url());
509 const KURL& url = r.url();
510 bool shouldLoadEmpty = shouldLoadAsEmptyDocument(url) && !m_substituteData.isValid();
517 else if (shouldLoadEmpty || frameLoader()->representationExistsForURLScheme(url.protocol()))
518 handleEmptyLoad(url, !shouldLoadEmpty);
539 bool shouldLoadEmpty = shouldLoadAsEmptyDocument(request.url());