mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
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 (;;) {
|
for (;;) {
|
||||||
prop = chain.shift();
|
prop = chain.shift();
|
||||||
if ( chain.length === 0 ) { break; }
|
if ( chain.length === 0 ) { break; }
|
||||||
|
if ( prop in owner === false ) { break; }
|
||||||
owner = owner[prop];
|
owner = owner[prop];
|
||||||
if ( owner instanceof Object === false ) { return; }
|
if ( owner instanceof Object === false ) { return; }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user