GeezerVison is showing github.com — test: recognize wpt completion error · nodejs/node@1db44b9
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: test/common/wpt.js +10Lines changed: 10 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -838,6 +838,16 @@ class WPTRunner { | 838 | 838 | this.fail(spec, { name: 'WPT testharness timeout' }, kTimeout); | 839 | 839 | // Mark the whole test as TIMEOUT in wpt.fyi report. | 840 | 840 | reportResult?.finish('TIMEOUT'); | | 841 | + } else if (status !== kPass) { | | 842 | + // No need to record this synthetic failure with wpt.fyi. | | 843 | + this.fail(spec, { | | 844 | + status: status, | | 845 | + name: 'WPT test harness error', | | 846 | + message: harnessStatus.message, | | 847 | + stack: harnessStatus.stack, | | 848 | + }, status); | | 849 | + // Mark the whole test as ERROR in wpt.fyi report. | | 850 | + reportResult?.finish('ERROR'); | 841 | 851 | } else { | 842 | 852 | reportResult?.finish(); | 843 | 853 | } | |
Collapse file Copy file name to clipboardExpand all lines: test/wpt/status/console.json +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 7 | 7 | "console namespace: operation dir(optional any, optional object?)" | 8 | 8 | ] | 9 | 9 | } | | 10 | + }, | | 11 | + "idlharness-shadowrealm.window.js": { | | 12 | + "skip": "ShadowRealm support is not enabled" | 10 | 13 | } | 11 | 14 | } |
Collapse file Copy file name to clipboardExpand all lines: test/wpt/status/encoding.json +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 39 | 39 | "idlharness.any.js": { | 40 | 40 | "skip": "No implementation of TextDecoderStream and TextEncoderStream" | 41 | 41 | }, | | 42 | + "idlharness-shadowrealm.window.js": { | | 43 | + "skip": "ShadowRealm support is not enabled" | | 44 | + }, | 42 | 45 | "replacement-encodings.any.js": { | 43 | 46 | "skip": "decoding-helpers.js needs XMLHttpRequest" | 44 | 47 | }, | |
Collapse file Copy file name to clipboardExpand all lines: test/wpt/status/hr-time.json +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 | ] | 7 | 7 | } | 8 | 8 | }, | | 9 | + "idlharness-shadowrealm.window.js": { | | 10 | + "skip": "ShadowRealm support is not enabled" | | 11 | + }, | 9 | 12 | "window-worker-timeOrigin.window.js": { | 10 | 13 | "skip": "depends on URL.createObjectURL(blob)" | 11 | 14 | } | |
Collapse file Copy file name to clipboardExpand all lines: test/wpt/status/streams.json +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 | ] | 7 | 7 | } | 8 | 8 | }, | | 9 | + "idlharness-shadowrealm.window.js": { | | 10 | + "skip": "ShadowRealm support is not enabled" | | 11 | + }, | 9 | 12 | "piping/general-addition.any.js": { | 10 | 13 | "fail": { | 11 | 14 | "expected": [ | |
Collapse file Copy file name to clipboardExpand all lines: test/wpt/status/url.json +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | | 2 | + "idlharness-shadowrealm.window.js": { | | 3 | + "skip": "ShadowRealm support is not enabled" | | 4 | + }, | 2 | 5 | "percent-encoding.window.js": { | 3 | 6 | "skip": "TODO: port from .window.js" | 4 | 7 | }, | |
Collapse file Copy file name to clipboardExpand all lines: test/wpt/status/user-timing.json +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | | 2 | + "idlharness-shadowrealm.window.js": { | | 3 | + "skip": "ShadowRealm support is not enabled" | | 4 | + }, | 2 | 5 | "invoke_with_timing_attributes.worker.js": { | 3 | 6 | "skip": "importScripts not supported" | 4 | 7 | }, | |
|