Skip to content

fix: treat querySelector/querySelectorAll as methods in untainted proto…#67

Merged
pendo-ops merged 1 commit intopendo-mainfrom
jc-queryselector-as-methods
Mar 16, 2026
Merged

fix: treat querySelector/querySelectorAll as methods in untainted proto…#67
pendo-ops merged 1 commit intopendo-mainfrom
jc-queryselector-as-methods

Conversation

@juliecheng
Copy link
Copy Markdown

…type check

issue:
querySelector and querySelectorAll were listed as testableAccessors = the checks always failed = we're always creating/removing iframes to try and get the untainted versions when it's not necessary

fix:
move both querySelector and querySelectorAll into testableMethods

@kode-toad
Copy link
Copy Markdown

kode-toad bot commented Mar 16, 2026

Failed pendo.io/jira-ref check. Please correct Jira references in the following commits:

ecc758d

Copy link
Copy Markdown

@arivyiii arivyiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown

@guntherjh guntherjh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Damn we definitely should send this upstream. I can't imagine the excessive iframe creation is helping with performance at all.

@guntherjh
Copy link
Copy Markdown

[merge]

@pendo-ops pendo-ops merged commit e6e3f32 into pendo-main Mar 16, 2026
10 of 15 checks passed
@kode-toad
Copy link
Copy Markdown

kode-toad bot commented Mar 16, 2026

Branch jc-queryselector-as-methods deleted

@kode-toad kode-toad bot deleted the jc-queryselector-as-methods branch March 16, 2026 18:51
@juliecheng juliecheng changed the title fix: treat querySelect/querySelectorAll as methods in untainted proto… fix: treat querySelector/querySelectorAll as methods in untainted proto… Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants