Skip to content

Commit

Permalink
In qunit task, duplicate PhantomJS onResourceReceived --debug logging…
Browse files Browse the repository at this point in the history
… lines are now omitted.
  • Loading branch information
cowboy committed Mar 30, 2012
1 parent 58f0ee7 commit 248c9b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/qunit/phantom.js
Expand Up @@ -67,7 +67,9 @@ page.onResourceRequested = function(request) {
sendDebugMessage('onResourceRequested', request.url);
};
page.onResourceReceived = function(request) {
sendDebugMessage('onResourceReceived', request.url);
if (request.stage === 'end') {
sendDebugMessage('onResourceReceived', request.url);
}
};

page.open(url, function(status) {
Expand Down

0 comments on commit 248c9b9

Please sign in to comment.