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

JS Tracker: Prevent possible infinite loop when page is unloading #12114

Merged
merged 3 commits into from Aug 31, 2020
Merged

JS Tracker: Prevent possible infinite loop when page is unloading #12114

merged 3 commits into from Aug 31, 2020

Conversation

yossicohn
Copy link
Contributor

@yossicohn yossicohn commented Sep 25, 2017

Bugfix #12108
Infinite Loop Bug in beforeUnloadHandler()
prevent infinite loop when delta > 3 seconds

js/piwik.js Outdated Show resolved Hide resolved
@mattab mattab added this to the 3.2.0 milestone Sep 25, 2017
@mattab mattab added Needs Review PRs that need a code review Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Sep 25, 2017
@mattab
Copy link
Member

mattab commented Dec 14, 2017

@yossicohn please could you update the Pull request so it can get merged?

@sgiehl sgiehl changed the base branch from 3.x-dev to 4.x-dev February 19, 2020 18:37
@sgiehl
Copy link
Member

sgiehl commented Feb 19, 2020

@tsteur Is that still something we should maybe merge for Matomo 4? Or shall we close this PR?

@tsteur
Copy link
Member

tsteur commented Feb 19, 2020

@sgiehl no big preference, could be useful to have but also quite edge case.

@tsteur
Copy link
Member

tsteur commented Aug 31, 2020

build js

@tsteur
Copy link
Member

tsteur commented Aug 31, 2020

LGTM. Thanks @yossicohn I'm hoping to finally merge this tomorrow. I can't merge it right now as I will need to fix the build afterwards with the minified JS version.

@tsteur tsteur changed the title Bugfix 12108 Prevent possible infinite loop when page is unloading Aug 31, 2020
@tsteur tsteur merged commit 7d4035b into matomo-org:4.x-dev Aug 31, 2020
@mattab mattab changed the title Prevent possible infinite loop when page is unloading JS Tracker: Prevent possible infinite loop when page is unloading Sep 29, 2020
@mattab mattab added the c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. label Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Needs Review PRs that need a code review Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants