Skip to content

Commit 3810a22

Browse files
brendankennypaulirish
authored andcommitted
core: add type checking to page functions (#11958)
1 parent b77b890 commit 3810a22

File tree

5 files changed

+142
-74
lines changed

5 files changed

+142
-74
lines changed

lighthouse-core/gather/driver.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,6 @@ class Driver {
11121112
async cacheNatives() {
11131113
await this.evaluateScriptOnNewDocument(`
11141114
window.__nativePromise = Promise;
1115-
window.__nativeError = Error;
11161115
window.__nativeURL = URL;
11171116
window.__ElementMatches = Element.prototype.matches;
11181117
window.__perfNow = performance.now.bind(performance);

0 commit comments

Comments
 (0)