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

chore: user prompt before the mapper tab closed #2182

Merged
merged 1 commit into from
May 2, 2024

Conversation

sadym-chromium
Copy link
Collaborator

@sadym-chromium sadym-chromium commented May 2, 2024

  1. Add onbeforeunload handler to the mapper tab.
  2. Click on the mapper tab, so that the onbeforeunload will be triggered.

Required follow up:

  • add user gesture click on the tab in ChromeDriver.

@sadym-chromium sadym-chromium force-pushed the sadym/mapper-tab-unload branch from dfb98a0 to abc1b9b Compare May 2, 2024 09:44
@sadym-chromium sadym-chromium enabled auto-merge (squash) May 2, 2024 09:44
@sadym-chromium sadym-chromium merged commit fa218c1 into main May 2, 2024
49 checks passed
@sadym-chromium sadym-chromium deleted the sadym/mapper-tab-unload branch May 2, 2024 09:54
T3-M4 pushed a commit to bayandin/chromedriver that referenced this pull request May 2, 2024
The Mapper changes are in GoogleChromeLabs/chromium-bidi#2182 and https://crrev.com/c/5509316

Bug: chromedriver:4761
Change-Id: I3e27335158482343e7187db2e1c1bb23a7c389e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5508600
Commit-Queue: Maksim Sadym <sadym@chromium.org>
Reviewed-by: Vladimir Nechaev <nechaev@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1295379}
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.

2 participants