Re: getCssRules() on nsIDOMCSSStyleSheet fail

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
[email protected] wrote:
>> You could try pushing an appropriate JSContext on the stack...
> 
> You mentioned this last time as well but I didn't dive into it. How do
> I construct a JSContext from Java XPCOM?

You don't.  And if you have to operate with only scriptable methods, you 
lose.... the current setup assumes that scriptable == javascript, and 
that if you're not JS then you're capable of calling native C++ code to 
do what you need to set up your security context correctly.

-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.