Skip to content

Commit

Permalink
test: run html/webappapis/timers WPT
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Jan 24, 2019
1 parent aa58809 commit 92d6c82
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 92d6c82

Please sign in to comment.