Skip to content

Commit

Permalink
Minor tweak to the firefox driver
Browse files Browse the repository at this point in the history
We now return immediately after sending a response in this
one case.
  • Loading branch information
shs96c committed Oct 11, 2016
1 parent ec11e60 commit 1914f2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions javascript/firefox-driver/js/nsCommandProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ nsCommandProcessor.prototype.newSession = function(response, parameters) {
goog.log.info(nsCommandProcessor.LOG_,
'Created a new session with id: ' + session.getId());
this.getSessionCapabilities(response);
return; // Response already sent
}

response.send();
Expand Down

0 comments on commit 1914f2e

Please sign in to comment.