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

Unified Diff: components/test_runner/test_interfaces.cc

Issue 2406363005: test_runner: Suppress validation messages on WPTServe too. (Closed)
Patch Set: Created 4 years, 2 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 | third_party/WebKit/LayoutTests/WPTServeExpectations » ('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 d28293252be849740ba1132366dcd2cd33e72e1e..49d88a98977f3dbd429c5ed4233fede7ec0898bc 100644
--- a/components/test_runner/test_interfaces.cc
+++ b/components/test_runner/test_interfaces.cc
@@ -113,7 +113,8 @@ void TestInterfaces::ConfigureForTestWithURL(const blink::WebURL& test_url,
test_runner_->setShouldDumpAsMarkup(true);
}
if (spec.find("/imported/wpt/") != std::string::npos ||
- spec.find("/imported/csswg-test/") != std::string::npos)
+ spec.find("/imported/csswg-test/") != std::string::npos ||
+ spec.find("://web-platform.test") != std::string::npos)
test_runner_->set_is_web_platform_tests_mode();
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/WPTServeExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698