Skip to content

Commit

Permalink
Update driver.js
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Sep 26, 2017
1 parent 77f7592 commit 141d212
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lighthouse-core/gather/driver.js
Expand Up @@ -624,7 +624,8 @@ class Driver {
return this._beginNetworkStatusMonitoring(url)
.then(_ => {
// These can 'race' and that's OK.
// We don't want to wait for Page.navigate's resolution, as it can happen _after_ onload.
// We don't want to wait for Page.navigate's resolution, as it can now
// happen _after_ onload: https://crbug.com/768961
this.sendCommand('Page.enable');
this.sendCommand('Emulation.setScriptExecutionDisabled', {value: disableJS});
this.sendCommand('Page.navigate', {url});
Expand Down

0 comments on commit 141d212

Please sign in to comment.