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

Limit force reloading in Tab.reload() #2361

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

ayoy
Copy link
Collaborator

@ayoy ayoy commented Mar 8, 2024

Task/Issue URL: https://app.asana.com/0/1177771139624306/1206791095409241/f
CC: @mallexxx

Description:
Don't call content.forceReload() on every call to reload().

Steps to test this PR:

  1. Open a tab
  2. Refresh the tab
  3. Open new tab
  4. Switch back to the first tab
  5. Verify that the first tab doesn't get reloaded.
  6. Go through steps to test in Fixed address bar cleared/losing focus on Navigation #2157 and verify that nothing gets broken.

Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@github-actions github-actions bot added the bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project label Mar 8, 2024
@ayoy ayoy removed the bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project label Mar 8, 2024
@ayoy ayoy requested a review from diegoreymendez March 8, 2024 14:02
@ayoy
Copy link
Collaborator Author

ayoy commented Mar 8, 2024

@diegoreymendez I see that some integration tests are failing. Curious if it's because of my change. I've re-run them and let's see.

@ayoy ayoy merged commit 4fb9c6b into release/1.78.0 Mar 8, 2024
14 of 15 checks passed
@ayoy ayoy deleted the dominik/fix-unwanted-tab-reloading branch March 8, 2024 14:33
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