window.openDialog return value
sfcheng at gmail.com
sfcheng at gmail.com
Fri Oct 26 03:31:29 UTC 2018
I found that if I use an internal chrome:// url to open a dialog using window.openDialog, I can pass back return value using window.arguments[n].value="*****" just fine. However, if I use a file from the local file system, I wasn't able pass back return value. Writing to window.arguments[n].value doesn't work. I believe there is some security restriction here. Does anyway know which part of the C++ code is responsible for defining the security rules for different url sources?
Thank you.
Rest Regards,
Shanfeng Cheng
sfcheng at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20181025/3deeb4cb/attachment.html>
More information about the firefox-dev
mailing list