Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
885122db
...
885122dbab6ef57587808ae48483b566cbfe0e7d
authored
2011-11-21 12:54:24 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixes #10 - the 'log' method in the timeout test is not properly called
1 parent
aaae5f34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
casper.js
casper.js
View file @
885122d
...
...
@@ -637,7 +637,7 @@
}
this
.
started
=
true
;
if
(
isType
(
this
.
options
.
timeout
,
"number"
)
&&
this
.
options
.
timeout
>
0
)
{
self
.
log
(
"execution timeout set to "
+
this
.
options
.
timeout
+
'ms'
,
"info"
);
this
.
log
(
"execution timeout set to "
+
this
.
options
.
timeout
+
'ms'
,
"info"
);
setTimeout
(
function
(
self
)
{
self
.
log
(
"timeout of "
+
self
.
options
.
timeout
+
"ms exceeded"
,
"info"
).
exit
();
},
this
.
options
.
timeout
,
this
);
...
...
Please
register
or
sign in
to post a comment