projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d049402
)
Add spec for using setTimeout in pure uv callback.
author
Cheng Zhao
<zcbenz@gmail.com>
Thu, 9 Jan 2014 12:34:17 +0000
(20:34 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Thu, 9 Jan 2014 12:34:17 +0000
(20:34 +0800)
spec/node-spec.coffee
patch
|
blob
|
history
diff --git
a/spec/node-spec.coffee
b/spec/node-spec.coffee
index
90ac22b
..
7eb8459
100644
(file)
--- a/
spec/node-spec.coffee
+++ b/
spec/node-spec.coffee
@@
-37,6
+37,11
@@
describe 'node feature', ->
fs.readFile __filename, ->
setTimeout done, 0
+ describe 'setTimeout in pure uv callback', ->
+ it 'does not crash', (done) ->
+ process.scheduleCallback ->
+ setTimeout done, 0
+
describe 'throw error in node context', ->
it 'gets caught', (done) ->
error = new Error('boo!')