Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: content/shell/test_runner/web_frame_test_client.cc

Issue 2734633002: PlzNavigate: Fix the http/tests/loading/307-after-303-after-post.html and the http/tests/loading/re… (Closed)
Patch Set: Fix comment Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/test_runner/web_frame_test_client.h ('k') | content/shell/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/test_runner/web_frame_test_client.cc
diff --git a/content/shell/test_runner/web_frame_test_client.cc b/content/shell/test_runner/web_frame_test_client.cc
index ac85df245e22584c5628b14d64a80034f98aec02..68d8ab708fe307660d6d53792754cc58c2b85d19 100644
--- a/content/shell/test_runner/web_frame_test_client.cc
+++ b/content/shell/test_runner/web_frame_test_client.cc
@@ -414,11 +414,12 @@ void WebFrameTestClient::loadErrorPage(int reason) {
}
void WebFrameTestClient::didStartProvisionalLoad(
- blink::WebDataSource* data_source) {
+ blink::WebDataSource* data_source,
+ blink::WebURLRequest& request) {
// PlzNavigate
// A provisional load notification is received when a frame navigation is
// sent to the browser. We don't want to log it again during commit.
- if (delegate_->IsNavigationInitiatedByRenderer(data_source->getRequest()))
+ if (delegate_->IsNavigationInitiatedByRenderer(request))
return;
test_runner()->tryToSetTopLoadingFrame(
« no previous file with comments | « content/shell/test_runner/web_frame_test_client.h ('k') | content/shell/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698