jezebel.com - CSS won't load in background
URL: https://jezebel.com/msu-president-resigns-after-saying-larry-nassars-abuse-1831835224
Browser / Version: Firefox 65.0 Operating System: Mac OS X 10.14 Tested Another Browser: Yes
Problem type: Design is broken Description: CSS won't load in background Steps to Reproduce: This is related to https://webcompat.com/issues/22775, but I've done some more digging to determine what's actually going on in Firefox vs. Chrome.
It seems that when any page that's part of Kinja (Jezebel, Gizmodo, Lifehacker, The Onion, etc.) is loaded in the background (if you open it in a new tab that doesn't have focus), the page fails to load two stylesheets:
https://x.kinja-static.com/assets/stylesheets/insets-9964184ff506be8345c08172c8e374a4.css https://x.kinja-static.com/assets/stylesheets/blog-e68418eb4271c86e8d946bef9751e16b.css
The alphanumeric of the CSS changes between Kinja sites, but it only seems to load any css if the site is then reloaded in the foreground.
In Chrome, the css is loaded in the background with no issue.
This occurs sporadically on some other sites, including Fast Company and Reddit -- a CSS script won't load if the page is opened in the background.
Browser Configuration
- None
From webcompat.com with ❤️
Cool @shapiro125 Thanks!
Moving to Needsdiagnosis.
So I'm trying to reproduce this and for now, I'm not sure what is broken, as I get the same rendering in firefox and chrome.
Comparing chrome canary and Firefox Nightly here.
@shapiro125 could you tell us what visual differences you observe.
- Firefox Nightly 66.0a1 (2019-01-20) (64-bit)
- Chrome Canary Version 73.0.3678.0 (Build officiel) canary (64 bits)
for me.
Yup -- the top of the page is fine, it's super evident on the bottom, where the related and content sections are messed up. Again, this is only occurring if the tab is not in the foreground when the page is reloaded. If the tab is active, it loads just fine.
Firefox:

Chrome

hmm I can't reproduce. even putting the tab in the background and right click reload on the tab in the background.
@softvision-sergiulogigan were you able to reproduce?
Thanks, @karlcow -- i've been trying to reproduce it and it doesn't happen every time -- which is the odd part. a few reloads in the background and it then gets the issue.
I'm afraid that I also can't reproduce the error on today's nightly, or 64.0.2. For the record, these are the steps I tried:
- load https://jezebel.com/msu-president-resigns-after-saying-larry-nassars-abuse-1831835224 in a new tab.
- open a new tab and change to it.
- ctrl+shift+delete all history/cache/cookies/etc.
- right-tab the jezebel.com tab and choose reload.
- after the progress indicator shows the page has loaded, change to the jezebel.com tab.
I don't see any broken downloads in the network tab in the devtools, nor anything interesting in the console log (just tons of content-blocking notices, which go away when I disable blocking on the site and try again).
I tried reloading a few more times as well, either with or without switching to the tab between reloads, but it's never reproducing any problem for me.
I also tried pressing ctrl-r on the tab and quickly switching to another tab (then back after the page loaded), just in case it was something like that. No luck reproducing that way, either :(
@shapiro125, is it possible that addons or other customizations might be the culprit here? Do you mind trying with a fresh Firefox profile to rule those things out? If it still happens with a fresh profile, could you perhaps try on the nightly Firefox builds to see if maybe there was a problem that has been fixed since the version you're running?
@karlcow informs me that @shapiro125 has mentioned that uBlock was the culprit here, so there's not much we can do here in terms of web-compat.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue at https://webcompat.com/issues/new if you are experiencing a similar problem.