feat(replay): Consider `window.open` for slow clicks by mydea · Pull Request #8308 · getsentry/sentry-javascript · GitHub
Skip to content

feat(replay): Consider window.open for slow clicks#8308

Merged
mydea merged 3 commits into
developfrom
fn/slow-click-window-open
Jun 19, 2023
Merged

feat(replay): Consider window.open for slow clicks#8308
mydea merged 3 commits into
developfrom
fn/slow-click-window-open

Conversation

@mydea

@mydea mydea commented Jun 9, 2023

Copy link
Copy Markdown
Member

When a click triggers window.open(), do not consider it a slow click.

Closes #8301

@mydea mydea requested review from AbhiPrasad and billyvg June 9, 2023 08:22
@mydea mydea self-assigned this Jun 9, 2023
@github-actions

github-actions Bot commented Jun 9, 2023

Copy link
Copy Markdown
Contributor

@mydea

mydea commented Jun 9, 2023

Copy link
Copy Markdown
Member Author

@mydea mydea force-pushed the fn/slow-click-window-open branch from 0680c3e to 8f9b822 Compare June 9, 2023 09:43

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we test that the original window.open still works?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I guess that makes sense! Will test this as well.

@mydea mydea force-pushed the fn/slow-click-window-open branch 2 times, most recently from ddd1efe to 2924b32 Compare June 16, 2023 11:05
When a click triggers `window.open()`, do not consider it a slow click.
@mydea mydea force-pushed the fn/slow-click-window-open branch from 2924b32 to 6814844 Compare June 19, 2023 11:46
@mydea mydea merged commit 1bdf2d9 into develop Jun 19, 2023
@mydea mydea deleted the fn/slow-click-window-open branch June 19, 2023 12:56
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.

Intercept window.open to ignore slow clicks

2 participants