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
718a574d
...
718a574d55c1678dba740f5b4f44077a53db17fe
authored
2013-03-05 15:55:46 -0500
by
Chris Bosco
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Request: Fix userAgent tests #401
1 parent
4bdcbeab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
718a574
...
...
@@ -2176,7 +2176,7 @@ function createPage(casper) {
};
page
.
onResourceRequested
=
function
onResourceRequested
(
requestData
,
request
)
{
casper
.
emit
(
'resource.requested'
,
requestData
,
request
);
if
(
request
.
url
===
casper
.
requestUrl
)
{
if
(
request
Data
.
url
===
casper
.
requestUrl
)
{
casper
.
emit
(
'page.resource.requested'
,
request
);
}
if
(
utils
.
isFunction
(
casper
.
options
.
onResourceRequested
))
{
...
...
Please
register
or
sign in
to post a comment