diff --git a/test/wpt/status/html/webappapis/timers.json b/test/wpt/status/html/webappapis/timers.json new file mode 100644 index 00000000000000..0967ef424bce67 --- /dev/null +++ b/test/wpt/status/html/webappapis/timers.json @@ -0,0 +1 @@ +{} diff --git a/test/wpt/test-timers.js b/test/wpt/test-timers.js new file mode 100644 index 00000000000000..a9fc262d3b1beb --- /dev/null +++ b/test/wpt/test-timers.js @@ -0,0 +1,18 @@ +'use strict'; + +// Flags: --expose-internals + +require('../common'); +const { WPTRunner } = require('../common/wpt'); + +const runner = new WPTRunner('html/webappapis/timers'); + +// Copy global descriptors from the global object +runner.copyGlobalsFromObject(global, [ + 'setInterval', + 'clearInterval', + 'setTimeout', + 'clearTimeout' +]); + +runner.runJsTests();