This can be smoothly resolved in the mean time if Firefox is shipped with different defaults, namely to have xdg-open available as an option for all file types (which I believe is possible) and to have every file type which is not to be viewed internally instead opened using /usr/bin/xdg-open.
If possible, have xdg-open named "Default application" or some such in Firefox, so that something like the download method dialog says "Open with [default application]".
I don't know much about Firefox, and I've never looked at its source, but it shouldn't take much effort to implement and the result for end users would be terrific.
This can be smoothly resolved in the mean time if Firefox is shipped with different defaults, namely to have xdg-open available as an option for all file types (which I believe is possible) and to have every file type which is not to be viewed internally instead opened using /usr/bin/xdg-open.
If possible, have xdg-open named "Default application" or some such in Firefox, so that something like the download method dialog says "Open with [default application]".
I don't know much about Firefox, and I've never looked at its source, but it shouldn't take much effort to implement and the result for end users would be terrific.