Closed Bug 1480710 Opened 3 years ago Closed 2 years ago - Build UA override


(Web Compatibility :: Interventions, enhancement)

Not set


(Not tracked)



(Reporter: denschub, Assigned: denschub)



(Whiteboard: [sitepatch-built])


(1 file)

As per, we do not receive CSS and JS files if we access imgur in Fennec with a Fennec User Agent. If we spoof as Chrome, we receive the correct files, and everything seems to be working fine, so let's create an override here.
Attachment #8997391 - Flags: review?(twisniewski)
Attachment #8997391 - Flags: review?(twisniewski) → review+
Blocks: 1338586
Hi, confirm this issue with LG G4 (Android 5.1), Sony Xperia Z5 Premium (Android 6.0.1) and Nokia 6 (Android 7.1.1) used latest version of WebCompat GoFaster add-on (2.0.1) on Nightly 63.0a1 (2018-08-16). Dennis, can you watch at this when you have some time? Thanks.
Flags: needinfo?(dschubert)
This is weird. I can confirm that sometimes, imgur is still broken, even with GoFaster enabled. I tested with a JS UA spoof, and got the same results. It works *sometimes*, but not reliably. Will have to investigate more, but sadly, I ran out of time before leaving for this week...

I talked to Stefan, and we agreed that this should not block the release. We do not break anything, we only "fail to fix something", so that's not as bad. I will, however, work with top priority on this on Monday, so keeping the ni? alive.
I can confirm this issue on the actual version of Beta (63.0b9). 
Device: Samsung Galaxy S8 (Android 8.0.0)
OS: Unspecified → Android
After additional investigation on this issue, I found that the page received correctly the information and show the main page for a short moment and after that, the issue appears.
Devices: Samsung Galaxy Tab S3 (Android 8.0), Huawei MediaPad M2 (Android 5.1.1) and Google Pixel (Android 9).
Hardware: Unspecified → ARM
This issue will be fixed automatically by landing bug 1451484. WebExtensions also apply their UA overrides when loading subresources, and that's the issue here.
Depends on: 1451484
Flags: needinfo?(dschubert)
I have confirmed that this issue is resolved with bug 1451484 in todays Fennec Nightly, as the WebExtension port applies UA overrides on subressources as well, which fixes imgur in a reliable way.
Closed: 2 years ago
Resolution: --- → FIXED
Verified as fixed on the latest version of Nightly 65.0a1 (2018-10-24) with Google Pixel (Android 9), OnePlus 5T (Android 8.1.0) and LG G4 (Android 6.0).
Whiteboard: [sitepatch-built]
You need to log in before you can comment on or make changes to this bug.