| 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) {
|
|
|