Skip to content

Commit b2cfcf9

Browse files
panvatargos
authored andcommitted
test: fix default WPT titles
PR-URL: #46778 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 1b3a25e commit b2cfcf9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/common/wpt.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,9 @@ class WPTRunner {
781781
resultCallback(filename, test, reportResult) {
782782
const status = this.getTestStatus(test.status);
783783
const title = this.getTestTitle(filename);
784+
if (/^Untitled( \d+)?$/.test(test.name)) {
785+
test.name = `${title}${test.name.slice(8)}`;
786+
}
784787
console.log(`---- ${title} ----`);
785788
if (status !== kPass) {
786789
this.fail(filename, test, status, reportResult);

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