mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
test: update dom/abort tests
Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/37693 Refs: https://github.com/whatwg/dom/pull/960 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
3 files changed
+7
-2
No files matched your search
Vendored
+1
-1
@@ -12,7 +12,7 @@ Last update:
|
||||
|
||||
- common: https://github.com/web-platform-tests/wpt/tree/bb97a68974/common
|
||||
- console: https://github.com/web-platform-tests/wpt/tree/3b1f72e99a/console
|
||||
- dom/abort: https://github.com/web-platform-tests/wpt/tree/625e1310ce/dom/abort
|
||||
- dom/abort: https://github.com/web-platform-tests/wpt/tree/1728d198c9/dom/abort
|
||||
- encoding: https://github.com/web-platform-tests/wpt/tree/35f70910d3/encoding
|
||||
- FileAPI: https://github.com/web-platform-tests/wpt/tree/3b279420d4/FileAPI
|
||||
- hr-time: https://github.com/web-platform-tests/wpt/tree/9910784394/hr-time
|
||||
|
||||
+5
@@ -64,4 +64,9 @@ test(t => {
|
||||
controller.abort();
|
||||
}, "the abort event should have the right properties");
|
||||
|
||||
test(t => {
|
||||
const signal = AbortSignal.abort();
|
||||
assert_true(signal.aborted);
|
||||
}, "the AbortSignal.abort() static returns an already aborted signal");
|
||||
|
||||
done();
|
||||
Vendored
+1
-1
@@ -8,7 +8,7 @@
|
||||
"path": "console"
|
||||
},
|
||||
"dom/abort": {
|
||||
"commit": "625e1310ce19e9dde25b01f9eda0452c6ec274da",
|
||||
"commit": "1728d198c92834d92f7f399ef35e7823d5bfa0e4",
|
||||
"path": "dom/abort"
|
||||
},
|
||||
"encoding": {
|
||||
|
||||
Reference in new issue
Block a user