Index: third_party/WebKit/LayoutTests/resources/testharnessreport.js |
diff --git a/third_party/WebKit/LayoutTests/resources/testharnessreport.js b/third_party/WebKit/LayoutTests/resources/testharnessreport.js |
index d2a981ff8386ae2aeb0ba9233be2891abcb673d8..062051940705558a92982f6c5e94c7a444d1d84f 100644 |
--- a/third_party/WebKit/LayoutTests/resources/testharnessreport.js |
+++ b/third_party/WebKit/LayoutTests/resources/testharnessreport.js |
@@ -73,12 +73,12 @@ |
// is web-platform.test. |
const path = location.pathname; |
if (location.hostname == 'web-platform.test' && |
- /.*-manual(\.https)?\.html$/.test(path)) { |
+ /.*-manual(\.sub)?(\.https)?\.html$/.test(path)) { |
return true; |
} |
// If the file is loaded locally via file://, it must include |
// the wpt directory in the path. |
- return /\/external\/wpt\/.*-manual(\.https)?\.html$/.test(path); |
+ return /\/external\/wpt\/.*-manual(\.sub)?(\.https)?\.html$/.test(path); |
} |
/** Loads the WPT automation script for the current test, if applicable. */ |