Merge pull request #7480 from osbre/patch-1

Fix webextension `js` detection
main
Elbert Alias 2 years ago committed by GitHub
commit 0e80a01e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save