Lines Matching refs:newRequest
147 bool MainResourceLoader::isPostOrRedirectAfterPost(const ResourceRequest& newRequest, const ResourceResponse& redirectResponse)
149 if (newRequest.httpMethod() == "POST")
166 void MainResourceLoader::willSendRequest(ResourceRequest& newRequest, const ResourceResponse& redirectResponse)
172 ASSERT(!newRequest.isNull());
183 RefPtr<SecurityOrigin> securityOrigin = SecurityOrigin::create(newRequest.url());
197 newRequest.setFirstPartyForCookies(newRequest.url());
203 if (newRequest.cachePolicy() == UseProtocolCachePolicy && isPostOrRedirectAfterPost(newRequest, redirectResponse))
204 newRequest.setCachePolicy(ReloadIgnoringCacheData);
206 ResourceLoader::willSendRequest(newRequest, redirectResponse);
209 m_documentLoader->setRequest(newRequest);
213 frameLoader()->checkIfDisplayInsecureContent(top->document()->securityOrigin(), newRequest.url());
219 documentLoader()->applicationCacheHost()->maybeLoadMainResourceForRedirect(newRequest, m_substituteData);
229 frameLoader()->policyChecker()->checkNavigationPolicy(newRequest, callContinueAfterNavigationPolicy, this);