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

Unified Diff: components/test_runner/test_interfaces.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 | « no previous file | components/test_runner/test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_interfaces.cc
diff --git a/components/test_runner/test_interfaces.cc b/components/test_runner/test_interfaces.cc
index 1571b042ce9956a8d1b53be83827f31b0a3145ca..3b2d7c3af8c6625d3b873cacdc81c3ffa0a34452 100644
--- a/components/test_runner/test_interfaces.cc
+++ b/components/test_runner/test_interfaces.cc
@@ -112,6 +112,9 @@ void TestInterfaces::ConfigureForTestWithURL(const blink::WebURL& test_url,
test_runner_->setShouldGeneratePixelResults(false);
test_runner_->setShouldDumpAsMarkup(true);
}
+ if (spec.find("/imported/wpt/") != std::string::npos ||
+ spec.find("/imported/csswg-test/") != std::string::npos)
+ test_runner_->set_is_web_platform_tests_mode();
}
void TestInterfaces::SetAppBannerClient(AppBannerClient* app_banner_client) {
« no previous file with comments | « no previous file | components/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698