Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that setTimeout doesn't throw error for firefox extensions #15

Merged
merged 1 commit into from
May 9, 2024

Conversation

colingm
Copy link
Collaborator

@colingm colingm commented May 9, 2024

Whenever you do this kind of angular check for setTimeout, it ends up causing problems in Firefox extensions:

TypeError: 'setTimeout' called on an object that does not implement interface Window

To avoid this you need to bind the setTimeout to the window

Whenever you do this kind of angular check for setTimeout, it ends
up causing problems in Firefox extensions:

TypeError: 'setTimeout' called on an object that does not implement interface Window

To avoid this you need to bind the setTimeout to the window
@mdellanoce mdellanoce merged commit 168e606 into pendo-main May 9, 2024
6 of 10 checks passed
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.

3 participants