Skip to content

Loading…

Exception in onBeforeRequest on `sodaplay.com/creators/soda/items/constructor` #204

Closed
gorhill opened this Issue · 0 comments

1 participant

@gorhill

Caused by the contructor keyword in the URL. Exception occurs when:

f = bucket0[token];
if ( f !== undefined && f.match(url, beg) !== false ) {
    return f;
}

Need to use hasOwnProperty in FilterContainer.prototype.matchTokens to avoid looking up token in prototype chain.

@gorhill gorhill added a commit that closed this issue
@gorhill gorhill this fixes #204 25ccc6b
@gorhill gorhill closed this in 25ccc6b
@andre-hub andre-hub pushed a commit to andre-hub/uBlock that referenced this issue
@gorhill gorhill maybe #204 82f334b
@andre-hub andre-hub pushed a commit to andre-hub/uBlock that referenced this issue
@gorhill gorhill this addresses #204 f3613ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.