Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8bcb174

Browse filesBrowse files
committed
test: fix test-timers.reliability on OS X
Fixes: #4404 PR-URL: #5379 Reviewed-By: Julien Gilli <jgilli@fastmail.fm> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
1 parent d26417f commit 8bcb174
Copy full SHA for 8bcb174

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/timers/test-timers-reliability.js‎

Copy file name to clipboardExpand all lines: test/timers/test-timers-reliability.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var intervalFired = false;
3232
*/
3333

3434
var monoTimer = new Timer();
35-
monoTimer.ontimeout = function() {
35+
monoTimer[Timer.kOnTimeout] = function() {
3636
/*
3737
* Make sure that setTimeout's and setInterval's callbacks have
3838
* already fired, otherwise it means that they are vulnerable to

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.