With great surprise I found out that FF does not support window.showSaveFilePicker.
What could I use in FF to allow saving a file from the browser programmatically?
Maybe can someone explain what reasons has FF for not supporting this feature?
Assuming you're working with blobs under ~2GB you can always use a classic:
async function downloadBlob(inputblob) {
const downloadelem = document.createElement("a");
const url = URL.createObjectURL(inputblob);
document.body.appendChild(downloadelem);
downloadelem.src = url;
downloadelem.click();
downloadelem.remove();
window.URL.revokeObjectURL(url);
}
downloadBlob(yourblob);
Answering your question regarding why Firefox doesn't support it, Mozilla doesn't believe that the File System Access specification, which this endpoint is a part of, is a good addition to the web. You can read more here.