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

Unified Diff: components/test_runner/web_frame_test_client.cc

Issue 2147633003: PlzNavigate: Eliminate test_runner bailing out of layout tests too early (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 | « components/test_runner/web_frame_test_client.h ('k') | components/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: components/test_runner/web_frame_test_client.cc
diff --git a/components/test_runner/web_frame_test_client.cc b/components/test_runner/web_frame_test_client.cc
index df4b4b729d78deea37e98592bfb3d51b9dfe1b86..6991e9a3499a677530230c38f3476f23cf685aae 100644
--- a/components/test_runner/web_frame_test_client.cc
+++ b/components/test_runner/web_frame_test_client.cc
@@ -512,6 +512,18 @@ void WebFrameTestClient::didFinishLoad(blink::WebLocalFrame* frame) {
}
}
+void WebFrameTestClient::didNavigateWithinPage(
+ blink::WebLocalFrame* frame,
+ const blink::WebHistoryItem& history_item,
+ blink::WebHistoryCommitType commit_type,
+ bool contentInitiated) {
+ test_runner_->OnNavigationEnd();
+}
+
+void WebFrameTestClient::didStartLoading(bool to_different_document) {
+ test_runner_->OnNavigationBegin(web_frame_test_proxy_base_->web_frame());
+}
+
void WebFrameTestClient::didStopLoading() {
test_runner_->tryToClearTopLoadingFrame(
web_frame_test_proxy_base_->web_frame());
« no previous file with comments | « components/test_runner/web_frame_test_client.h ('k') | components/test_runner/web_frame_test_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698