Open NotWoods opened 5 years ago
Agi says he can reproduce this bug in Fenix, but it works in Fennec 68. So this is either a regression in Gecko 69 or 70 or Send is doing something different for Gecko >= 69
Send started doing something different for Gecko >= 69 to try and fix the issue (the whitelist mentioned in the bug). Previously the code was the same, as far as I know. It's probably a regression.
Reproduced the same problem in Chrome on a Pixel 2, and on a Samsung Galaxy.
Worked around the issue by changing settings to request desktop site.
Originally filed as mozilla-mobile/fenix#3336.
Steps to reproduce
Expected behavior
Fenix downloads the file properly.
Actual behavior
Fenix downloads a file with the correct name, but the file is a short text file containing
Unauthorized
.Firefox Preview currently performs downloads in two steps. Gecko find out about the download, then our Android Components library fetches the resource. This behaviour doesn't work properly with Send.
This issue has previously been investigated, and currently Send whitelists Firefox Preview in the Service Worker and treats it similar to Safari. However the issue is still occuring in Firefox Preview.
I'd recommend the team try using the Android emulator and install the latest APK from Fenix releases to see this happen. I can help with setting up the emulator.