Michaël Zasso
|
e2395b0f3b
|
lib: use Object static properties from primordials
PR-URL: https://github.com/nodejs/node/pull/35380
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
|
2021-05-16 15:10:11 +02:00 |
|
Mattias Buelens
|
b1507c41e7
|
lib: add brand checks to AbortController and AbortSignal
PR-URL: https://github.com/nodejs/node/pull/37720
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
|
2021-04-30 12:00:37 +02:00 |
|
James M Snell
|
448a6a22cf
|
lib: implement AbortSignal.abort()
Refs: https://github.com/whatwg/dom/pull/960
PR-URL: https://github.com/nodejs/node/pull/37693
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
|
2021-04-30 12:00:35 +02:00 |
|
Benjamin Gruenbaum
|
4cd9f39066
|
lib: set abort-controller toStringTag
PR-URL: https://github.com/nodejs/node/pull/36115
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
|
2021-04-30 12:00:33 +02:00 |
|
raisinten
|
64cd54be57
|
events: disabled manual construction AbortSignal
Fixes: https://github.com/nodejs/node/issues/36064
PR-URL: https://github.com/nodejs/node/pull/36094
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
|
2021-04-30 12:00:15 +02:00 |
|
Benjamin Gruenbaum
|
7c95cfc164
|
events: define abort on prototype
PR-URL: https://github.com/nodejs/node/pull/35931
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
|
2021-04-30 12:00:12 +02:00 |
|
Daijiro Wachi
|
b2f8e8dd28
|
lib: let abort_controller target be EventTarget
The AbortController abort event should have EventTarget as a target
property of the argument event.
PR-URL: https://github.com/nodejs/node/pull/35869
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Refs: https://github.com/web-platform-tests/wpt/blob/master/dom/abort/event.any.js
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
|
2021-04-30 12:00:03 +02:00 |
|
 Benjamin GruenbaumandExE Boss
|
bf728b5439
|
events: make abort_controller event trusted
The AbortController abort event is trusted, currently we fire all
events with isTrusted: false. Allow dispatching events
internally with `isTrusted: true` and add a test for it.
Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
Fixes: https://github.com/nodejs/node/issues/35748
PR-URL: https://github.com/nodejs/node/pull/35811
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
|
2021-04-30 12:00:01 +02:00 |
|
James M Snell
|
f30f9314c8
|
lib: initial experimental AbortController implementation
AbortController impl based very closely on:
https://github.com/mysticatea/abort-controller
Marked experimental.
Not currently used by any of the existing promise apis.
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/33527
Backport-PR-URL: https://github.com/nodejs/node/pull/38386
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
|
2021-04-30 11:59:44 +02:00 |
|