Lines Matching refs:m_frame
77 : m_frame(frame)
93 if (!m_frame)
95 return &m_frame->loader();
105 ASSERT(!m_frame || !isLoading());
118 if (m_frame && m_frame->loader().documentLoader() == this)
119 return m_frame->document();
166 ASSERT(!mainResourceLoader() || !mainResourceLoader()->defersLoading() || InspectorInstrumentation::isDebuggerPaused(m_frame));
182 RefPtrWillBeRawPtr<LocalFrame> protectFrame(m_frame);
193 Document* doc = m_frame->document();
196 m_frame->loader().stopLoading();
253 ASSERT(!mainResourceLoader() || !mainResourceLoader()->defersLoading() || InspectorInstrumentation::isDebuggerPaused(m_frame));
285 if (m_frame) {
286 if (m_mainResource && m_frame->document()->hasAppCacheManifest())
312 if ((shouldCheckMainWorldContentSecurityPolicy == CheckContentSecurityPolicy) && (m_frame->deprecatedLocalOwner() && !m_frame->deprecatedLocalOwner()->document().contentSecurityPolicy()->allowChildFrameFromSource(request.url()))) {
316 m_frame->document()->enforceSandboxFlags(SandboxOrigin);
317 m_frame->owner()->dispatchLoad();
327 if (!LocalDOMWindow::allowPopUp(*m_frame) && !UserGestureIndicator::processingUserGesture())
357 if (isFormSubmission(m_triggeringAction.type()) && !m_frame->document()->contentSecurityPolicy()->allowFormAction(newRequest.url())) {
368 FrameLoader::reportLocalLoadFailed(m_frame, newRequest.url().string());
418 if (!canShowMIMEType(m_response.mimeType(), m_frame->page()))
430 InspectorInstrumentation::continueAfterXFrameOptionsDenied(m_frame, this, mainResourceIdentifier(), response);
473 if (!m_contentSecurityPolicy->allowAncestors(m_frame, response.url())) {
486 InspectorInstrumentation::continueWithPolicyIgnore(m_frame, this, m_mainResource->identifier(), m_response);
494 if ((status < 200 || status >= 300) && m_frame->owner()) {
495 if (!m_frame->deprecatedLocalOwner()) {
497 } else if (m_frame->deprecatedLocalOwner()->isObjectElement()) {
498 m_frame->deprecatedLocalOwner()->renderFallbackContent();
516 DocumentInit init(url(), m_frame);
518 m_frame->loader().clear();
519 ASSERT(m_frame->page());
525 m_frame->document()->setBaseURLOverride(overridingURL);
529 m_frame->document()->maybeHandleHttpRefresh(m_response.httpHeaderField("Refresh"), Document::HttpRefreshFromHeader);
535 ASSERT(m_frame->document()->parsing());
549 RefPtrWillBeRawPtr<LocalFrame> protectFrame(m_frame);
564 if (m_frame && m_frame->document()->isMediaDocument())
580 ASSERT(m_frame);
581 RefPtrWillBeRawPtr<LocalFrame> protectFrame(m_frame);
589 InspectorInstrumentation::loaderDetachedFromFrame(m_frame, this);
590 m_frame = 0;
609 if (m_frame->tree().parent())
648 if (!m_frame->tree().parent() || !m_frame->tree().parent()->isLocalFrame())
651 ArchiveResourceCollection* parentCollection = toLocalFrame(m_frame->tree().parent())->loader().documentLoader()->m_archiveResourceCollection.get();
655 m_archive = parentCollection->popSubframeArchive(m_frame->tree().uniqueName(), m_request.url());
738 if (!m_frame || m_request.isNull())