Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
also stub out contentDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
diracdeltas committed Nov 9, 2017
1 parent f519006 commit e64bd0b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,11 @@ if (chrome.contentSettings.canvasFingerprinting == 'block') {
return new Proxy(window, handler)
}
})
Object.defineProperty(frameType.prototype, 'contentDocument', {
get: () => {
return new Proxy(document, handler)
}
})
})
}

Expand Down

0 comments on commit e64bd0b

Please sign in to comment.