You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge in ADGUARD-FILTERS/scriptlets from fix/AG-18170 to master
Squashed commit of the following:
commit 0390052
Merge: 180e595d85c776
Author: Stanislav A <s.atroschenko@adguard.com>
Date: Tue Dec 13 20:46:10 2022 +0300
Merge branch 'master' into fix/AG-18170
commit 180e595
Author: Stanislav A <s.atroschenko@adguard.com>
Date: Tue Dec 13 18:05:41 2022 +0300
fix version
commit 2febad3
Author: Stanislav A <s.atroschenko@adguard.com>
Date: Tue Dec 13 16:51:14 2022 +0300
update changelog
commit 19c6c85
Author: Stanislav A <s.atroschenko@adguard.com>
Date: Tue Dec 13 15:47:46 2022 +0300
improve helper
commit f52e9a1
Author: Stanislav A <s.atroschenko@adguard.com>
Date: Tue Dec 13 15:47:04 2022 +0300
improve helper and add tests
commit 817493a
Author: Stanislav A <s.atroschenko@adguard.com>
Date: Tue Dec 13 14:50:36 2022 +0300
improve isEmptyObject - should not be function
If I'm not wrong, some scriptlets doesn't work in some cases due to issue with
isEmptyObject
.Steps to reproduce:
EventTarget.prototype.dispatchEvent
in console.It should returns
noopFunc
, but it doesn't work.Screenshot
If I'm not wrong, it's because
isEmptyObject
returnstrue
in case ofEventTarget
and any otherobject
withprototype
.Scriptlets/src/helpers/object-utils.js
Line 38 in 202f6d8
For example:
Screenshot
The same happens with
abort-current-inline-script
,abort-on-property-read
and probably with other scriptlets.The text was updated successfully, but these errors were encountered: