Skip to content

Commit

Permalink
* Add a reference to MockTimer
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyt committed Aug 25, 2013
1 parent 3f881cd commit b704305
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
* Worker API
* `setTimeout` / `clearTimeout` / `setInterval` / `clearInterval`
Forwarding to the default implementation (in NativeModule TimerWrap).

Alternately, we can integrate this with our own `tick` function:

http://code.google.com/p/v8-juice/source/browse/branches/edge/src/client/shell/js/MockTimer.js
(derived from https://github.com/esbie/js-mock-timers)

* `onerror` handler
Catch runtime errors; also addEventListener 'error'.
* `dispatchEvent`?

0 comments on commit b704305

Please sign in to comment.