Skip to content

Commit de64315

Browse files
panvajuanarbol
authored andcommitted
test: fix WPT title when no META title is present
PR-URL: #46804 Backport-PR-URL: #46767 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 162e340 commit de64315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/wpt.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ class WPTRunner {
695695

696696
getTestTitle(filename) {
697697
const spec = this.specMap.get(filename);
698-
return spec.meta?.title || filename;
698+
return spec.meta?.title || filename.split('.')[0];
699699
}
700700

701701
// Map WPT test status to strings

0 commit comments

Comments
 (0)