store.google.com - When clicking a link of navigation menus on that page, it takes a very long time for the linked page to load.
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr153 | --- | verified |
| firefox160 | --- | verified |
| firefox161 | --- | verified |
| firefox162 | --- | verified |
People
(Reporter: alice0775, Assigned: emilio)
References
Details
(Keywords: nightly-community, perf)
Attachments
(6 external files)
After Bug 2087354 was fixed, There is an issue where the linked page takes a very long time to load.
Steps to reproduce:
- Open https://store.google.com/us/?hl=en-US
- Clicking on link(such as header menu) in the page
Phones Fi Wireles Watches & Trackers ...
Actual results:
The link could not be loaded.
For an unusually long time, the screen turns white, and a progress bar at the top of the page remains animated.
Interestingly,
ctrl+click the link(such as header menu), the page loads immediately.
And when accessed directly from urlbar with the following url, the page loads immediately.
https://store.google.com/us/category/phones?hl=en-US
https://store.google.com/us/magazine/google_fi?hl=en-US
https://store.google.com/us/category/watches_trackers?hl=en-US
Expected results:
The link could should be loaded.
| Reporter | ||
Comment 1•24 days ago
|
||
Profiler: https://share.firefox.dev/4ijOwGc
Comment 2•23 days ago
|
||
Updated•23 days ago
|
Comment 3•23 days ago
|
||
Two issues that, upon directly addressing, seems to resolve the loading issue.
- DOM mutation handling: Right, this wasn't handled from Bug 2087354. This change likely fixes Bug 2086739.
- For selectors inside :has, we seem to queue multiple the same dependency?
Timing is bad for me (About to go on PTO), so above will need double-checking in the WIP patch.
| Assignee | ||
Comment 4•22 days ago
|
||
They are injecting a bunch of media queries with selectors like:
:root:has(
[data-request-navbar-position="overlap"]:not([style*="display: none"]):not([style*="display: none"] *):not([style*="display:none"]):not(
[style*="display:none"] *
)
)
.r1micc {
top: 72px;
opacity: 0;
height: 0;
transition: opacity 0.3s ease-in-out;
}
Wtf.
Updated•22 days ago
|
| Assignee | ||
Comment 5•22 days ago
|
||
This is the kind of dedup the original version of the patch was trying to do
but at what I think is a better place (that also doesn't depend on rule
placement), and without the correctness error that it introduces.
The WPT covers that correctness issue.
| Assignee | ||
Comment 6•22 days ago
|
||
Comment 7•21 days ago
|
||
The patches here change :has() invalidation in servo/components/style, which servo/moz.build maps to CSS Parsing and Computation, so moving it there (like bug 2087354).
(AI-assisted triage, with review.)
Comment 9•19 days ago
|
||
| bugherder | ||
| Reporter | ||
Updated•19 days ago
|
Comment 10•19 days ago
|
||
The patch landed in nightly and beta is affected, along with ESR.
:dshin, please make an uplift decision for beta and ESR:
- For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set
status-firefox161towontfixif the fix can wait for the next release. - 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: D338585, D338722, D338723.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•19 days ago
|
Comment 11•18 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: High profile website perf issue.
- 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 fix.
- String changes made/needed?: none
- Is Android affected?: yes
| Assignee | ||
Comment 12•18 days ago
|
||
This is the kind of dedup the original version of the patch was trying
to do but at what I think is a better place (that also doesn't depend on
rule placement), and without the correctness error that it introduced.
The WPT covers that correctness issue (passes both with and without the
patch).
Original Revision: https://phabricator.services.mozilla.com/D338722
Comment 13•18 days ago
|
||
firefox-esr153 Uplift Approval Request
- User impact if declined/Reason for urgency: High profile website perf issue.
- 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 fix.
- String changes made/needed?: none
- Is Android affected?: yes
| Assignee | ||
Comment 14•18 days ago
|
||
This is the kind of dedup the original version of the patch was trying
to do but at what I think is a better place (that also doesn't depend on
rule placement), and without the correctness error that it introduced.
The WPT covers that correctness issue (passes both with and without the
patch).
Original Revision: https://phabricator.services.mozilla.com/D338722
Comment 15•18 days ago
|
||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/64852 for changes under testing/web-platform/tests
| Assignee | ||
Updated•18 days ago
|
Comment 17•18 days ago
|
||
@emilio, could you consider adding a release uplift request? We could take in the planned Fx160 dot release
| Assignee | ||
Updated•18 days ago
|
Comment 18•18 days ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: see above
- 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 fix
- String changes made/needed?: none
- Is Android affected?: yes
| Assignee | ||
Comment 19•18 days ago
|
||
This is the kind of dedup the original version of the patch was trying
to do but at what I think is a better place (that also doesn't depend on
rule placement), and without the correctness error that it introduced.
The WPT covers that correctness issue (passes both with and without the
patch).
Original Revision: https://phabricator.services.mozilla.com/D338722
Upstream PR merged by moz-wptsync-bot
Updated•18 days ago
|
Updated•18 days ago
|
Comment 21•18 days ago
|
||
| uplift | ||
Comment 22•18 days ago
|
||
| bugherder | ||
Updated•16 days ago
|
Comment 23•16 days ago
|
||
I was able to reproduce the issue on Win11x64 using FF build 161.0a1(20261031202918) and steps from description.
Verified as fixed on Win11x64 /Mac 15.5 using Firefox build 162.0a1. Waiting for next Beta to check on 161.0b2.
Comment 24•13 days ago
|
||
Verified as fixed on Win11x64 /Mac 15.5 / Ubuntu 24.04 using Firefox build 161.0b1-build2(20261109153532)
Updated•12 days ago
|
Updated•12 days ago
|
Comment 25•12 days ago
|
||
| uplift | ||
Comment 26•11 days ago
|
||
Backed out changeset 4c9981a1d2c2 (Bug 2087787) from esr153 because it broke the build.
https://github.com/mozilla-firefox/firefox/commit/673a4a26662396ac79304e57f43f8fa228b5bd95
Claude analysis:
error[E0432]: unresolved imports
crate::FxHashMap,crate::FxHashSet
--> servo/components/style/invalidation/element/relative_selector.rs:30:13
30 | use crate::{FxHashMap, FxHashSet};
| ^^^^^^^^^ ^^^^^^^^^ noFxHashSetin the rootThe esr153 style crate root doesn't re-export FxHashMap/FxHashSet like main does, and this file already imports rustc_hash::FxHashMap. Importing both from rustc_hash should be enough to fix it (use rustc_hash::{FxHashMap, FxHashSet};).
Emilio, could you attach a rebased esr153 patch and confirm it builds?
Thanks
Comment 27•11 days ago
|
||
| uplift | ||
Updated•11 days ago
|
Updated•11 days ago
|
Comment 29•11 days ago
|
||
| uplift | ||
Updated•8 days ago
|
Comment 30•8 days ago
|
||
| uplift | ||
Updated•8 days ago
|
Comment 31•8 days ago
|
||
Verified as fixed on Win11x64/Mac 15.5 using FF build 160.0.1(20261116130455).
Comment 32•6 days ago
|
||
Verified as fixed on Win11x64/Mac 15.5 using FF build 153.8.0esr.
Description
•