Skip to content

Commit

Permalink
test: fix WPT title when no META title is present
Browse files Browse the repository at this point in the history
PR-URL: #46804
Backport-PR-URL: #46768
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
panva authored and BethGriggs committed Mar 23, 2023
1 parent 0d1485b commit cf76d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/wpt.js
Expand Up @@ -693,7 +693,7 @@ class WPTRunner {

getTestTitle(filename) {
const spec = this.specMap.get(filename);
return spec.meta?.title || filename;
return spec.meta?.title || filename.split('.')[0];
}

// Map WPT test status to strings
Expand Down

0 comments on commit cf76d07

Please sign in to comment.