Hi Michal,

you are me hero :D
It's amazing, this simple trick works.
Why deliveres xulrunner/swt this method?
Is this only a bug in the MozillaInterfaces.jar?
Xulrunner has the same version like the JAR and I'm wondering why
xulrunner deliveres the frames...

Martin

Michal Ceresna schrieb:
> On Monday 20 August 2007, Martin Burchard wrote:
> 
> Hello Christian,
> 
>>> How does getFrames fail and how are you calling it? What you showed
>>> previously in this thread doesn't call that function.
> The problem is that the field 'frames' is marked as non-script and
> therefore not generated in the Java interface:
> /**
>    * Accessor for the child windows in this window.
>    */
>   [noscript] readonly attribute nsIDOMWindowCollection  frames;
> 
> There is a related bug for this issue already posted for JavaXPCOM
> in bugzilla:
> https://bugzilla.mozilla.org/show_bug.cgi?id=340009
> 
> A temporary workaround is to manually add the method into the 
> nsIDOMWindow.java, compile and replace the original version
> in MozillaInterfaces.jar
> 
> best regards,
> Michal
> 
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to