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)

All
Android
defect

Tracking

(firefox118 wontfix, firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox118 --- wontfix
firefox119 --- fixed

People

(Reporter: jonalmeida, Assigned: calu)

References

Details

Attachments

(1 file)

Steps to reproduce

  1. Enable shopping experience on Nightly.
  2. Navigate to a Product List Page (PLP).
  3. Click on a Product Details Page (PDP).
  4. Observe the progress bar.

Expected behavior

  • Checking isProductUrl should 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
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
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
No longer blocks: 1855921
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: