Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug] [Pull to refresh] If beforeunload cancels the refresh the spinner remains (affects music.youtube.com). #16598

Closed
emilio opened this issue Nov 16, 2020 · 9 comments
Assignees
Labels
b:web-content Issues with websites. Check to see if the issue is GV or WebCompat too 🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified Feature:Gesture

Comments

@emilio
Copy link
Contributor

emilio commented Nov 16, 2020

Steps to reproduce

Expected behavior

I'd expect the spinner to go away.

Actual behavior

Spinner remains on the page.

Device information

  • Android device: N/A (repros on emulator too)
  • Fenix version: Latest nightly.

┆Issue is synchronized with this Jira Task

@emilio emilio added the 🐞 bug Crashes, Something isn't working, .. label Nov 16, 2020
@emilio
Copy link
Contributor Author

emilio commented Nov 16, 2020

cc @hiikezoe

@github-actions github-actions bot added the needs:triage Issue needs triage label Nov 16, 2020
@opusforlife2
Copy link

You can see this on Startpage when using POST as well. If you cancel the prompt that asks you to resend info upon refreshing, the spinner stays there.

@kbrosnan kbrosnan added b:web-content Issues with websites. Check to see if the issue is GV or WebCompat too Feature:Gesture and removed needs:triage Issue needs triage labels Nov 16, 2020
@hiikezoe
Copy link

This change should fix this issue.

@Mugurell can you please use this change as a reference to fix this issue? I don't know how we can run a single unit test there so that I haven't run the unit test in the change, and also I am not sure whether we need to change all GeckoPromptDelegate.kt(s) in engine-gecko, engine-gecko-beta and I don't want to learn about the role/rules now. :)

@Mugurell
Copy link
Contributor

@hiikezoe Sure. Thank you for helping with this!

@Mugurell
Copy link
Contributor

Put up mozilla-mobile/android-components#9044 to resolve this in AC.

@emilio
Copy link
Contributor Author

emilio commented Nov 23, 2020

Thanks for fixing this @Mugurell!

@abodea
Copy link
Member

abodea commented Nov 25, 2020

Verified as fixed on the latest Nightly 25/11 with Google Pixel 4 XL (11), Samsung Galaxy S10+ (10), Samsung Galaxy S7 (7).
Note that the spinner disappeared without problems.

@abodea abodea closed this as completed Nov 25, 2020
@abodea abodea added eng:qa:verified QA Verified and removed eng:qa:needed QA Needed labels Nov 25, 2020
@hiikezoe
Copy link

\o/ Thank you @Mugurell!

@Mugurell
Copy link
Contributor

@hiikezoe Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
b:web-content Issues with websites. Check to see if the issue is GV or WebCompat too 🐞 bug Crashes, Something isn't working, .. eng:qa:verified QA Verified Feature:Gesture
Projects
None yet
Development

No branches or pull requests

6 participants