<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 'Segoe UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>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?</div><div><br></div><div>Thank you. </div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; MARGIN: 10px">
<div>Rest Regards,</div>
<div>Shanfeng Cheng</div><div>sfcheng@gmail.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div><br></div></blockquote>
</body></html>