Hello

I can't download the pdf of the digital certificate COVID19 on Firefox Preview. It works on Firefox Windows.
The PDF is generated on the fly. I think that GeckoView can't handle that properly right now, whereas Gecko can.
Does not seem to be the blob: issue. Attached are the headers that desktop sees.

On the contrary, I think it is the blob issue:

https://github.com/webcompat/web-bugs/issues/51214#issuecomment-609957604
From https://media.interieur.gouv.fr/certificate.js
$('#form-profile').addEventListener('submit', async event => {
event.preventDefault()
saveProfile()
const reasons = getAndSaveReasons()
const pdfBlob = await generatePdf(getProfile(), reasons)
downloadBlob(pdfBlob, 'attestation.pdf')
snackbar.classList.remove('d-none')
setTimeout(() => snackbar.classList.add('show'), 100)
setTimeout(function () {
snackbar.classList.remove('show')
setTimeout(() => snackbar.classList.add('d-none'), 500)
}, 6000)
})
function downloadBlob (blob, fileName) {
const link = document.createElement('a')
var url = URL.createObjectURL(blob)
link.href = url
link.download = fileName
document.body.appendChild(link)
link.click()
}
@kbrosnan is there a link to the blob issue?
Closing as a dupe of mozilla-mobile/android-components/issues/1159
Now we have support for blob URLs. QA please help us to verify if this website is working as expected.
Hi all,
I tested today and confirm it works now 😃
Hi, verified as fixed on the latest Nightly Build #200518 from 5/18 using the following devices:
• Google Pixel 3a (Android 10)
• Huawei Mate 20 Lite (Android 9)
• OnePlus A3 (Android 6.0.1)
► Video

It is correcty fixed in the nightly build, but generate a browser crash with the release version :
it will be fixed when the release build gets the new AC version.