Skip to content

Commit e5fa7a1

Browse files
panvatargos
authored andcommitted
test: fix WPT title when no META title is present
PR-URL: #46804 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 4b91420 commit e5fa7a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/wpt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ class WPTRunner {
721721

722722
getTestTitle(filename) {
723723
const spec = this.specMap.get(filename);
724-
return spec.meta?.title || filename;
724+
return spec.meta?.title || filename.split('.')[0];
725725
}
726726

727727
// Map WPT test status to strings

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy