]> khamidou — GitHub mirrors - electron.git/commit
Guarding webview attributes against polluted Object.prototypes
authorKirk Ouimet <kirk@kirkouimet.com>
Tue, 9 Jun 2015 23:17:00 +0000 (16:17 -0700)
committerKirk Ouimet <kirk@kirkouimet.com>
Tue, 9 Jun 2015 23:17:00 +0000 (16:17 -0700)
commit0fef09281b27fcb6de9f90d521e549026e79b4c5
tree3e396b2aea66f44b114e74c57b683903062c9d66
parentf91a81fe77aa59a75792c8f7bd3b7510acfcd017
Guarding webview attributes against polluted Object.prototypes

Ran into an error with the buildParams function breaking when using a JavaScript library that modified the Object.prototype, this small fix resolves the issue.
atom/renderer/lib/web-view/web-view.coffee