lib: reuse default DOMException in AbortController #35070
Annotations
2 errors
test-asan:
test/parallel/test-runner-output.mjs#L1
--- stdout ---
TAP version 13
# Subtest: test runner output
# Subtest: test-runner/output/abort.js
not ok 1 - test-runner/output/abort.js
---
duration_ms: 3214.340737
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:
+ actual - expected ... Lines skipped
'TAP version 13\n' +
'# Subtest: promise timeout signal\n' +
...
' *\n' +
' *\n' +
+ ' *\n' +
+ ' ...\n' +
+ '# Subtest: callback timeout signal\n' +
+ ' # Subtest: ok 1\n' +
+ ' ok 1 - ok 1\n' +
+ ' ---\n' +
+ ' duration_ms: *\n' +
+ ' ...\n' +
+ ' # Subtest: ok 2\n' +
+ ' ok 2 - ok 2\n' +
+ ' ---\n' +
+ ' duration_ms: *\n' +
+ ' ...\n' +
+ ' # Subtest: ok 3\n' +
+ ' ok 3 - ok 3\n' +
+ ' ---\n' +
+ ' duration_ms: *\n' +
+ ' ...\n' +
+ ' # Subtest: ok 4\n' +
+ ' ok 4 - ok 4\n' +
+ ' ---\n' +
+ ' duration_ms: *\n' +
+ ' ...\n' +
+ ' # Subtest: not ok 1\n' +
...
- ' ...\n' +
- '# Subtest: callback timeout signal\n' +
- ' # Subtest: ok 1\n' +
- ' ok 1 - ok 1\n' +
- ' ---\n' +
- ' duration_ms: *\n' +
- ' ...\n' +
- ' # Subtest: ok 2\n' +
- ' ok 2 - ok 2\n' +
- ' ---\n' +
- ' duration_ms: *\n' +
- ' ...\n' +
- ' # Subtest: ok 3\n' +
- ' ok 3 - ok 3\n' +
- ' ---\n' +
- ' duration_ms: *\n' +
- ' ...\n' +
- ' # Subtest: ok 4\n' +
- ' ok 4 - ok 4\n' +
- ' ---\n' +
- ' duration_ms: *\n' +
- ' ...\n' +
- ' # Subtest: not ok 1\n' +
- ' not ok 5 - not ok 1\n' +
...
code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: |-
TAP version 13
# Subtest: promise timeout signal
# Subtest: ok 1
ok 1 - ok 1
---
duration_ms: *
...
# Subtest: ok 2
ok 2 - ok 2
---
duration_ms: *
...
# Subtest: ok 3
ok 3 - ok 3
---
duration_ms: *
...
# Subtest: ok 4
ok 4 - ok 4
---
duration_ms: *
...
# Subtest: not ok 1
not ok 5 - not ok 1
---
duration_ms: *
failureType: 'cancelledByParent'
error: 'test did not finish before its parent and was cancelled'
code: 'ERR_TEST_FAILURE'
...
# Subtest: not ok 2
not ok 6 - not ok 2
---
duration_ms: ZERO
failureType: 'cancelledByParent'
error: 'test did not finish before its parent and was cancelled'
code: 'ERR_TEST_FAILURE'
...
# Subtest: not ok 3
not ok 7 - not ok 3
---
duration_ms: ZERO
failureType: 'testAborted'
error: 'This operation was aborted'
code: 20
name: 'AbortError'
stack: |-
*
*
*
*
*
*
*
*
*
*
...
# Subtest: not ok 4
not ok 8 - not ok 4
---
duration_ms: ZERO
failureType: 'testAborted'
error: 'This operation was aborted'
code: 20
name: 'AbortError'
|
test-asan
Process completed with exit code 2.
|