Fabio Serra wrote:
The strange thing is that if I try to open the file with a simple
window.location = "file://" + filePath in the open/save dialog window
the default application is correctly selected. So Firefox somewhere know
how can handle the file.

Strange, that uses the exact same mechanism... What if you remove the mi.preferredAction setting line?

--
All the world's a stage,
And all the men and women merely players:
They have their exits and their entrances;
And one man in his time plays many parts, [...]     --W. Shakespeare
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to