diff --git a/test/fixtures/wpt/README.md b/test/fixtures/wpt/README.md index 6d2fc11710d3b6..e498acc0985bc0 100644 --- a/test/fixtures/wpt/README.md +++ b/test/fixtures/wpt/README.md @@ -18,7 +18,7 @@ Last update: - html/webappapis/microtask-queuing: https://github.com/web-platform-tests/wpt/tree/0c3bed38df/html/webappapis/microtask-queuing - html/webappapis/timers: https://github.com/web-platform-tests/wpt/tree/ddfe9c089b/html/webappapis/timers - hr-time: https://github.com/web-platform-tests/wpt/tree/a5d1774ecf/hr-time -- dom/abort: https://github.com/web-platform-tests/wpt/tree/7caa3de747/dom/abort +- dom/abort: https://github.com/web-platform-tests/wpt/tree/1728d198c9/dom/abort [Web Platform Tests]: https://github.com/web-platform-tests/wpt [`git node wpt`]: https://github.com/nodejs/node-core-utils/blob/master/docs/git-node.md#git-node-wpt diff --git a/test/fixtures/wpt/dom/abort/event.any.js b/test/fixtures/wpt/dom/abort/event.any.js index a67e6f400fcf1d..2589ba1ce45091 100644 --- a/test/fixtures/wpt/dom/abort/event.any.js +++ b/test/fixtures/wpt/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(); diff --git a/test/fixtures/wpt/versions.json b/test/fixtures/wpt/versions.json index 0bbc27a9ff1d1f..5d4fe8988cb0b3 100644 --- a/test/fixtures/wpt/versions.json +++ b/test/fixtures/wpt/versions.json @@ -32,7 +32,7 @@ "path": "hr-time" }, "dom/abort": { - "commit": "7caa3de7471cf19b78ee9efa313c7341a462b5e3", + "commit": "1728d198c92834d92f7f399ef35e7823d5bfa0e4", "path": "dom/abort" } }