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

Pass latest state when page navigates while popup is open #560

Closed
sidvishnoi opened this issue Sep 2, 2024 · 0 comments · Fixed by #611
Closed

Pass latest state when page navigates while popup is open #560

sidvishnoi opened this issue Sep 2, 2024 · 0 comments · Fixed by #611
Assignees

Comments

@sidvishnoi
Copy link
Member

  1. Visit a monetized website.
  2. Run following to console to simulate background navigation (or a slow navigation - user clicks, user opens popup, site thinking, site navigates):
    setTimeout(() => {window.location.href = "https://another-monetized-website"}, 4000) 
  3. Open popup before above setTimeout callback is called.
  4. Wait for site to be navigated.

The popup still has state from previous site.

This doesn't happen too often in real world, but handling this correctly will help us with #556 (comment).

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

Successfully merging a pull request may close this issue.

2 participants