On Saturday, February 23, 2013 3:47:01 AM UTC+8, Craig McDaniel wrote:
> I work on a Xul application is primarily a GWT (Google Web Toolkit (html+js)) app loaded via chrome:// url. However, at certain points our GWT app sends the user to an http:// url. We would like to be able to support file downloads from certain non-chrome sites, but according to the documentation here (
https://developer.mozilla.org/en-US/docs/XUL/Tutorial/Open_and_Save_Dialogs ), the file picker only works from chrome URLs. Is there a way to bypass this restriction for certain http hosts?
It allows triggering events in chrome from html.