Skip to content

Commit

Permalink
test: run html/webappapis/timers WPT
Browse files Browse the repository at this point in the history
PR-URL: #25618
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
joyeecheung authored and addaleax committed Feb 1, 2019
1 parent 5792208 commit 5bffcf6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/wpt/status/html/webappapis/timers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
18 changes: 18 additions & 0 deletions test/wpt/test-timers.js
Original file line number Diff line number Diff line change
@@ -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();

0 comments on commit 5bffcf6

Please sign in to comment.