Skip to content

Commit

Permalink
update timeout comment
Browse files Browse the repository at this point in the history
  • Loading branch information
freb committed Nov 9, 2017
1 parent 26aba14 commit c701aa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http-screenshot.nse
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ page.onResourceRequested = function(requestData, networkRequest) {
page.onResourceReceived = function(response) {
var index = requests.indexOf(response.id);
waitTime = 0; // reset waitTime when resource is received
requests.splice(index, 1);
};
Expand Down

0 comments on commit c701aa6

Please sign in to comment.