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

Unified Diff: components/test_runner/web_frame_test_client.cc

Issue 2013203003: content_shell: Update absolute path rewriting logic again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comments Created 4 years, 7 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/test_runner.cc ('k') | components/test_runner/web_test_delegate.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 03c5c9e6d7359c58700ecf286bba2a3046ef3624..ed7e7a5c9496cbdf8f805f8832f2fe997d4f644a 100644
--- a/components/test_runner/web_frame_test_client.cc
+++ b/components/test_runner/web_frame_test_client.cc
@@ -598,13 +598,10 @@ void WebFrameTestClient::willSendRequest(
}
}
- if (!test_runner_->did_request_after_reset()) {
- test_runner_->set_did_request_after_reset();
- return;
- }
// Set the new substituted URL.
- request.setURL(
- delegate_->RewriteLayoutTestsURL(request.url().string().utf8()));
+ request.setURL(delegate_->RewriteLayoutTestsURL(
+ request.url().string().utf8(),
+ test_runner_->is_web_platform_tests_mode()));
}
void WebFrameTestClient::didReceiveResponse(
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | components/test_runner/web_test_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698