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

Unified Diff: components/test_runner/web_frame_test_client.cc

Issue 2012653004: content_shell: Fix a regression for paths starting with /media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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') | content/shell/renderer/layout_test/blink_test_runner.cc » ('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 54fe96cf4faccaae73e86bd9adddfdc1e19a02f6..03c5c9e6d7359c58700ecf286bba2a3046ef3624 100644
--- a/components/test_runner/web_frame_test_client.cc
+++ b/components/test_runner/web_frame_test_client.cc
@@ -598,6 +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()));
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698