| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -724,6 +724,9 @@ class WPTRunner { | |||
| 724 | 724 | resultCallback(filename, test, reportResult) { | |
| 725 | 725 | const status = this.getTestStatus(test.status); | |
| 726 | 726 | const title = this.getTestTitle(filename); | |
| 727 | + if (/^Untitled( \d+)?$/.test(test.name)) { | ||
| 728 | + test.name = `${title}${test.name.slice(8)}`; | ||
| 729 | + } | ||
| 727 | 730 | console.log(`---- ${title} ----`); | |
| 728 | 731 | if (status !== kPass) { | |
| 729 | 732 | this.fail(filename, test, status, reportResult); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,8 +19,8 @@ | |||
| 19 | 19 | "Event-constructors.any.js": { | |
| 20 | 20 | "fail": { | |
| 21 | 21 | "expected": [ | |
| 22 | - "Untitled 3", | ||
| 23 | - "Untitled 4" | ||
| 22 | + "Event constructors 3", | ||
| 23 | + "Event constructors 4" | ||
| 24 | 24 | ] | |
| 25 | 25 | } | |
| 26 | 26 | }, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments