Closed
Bug 1849234
Opened 2 years ago
Closed 2 years ago
Page loads are blocked from completing until `isProductUrl` completes
Categories
(Firefox for Android Graveyard :: Shopping, defect)
Tracking
(firefox118 wontfix, firefox119 fixed)
RESOLVED
FIXED
119 Branch
People
(Reporter: jonalmeida, Assigned: calu)
References
Details
Attachments
(1 file)
Steps to reproduce
- Enable shopping experience on Nightly.
- Navigate to a Product List Page (PLP).
- Click on a Product Details Page (PDP).
- Observe the progress bar.
Expected behavior
- Checking
isProductUrlshould not block the progress load of the page.
Actual behavior
- The page progress is incomplete until the response comes back from the service behind
isProductUrl. This can take several extra seconds on my local high-end device with high quality wifi.
Device information
- Firefox version: Fenix Nightly 118.0a1 (831cee7e13+)
- Android device model: Pixel 6a
- Android OS version: Android 13
Any additional information?
Logging below was added at the AC layer where we observe, but it seems that the blocking is on the GeckoView layer.
2023-08-17 16:32:01.605 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN PROGRESS CHANGE: 15
2023-08-17 16:32:01.611 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN PAGE START
2023-08-17 16:32:02.033 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN ONPRODUCTURL
2023-08-17 16:32:02.382 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN PROGRESS CHANGE: 80
2023-08-17 16:32:02.883 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN ONPRODUCTURL
2023-08-17 16:32:05.975 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN ONPRODUCTURL
2023-08-17 16:32:06.025 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN ONPRODUCTURL
2023-08-17 16:32:08.686 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN PROGRESS CHANGE: 100
2023-08-17 16:32:08.695 28782-28782 GeckoEngineSession org.mozilla.fenix.debug D JONNN PAGE STOP
| Reporter | ||
Comment 1•2 years ago
|
||
This seems to be the offending code that should probably be async: https://searchfox.org/mozilla-central/rev/d81e60336d9f498ad3985491dc17c2b77969ade4/mobile/android/modules/geckoview/GeckoViewNavigation.sys.mjs#635-639
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → calu
Status: NEW → ASSIGNED
Pushed by calu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/88b66d101d4d
isProductUrl should be async to prevent blocking page loads r=geckoview-reviewers,owlish
Comment 4•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox119:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Updated•2 years ago
|
status-firefox118:
--- → wontfix
Updated•1 year ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•