diff --git a/test/wpt/status/html/webappapis/microtask-queuing.json b/test/wpt/status/html/webappapis/microtask-queuing.json new file mode 100644 index 00000000000000..dc13452b99187f --- /dev/null +++ b/test/wpt/status/html/webappapis/microtask-queuing.json @@ -0,0 +1,8 @@ +{ + "queue-microtask-exceptions.any.js": { + "fail": "Node.js does not have a global addEventListener function" + }, + "queue-microtask.window.js": { + "fail": "MutationObserver is not implemented" + } +} diff --git a/test/wpt/test-microtask-queuing.js b/test/wpt/test-microtask-queuing.js new file mode 100644 index 00000000000000..a600bf58d7c700 --- /dev/null +++ b/test/wpt/test-microtask-queuing.js @@ -0,0 +1,13 @@ +'use strict'; + +// Flags: --expose-internals + +require('../common'); +const { WPTRunner } = require('../common/wpt'); + +const runner = new WPTRunner('html/webappapis/microtask-queuing'); + +// Copy global descriptors from the global object +runner.copyGlobalsFromObject(global, ['queueMicrotask']); + +runner.runJsTests();