Closed Bug 2009774 Opened 10 months ago Closed 10 months ago

Some shop.app checkout pages (e.g. AG Jeans) never finishes loading, staying stuck showing placeholder content

Categories

(Web Compatibility :: Site Reports, defect, P1)

Tracking

(firefox-esr115 unaffected, firefox-esr140 unaffected, firefox147+ verified, firefox148+ fixed, firefox149+ fixed)

VERIFIED FIXED
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox147 + verified
firefox148 + fixed
firefox149 + fixed

People

(Reporter: dholbert, Assigned: jesup)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Add some product from AG Jeans to your cart/bag, e.g. visit https://www.agjeans.com/products/wesley-shirt-relaxed-long-sleeve-71600splshwgnm , click a size, and then click "Add to bag"
  2. Click "Checkout"
  3. On the checkout page, don't bother entering any info; just scroll down and click the "Shop Pay" radio button, and then "Pay Now"
  4. Shop Pay will prompt you for an email address. Ignore this, and just navigate back. (The bug reproduces regardless of whether you provide an email address.)

ACTUAL RESULTS:
You go back to the AG Jeans checkout page, but it remains in a "placeholder content" state, with the tab's loading throbber animating forever.

EXPECTED RESULTS:
Successful navigation back to the AG Jeans checkout page.

I'm using Firefox 148.0a1 (2026-01-12) (64-bit) on Ubuntu 25.04. I've been told this affects Nightly on Windows as well.

Attached video screencast of bug —

Here's a profile that I captured (not during the screencast, but doing the exact same steps as shown in the screencast, in a fresh profile):
https://share.firefox.dev/4bB5Xia

Notable things in this profile:

I think this is a regression; tracking down a regression range now.

Regression range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=41cab394a46588dfbad11e859bd0df902ffd5599&tochange=d9828f771202bcfc61fe9f138d3abe1540b838b0

--> appears to be a regression from Bug 2002034 , specifically this commit:
https://hg-edge.mozilla.org/integration/autoland/rev/d9828f771202bcfc61fe9f138d3abe1540b838b0

That makes some sense, given that bug mentions shop.app URLs.

Randell, could you take a look? bug 2002034 appears to have broken shop.app checkout flows on at least this one site, in 147 (which releases this week). Might want to get a quick fix prepped for 147.0.1 depending on how broadly we think sites might be affected.

Component: Site Reports → Networking
Keywords: regression
Product: Web Compatibility → Core
Regressed by: 2002034

(er, adding needinfo for comment 4)

Flags: needinfo?(rjesup)
Summary: AG Jeans checkout page never finishes loading, staying stuck showing placeholder content → AG Jeans' shop.app checkout page never finishes loading, staying stuck showing placeholder content

This might affect all or many shop.app checkout flows, once you've gotten the right sort of a cache setup. In my Firefox profile where I had already performed comment 0's STR and triggered the bug, I can then also trigger the same broken-tab experience by going to https://shop.app/categories and choosing an arbitrary category/product (ended up with https://shop.app/products/5541111988383/freesip ), and clicking "Buy Now" (or adding it to my cart and then clicking the cart icon on the left side of the page and clicking "Checkout").

I didn't yet find a way to trigger the hang from https://shop.app/categories in an entirely fresh profile -- the steps in comment 0 with AG Jeans seem to be necessary to get into the requisite bad cache-state. But I assume other shop.app-based checkout flows are similarly affected; it's unlikely that AG Jeans is doing something uniquely strange with their shop.app setup here.

Summary: AG Jeans' shop.app checkout page never finishes loading, staying stuck showing placeholder content → Some shop.app checkout pages (e.g. AG Jeans) never finishes loading, staying stuck showing placeholder content

Here's a profile of the whole STR, with network logging enabled:
https://share.firefox.dev/4qiaWJ9

(Unfortunately the full profile was too large, and our profiler UI forced me to remove some data to reduce the size before it'd let me upload or export it; so I removed the threads that I had marked as hidden, which may have inadvertently removed important info. So if there's a key thing that networking folks are looking for that's in a thread/process that isn't shown here, perhaps you can find it in your own locally-captured profile of the STR, with a fresh profile.)

[Tracking Requested - why for this release]: regression in 147 which we're shipping this week, affecting some (possibly many) shop.app checkout flows.

I tried one other merchant, "Bones Coffee Company", that I found by perusing shop.app's own product listings -- and I hit the same bug there.

STR for them (basically identical to comment 0 but for this other merchant)

  1. In Firefox Nightly (ideally with a fresh user profile), on https://www.bonescoffee.com , scroll down and click the first "Add to cart" button that you see (next to "Shop Best Selling Roasts")
    (You may have to dismiss some in-page modal popups with a 10% discount and an accept-cookies prompt.)
  2. Click Checkout.
  3. Scroll down on the checkout flow and click the "Shop Pay" radio button, and then "Pay Now"
  4. Shop Pay will prompt you for an email address. Ignore this, and just navigate back (e.g. alt+leftarrow, or backarrow button on toolbar). (The bug reproduces regardless of whether you provide an email address.)

ACTUAL RESULTS:
You end up seeing a checkout page with in a "placeholder content" state, with the tab's loading throbber animating forever.

I tried a third merchant -- https://ruggable.com -- in a fresh profile with Firefox Nightly, and I confirmed they're affected as well (same STR as comment 0 but with a Ruggable product, and same outcome).

So, for now it's probably best to assume that the shop.pay checkout flows is affected across all merchants.

Two notes:
(1) I confirmed that this affects the 147.0 release-candidate build (current up-to-date beta-channel).
(2) The bug appears to go away if I toggle network.http.dictionaries.enable to false

I tested and reproduced the bug (with Bones Coffee) in 147beta on Windows 11 in BrowserStack (to rule out the possibility that there's something special about my IP address or configuration/computer).

I should also mention, I haven't been able to reproduce this issue in Chrome Version 144.0.7534.0 (Official Build) dev (64-bit), in the limited attempts/testing that I've done there.

One note on the STR:

  1. On the checkout page, don't bother entering any info; just scroll down and click the "Shop Pay" radio button, and then "Pay Now"
  2. Shop Pay will prompt you for an email address. Ignore this, and just navigate back. (The bug reproduces regardless of whether you provide an email address.)

In step 4 there, it doesn't seem to matter how you navigate back. I tried comment 0's STR (fresh profile each time) with...
(a) the browser-toolbar back button
(b) Alt+LeftArrow
(c) the "Back" link inside the page-content itself
...and I got the same bad results for all three.

(In reply to Daniel Holbert [:dholbert] from comment #11)

(2) The bug appears to go away if I toggle network.http.dictionaries.enable to false

Update: we'll be mitigating this in 147 release by setting that^ pref to false via Nimbus (thanks to jlockhart for deploying that).

So: to test/investigate the bug, interested folks will need to ensure that about:config network.http.dictionaries.enable is set to true (since otherwise Nimbus will hopefully be setting it to false which avoids the bug). Alternately/also you can unenroll from the nimbus pref-toggle in about:studies.

Severity: -- → S2
Priority: -- → P1
Flags: needinfo?(rjesup)

:jesup, since you are the author of the regressor, bug 2002034, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(rjesup)

The bug is marked as tracked for firefox147 (release), tracked for firefox148 (beta) and tracked for firefox149 (nightly). However, the bug still isn't assigned.

:ghess, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(ghess)
Assignee: nobody → rjesup
Flags: needinfo?(rjesup)
Flags: needinfo?(ghess)
See Also: → 2010712
See Also: → 2010739

(In reply to Daniel Holbert [:dholbert] from comment #15)

Update: we'll be mitigating this in 147 release by setting that^ pref to false via Nimbus (thanks to jlockhart for deploying that).

Another update: we've now got an actual pref-flip-patch on the way in bug 2010739, which should address this for users who don't get the nimbus-study-based pref-flip for whatever reason.

Depends on: 2010739
See Also: 2010739 →

I manage to reproduce this issue, on Firefox 147.0, with param network.http.dictionaries.enable = true . On the dot release Firefox 147.0.1, with studies disabled we have param network.http.dictionaries.enable = false in about:config, and that bug is not reproducible any more. Verified on mac12, Ubuntu 22 and Windows 11.

Depends on: 2010968

We'll be using Bug 2010968 to address the root cause here.

In the meantime, the user-facing problem on shop.app has been mitigated via bug 2010739 (and verified per comment 19), so we can consider this bug (tracking that user-facing issue) to be fixed by bug 2010739 on 147 relaese, 148 beta, and 149 nightly (everywhere bug 2010739 was uplifted).

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Component: Networking → Site Reports
Product: Core → Web Compatibility
Regressed by: 2003541
No longer regressed by: 2002034

Verified, the issue no longer reproduces.

Tested with:

  • Browser / Version: Firefox 148.0-candidate build 1
  • Operating System: Desktop
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: