Skip to content

Commit

Permalink
Fix cachecontents test on HTTP pages
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jul 16, 2016
1 parent 4f66e0d commit e6fa594
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lighthouse-core/driver/gatherers/cache-contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ function getCacheContents() {
// __returnResults is magically inserted by driver.evaluateAsync
__returnResults(requests);
});
}).catch(_ => {
__returnResults(undefined);
});
}

Expand Down

0 comments on commit e6fa594

Please sign in to comment.