diff --git a/src/drivers/webextension/js/js.js b/src/drivers/webextension/js/js.js index f5db2b5a5..ad9753ebb 100644 --- a/src/drivers/webextension/js/js.js +++ b/src/drivers/webextension/js/js.js @@ -19,8 +19,7 @@ (value, method) => value && value instanceof Object && - Object.prototype.hasOwnProperty.call(value, method) && - !(Object.getOwnPropertyDescriptor(value, method) || {}).get + Object.prototype.hasOwnProperty.call(value, method) ? value[method] : '__UNDEFINED__', window