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

feat: More eager cleanup for UIs using Beacon API (#16657) #18128

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

tltv
Copy link
Member

@tltv tltv commented Nov 24, 2023

Notifies server about closed UIs using a beacon request on pagehide event.

At the same time unifies behaviour in certain edge cases, where Safari maintained the state when brought back from page cache. Previously Safari in some situations kept the state.

Tested manually with Safari, Chrome, Firefox and validated results using VisualVM.

Back ported from 24 to 23.4.

Closes #6293

Notifies server about closed UIs using a beacon request on pagehide event.

At the same time unifies behaviour in certain edge cases, where Safari maintained the state when brought back from page cache. Previously Safari in some situations kept the state.

Tested manually with Safari, Chrome, Firefox and validated results using VisualVM.

Closes #6293
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link

Test Results

   959 files  +  1     959 suites  +1   47m 59s ⏱️ + 1m 9s
6 267 tests +  1  6 218 ✔️ +  1  49 💤 ±0  0 ±0 
6 529 runs  +10  6 472 ✔️ +10  57 💤 ±0  0 ±0 

Results for commit d627c97. ± Comparison against base commit b47a12b.

@tltv tltv marked this pull request as ready for review November 24, 2023 14:06
@mshabarov mshabarov requested a review from mcollovati November 27, 2023 12:35
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 23.4.0.alpha1 and is also targeting the upcoming stable 23.4.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants