Skip to content

Commit

Permalink
Do not bail too early when trapping properties in acs scriptlet
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jul 5, 2023
1 parent ed89293 commit fea6f7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/resources/scriptlets.js
Expand Up @@ -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; }
}
Expand Down

0 comments on commit fea6f7f

Please sign in to comment.