From: "Nickolay Ponomarev" <asquee...@gmail.com>
Date: Fri, 27 Oct 2006 19:59:17 +0400
Local: Fri, Oct 27 2006 11:59 am
Subject: Calling functions in content [was Re: (no subject)]
On 27 Oct 2006 12:48:05 -0000, harish kumar dixit
<harish_dix...@rediffmail.com> wrote:It is not recommended to do that, as it may cause security bugs.
XPCNativeWrapper is the security measure preventing you from accessing
JS inside content webpage (see
If you control the webpage, it's better to communicate to it via DOM events.
If you absolutely have to access unsafe JS objects, you can do that
var s = Components.utils.Sandbox(content);
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.