★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/74ee8d3b72Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
test: run html/webappapis/microtask-queuing WPT
PR-URL: #25616
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
  • Loading branch information
joyeecheung authored and MylesBorins committed Jan 24, 2019
1 parent 572a70f commit 74ee8d3b7262007476d76fc3b893eb56ce71fcdc
Showing with 21 additions and 0 deletions.
  1. +8 −0 test/wpt/status/html/webappapis/microtask-queuing.json
  2. +13 −0 test/wpt/test-microtask-queuing.js
@@ -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"
}
}
@@ -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();

0 comments on commit 74ee8d3

Please sign in to comment.