Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jleyba committed Jun 12, 2016
1 parent 76109e2 commit 9ed5b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/lib/webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ class Options {

let expiry;
if (typeof spec.expiry === 'number') {
spec.expiry = Math.floor(spec.expiry);
expiry = Math.floor(spec.expiry);
cookieString += ';expires=' + new Date(spec.expiry * 1000).toUTCString();
} else if (spec.expiry instanceof Date) {
let date = /** @type {!Date} */(spec.expiry);
Expand Down

0 comments on commit 9ed5b19

Please sign in to comment.