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
8139180a
...
8139180aaf5fddde1189b2d2b32b0194d5ce5e33
authored
2013-07-03 15:52:08 +0200
by
Laurent Jouanneau
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Refs #482: function name is read only in gecko
1 parent
00747d8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
8139180
...
...
@@ -1455,7 +1455,8 @@ Casper.prototype.resourceExists = function resourceExists(test) {
break
;
case
"function"
:
testFn
=
test
;
testFn
.
name
=
"_testResourceExists_Function"
;
if
(
phantom
.
casperEngine
!==
"slimerjs"
)
testFn
.
name
=
"_testResourceExists_Function"
;
break
;
default
:
throw
new
CasperError
(
"Invalid type"
);
...
...
Please
register
or
sign in
to post a comment