mirror of https://github.com/gorhill/uBlock.git
Do not bail too early when trapping properties in `acs` scriptlet
Related feedback: - https://github.com/uBlockOrigin/uBlock-issues/issues/2130#issuecomment-1621684566
This commit is contained in:
parent
ed89293c62
commit
fea6f7f311
|
@ -253,6 +253,7 @@ function abortCurrentScriptCore(
|
|||
for (;;) {
|
||||
prop = chain.shift();
|
||||
if ( chain.length === 0 ) { break; }
|
||||
if ( prop in owner === false ) { break; }
|
||||
owner = owner[prop];
|
||||
if ( owner instanceof Object === false ) { return; }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue