store.google.com - It takes a very long time to finish loading. And after clicking a link on the page, it takes a very long time for the page to navigate and become responsive.
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: alice0775, Assigned: dshin)
References
(Regression)
Details
(4 keywords)
Attachments
(1 file, 3 external files, 1 obsolete file)
|
44.96 KB,
text/plain
|
Details |
Steps to reproduce:
- Open https://store.google.com
--- It takes a very long time to finish loading - Scroll up and down
--- Checkerboarding occurs when scrolling up and down the page. - Click link on the page
--- it takes a very long time for the page to navigate and become responsive
Actual results:
It takes a very long time to finish loading.
https://share.firefox.dev/4if3Rrx
https://share.firefox.dev/4ifhHtY
Checkerboarding occurs when scrolling up and down the page.
https://share.firefox.dev/4f38hiW
And after clicking a link on the page, it takes a very long time for the page to navigate and become responsive.
Expected results:
That shouldn't happen.
| Reporter | ||
Comment 1•1 month ago
|
||
| Reporter | ||
Comment 2•1 month ago
•
|
||
Regression window:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=cd324cfaf45936b4670a6c0d15cbfe22d0e2f609&tochange=dbb93ea14f589e1d789bc10eb1aa7194f8b39afb
Setting layout.css.has-selector.enabled to false fixes the long delay in page loading on the bad build.
Comment 3•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::General' component, but is not confident enough to move the bug to that component.
Comment 4•1 month ago
|
||
Set release status flags based on info from the regressing bug 1852965
:dshin, since you are the author of the regressor, bug 1852965, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 5•1 month ago
|
||
This looks like it could be the same as bug 2087106, but this report has more actionable info right now. Moving to the same component as bug 1852965 pre-emptively in case that is the cause.
| Assignee | ||
Comment 6•1 month ago
|
||
Investigating. At a glance, lots of :has use with attribute selectors only. Hm.
Updated•1 month ago
|
| Assignee | ||
Comment 8•1 month ago
|
||
Ah, :has(:active) invalidates when users click on the scrollbar as well. We should not do that...
| Assignee | ||
Comment 9•1 month ago
|
||
Initially, this was not implemented because minor/negative and we focused on
minimizing upwards traversals by marking :has search paths. One way or the
other, that doesn't seem enough.
... Only single element property mutations have snapshots, so DOM mutations
remain unchanged (... It's unlikely that this approach is correct for DOM
mutations, anyway). That side could use an improvement as well, tracked in
Bug 2086739.
Updated•1 month ago
|
| Assignee | ||
Comment 10•1 month ago
|
||
(S2 since it's a significant slowdown on a major website)
Comment 11•1 month ago
|
||
| Reporter | ||
Comment 12•1 month ago
|
||
(In reply to Pulsebot from comment #11)
Pushed by dshin@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/841a4a9a9fdc
https://hg.mozilla.org/integration/autoland/rev/4d756348881d
For :has, try to detect change in the potentially-changed compound.
r=firefox-style-system-reviewers,emilio
The autoland build fixes the issue, however, when clicking a link of navigation menus on that page, it takes a very long time for the linked page to load.
I have filed a new Bug 2087787 .
Comment 13•1 month ago
|
||
I can confirm this issue is cross-platform and happening on Linux, macOS, and Windows. I will test it out on Android and iOS and report back.
Comment 14•1 month ago
|
||
| bugherder | ||
Comment 15•1 month ago
|
||
The patch landed in nightly and ESR is affected.
:dshin, please make an uplift decision for ESR:
- For ESR, nominate the patch for the appropriate ESR uplift approval if the fix should be included in ESR, or set the ESR status flag(s) to
wontfixif an uplift isn't needed. Each affected ESR release needs a decision.
Uplift requests can be submitted from Lando: D338425.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
Comment 16•29 days ago
|
||
This is getting pretty widespread complaints on Reddit. I think we should try to get this uplifted to 160 and ESR153 if the risk is low enough to do so with only a few days left for Beta this cycle.
Comment 17•29 days ago
|
||
Emilio, dshin is on PTO it appears. Can you please handle uplift requests?
Comment 18•28 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: perf improvement on high profile website.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: comment 0
- Risk associated with taking this patch: low
- Explanation of risk level: Targetted change.
- String changes made/needed?: none
- Is Android affected?: yes
Comment 19•28 days ago
|
||
Initially, this was not implemented because the tradeoff seemed minor/negative
and we focused on minimizing upwards traversals by marking :has search paths.
One way or the other, that doesn't seem enough.
... Only single element property mutations have snapshots, so DOM mutations
remain unchanged (... It's unlikely that this approach is correct for DOM
mutations, anyway). That side could use an improvement as well, tracked in
Bug 2086739.
Original Revision: https://phabricator.services.mozilla.com/D338425
Comment 20•28 days ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: perf improvement on high profile website.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: comment 0
- Risk associated with taking this patch: low
- Explanation of risk level: Targetted change.
- String changes made/needed?: none
- Is Android affected?: yes
Comment 21•28 days ago
|
||
Initially, this was not implemented because the tradeoff seemed minor/negative
and we focused on minimizing upwards traversals by marking :has search paths.
One way or the other, that doesn't seem enough.
... Only single element property mutations have snapshots, so DOM mutations
remain unchanged (... It's unlikely that this approach is correct for DOM
mutations, anyway). That side could use an improvement as well, tracked in
Bug 2086739.
Original Revision: https://phabricator.services.mozilla.com/D338425
Updated•28 days ago
|
Updated•28 days ago
|
Updated•28 days ago
|
Comment 22•28 days ago
|
||
| uplift | ||
Comment 23•28 days ago
|
||
Please add an uplift request for ESR153, 153.7 builds tomorrow otherwise it will make 153.8
Comment 24•28 days ago
|
||
Initially, this was not implemented because the tradeoff seemed minor/negative
and we focused on minimizing upwards traversals by marking :has search paths.
One way or the other, that doesn't seem enough.
... Only single element property mutations have snapshots, so DOM mutations
remain unchanged (... It's unlikely that this approach is correct for DOM
mutations, anyway). That side could use an improvement as well, tracked in
Bug 2086739.
Original Revision: https://phabricator.services.mozilla.com/D338425
Updated•28 days ago
|
Comment 25•28 days ago
|
||
firefox-esr153 Uplift Approval Request
- User impact if declined/Reason for urgency: comment 0
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: comment 0
- Risk associated with taking this patch: low
- Explanation of risk level: targeted
- String changes made/needed?: none
- Is Android affected?: yes
Comment 26•27 days ago
|
||
Seems fine bug we probably want bug 2087787 as well...
Updated•27 days ago
|
Comment 27•27 days ago
|
||
This issue was reproduced in Nightly v161.0a1 from 2026-10-30 and Beta v160.0b4 in Windows 10, 11 MacOS 14 ARM and Ubuntu 24.
I can confirm this fix in Nightly v161.0a1 from 2026-11-02 in Windows 10, 11, MacOS 14 ARM and Ubuntu 24.
This issue still occurs in the latest released beta build so I will use a Treeherder build from here to verify the fix in branch 160.
The issue is also verified in Beta v160.0b5 20261102154130 in Window 10, 11, MacOS 14 ARM and Ubuntu 24.
Waiting for possible future uplifts to release and ESR branches.
Updated•27 days ago
|
Updated•27 days ago
|
Comment 28•27 days ago
|
||
| uplift | ||
Comment 29•26 days ago
|
||
Clearing the uplift needinfo request since this bug is closed and no Firefox version is marked as affected anymore.
For more information, please visit BugBot documentation.
Comment 30•25 days ago
|
||
Verified the fix for ESR153 as well. Tests were performed on macOS 26, Ubuntu 26.04 and Windows 11.
Description
•