diff --git a/dom/abort/event.any.js b/dom/abort/event.any.js index a67e6f400fcf1d..2589ba1ce45091 100644 --- a/dom/abort/event.any.js +++ b/dom/abort/event.any.js @@ -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();