Closed
Bug 1428379
Opened 8 years ago
Closed 8 years ago
Opening private browsing window takes a long time on bad networks when using the Quantum theme
Categories
(Toolkit :: Add-ons Manager, enhancement)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
INVALID
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | affected |
People
(Reporter: valentin, Unassigned)
Details
I'm currently on a ADSL network that is quite bad - ping varies between 50ms and 8000ms, and every 30 seconds drops packets for a few seconds.
I noticed that when I open a new private browsing window, it takes a few seconds until something happens. During that time the new window is not painted. The UI is still responsive, but clearly we are waiting on some network events that take a long time.
I'll try to gather some logs while I can.
| Reporter | ||
Comment 1•8 years ago
|
||
I tracked it down to the Quantum Theme I had installed:
https://addons.mozilla.org/en-US/firefox/addon/quantum-launch/
If I turn it off, the PB window opens instantly, regardless of network RTT.
From what I can tell from the logs, this theme is trying to load this URL:
https://addons.cdn.mozilla.net/user-media/addons/886607/?1511381323 -> returns 403 for me.
While the simple workaround was to disable the theme, it would be good to try to ensure that extensions/themes can't cause this type of UI lag, as the user might think it's a Firefox bug.
Component: Networking → Theme
Product: Core → Firefox
Updated•8 years ago
|
Component: Theme → WebExtensions: Frontend
Product: Firefox → Toolkit
Summary: Opening private browsing window takes a long time on bad networks → Opening private browsing window takes a long time on bad networks when using the Quantum theme
Updated•8 years ago
|
Flags: needinfo?(aswan)
Comment 2•8 years ago
|
||
AMO is responding correctly here the URL is invalid, the proper URLs are: https://addons.cdn.mozilla.net/user-media/addons/886607/header.png?1511381323
The question of how you have that URL in your theme is one we can't quite follow yet.
However this is essentially how light weight themes work, there's a URL to the image and if it's not in the cache it's going to have to fetch it. The private browsing cache is different from the regular cache though.
This is how lightweight themes have worked for a long time, however we are replacing all lightweight themes with static WebExtension themes and the good news is that the new static WebExtension themes do not allow remote resources, so there's no need to fetch a URL from the server. Most of that work is happening on AMO and the tracking bug is: https://github.com/mozilla/addons/issues/501
Given that this will go away, I'm tempted to won't fix this bug, however if you want to keep digging into how that URL is being checked and maybe slowing things down...
Updated•8 years ago
|
Flags: needinfo?(aswan)
Comment 3•8 years ago
|
||
Oh that URL is from the footer URL, you can see it here:
https://versioncheck.addons.mozilla.org/en-US/themes/update-check/886607
footerURL "https://addons.cdn.mozilla.net/user-media/addons/886607/?1511381323"
Since that isn't even used anymore, just removing that from Firefox seems like an easy win for the short term until we've migrated over.
Component: WebExtensions: Frontend → Add-ons Manager
Comment 4•8 years ago
|
||
Filed https://github.com/mozilla/addons-server/issues/7281 for AMO, we'll fix it there. Marking as invalid, because its an AMO bug on github now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•