Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cf76d07

Browse filesBrowse files
panvaBethGriggs
authored andcommitted
test: fix WPT title when no META title is present
PR-URL: #46804 Backport-PR-URL: #46768 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 0d1485b commit cf76d07
Copy full SHA for cf76d07

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/common/wpt.js‎

Copy file name to clipboardExpand all lines: test/common/wpt.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ class WPTRunner {
693693

694694
getTestTitle(filename) {
695695
const spec = this.specMap.get(filename);
696-
return spec.meta?.title || filename;
696+
return spec.meta?.title || filename.split('.')[0];
697697
}
698698

699699
// Map WPT test status to strings

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.