Re: dispatchEvent on svg node in firefox

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.svg
Message-ID <[email protected]>
Volker Gersabeck wrote:
> well, in my case, with html it works.

I'd love to see the testcase.  It doesn't work over here, and code 
inspection says it shouldn't work.  If it works, it's a security bug.

> what I might add to the description of my problem: the xhtml  + svg is
> contained within an iFrame and the Javascript runs in the context of the
> outer file (the one that contains the iFrame). But i'm not sure, whether
> this makes my code privileged.

No.

> Btw: could you please write a sentence about
> what privileged code is, or just point me to a page with some explanations?
> That would be great.

Privileged code is either part of the browser user interface (e.g. an 
extension) or code that has been granted UniversalXPConnect privileges 
via enablePrivilege.  I'm pretty sure we have some documentation on the 
latter that's findable via Google, but I'd have to look for it.

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.