Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [atf-dev] How the ATF interacts with Mozilla browser?

Ross wrote:
>Thank you for your suggestion. But after reading the architecture of
Piggy Bank, I think it doesn't write the XPCOM in Java. It uses 
>LiveConnect to bridge the Java and JS in Firefox.
>Thank you all the same. BTW, the link that Pedemonte gave us bout java
in firefox extension is very helpful. 
Note that the page Javier pointed to was started by the developer of
PiggyBank at the MIT.


 
2007/9/13, Philippe Ombredanne <pombredanne@xxxxxxxxx>: 
Ross:
About writing XPCOM and Firefox extensions in Java, I recall effort at
the MIT in the piggybank/Simile project:
http://simile.mit.edu/wiki/Piggy_Bank 




--
Cheers
Philippe



-----Original Message-----
From: atf-dev-bounces@xxxxxxxxxxx [mailto:atf-dev-bounces@xxxxxxxxxxx]
On Behalf Of Yihao Zhang
Sent: Wednesday, September 12, 2007 6:34 PM
To: AJAX Toolkit Framework discussion
Subject: Re: [atf-dev] How the ATF interacts with Mozilla browser?


Hi:

Is it possible for us to write a XPCOM component in Java and register it
to Mozilla so that the Mozilla browser can use that XPCOM component?

If I cannot write a XPCOM component using Java and register it, could I
invoke the JVM of Mozilla in a separate process in order to let my Java
application communicate with that JVM in Mozilla?

Thank you in advance. 

Ross

 
2007/9/11, Javier Pedemonte <jhpedemonte@xxxxxxxxx>: 
On 9/9/07, Yihao Zhang <yihao.ross@xxxxxxxxx > wrote: 
So, I am wondering whether I can invoke or embed a actual Firefox
browser through JavaXPCOM using the ATF mechanism? 

No, Firefox is not embeddable.  In order to embed, you must use
XULRunner, which is what ATF uses.  XULRunner and Firefox share the same
rendering engine, so you shouldn't see any difference between the two
when rendering a web page. 
 


Besides that, I found the Mozilla browser is running in the SWT frame.
Is it possible that we discard the SWT package and let the browser run
in a Swing or AWT application? 

Currently, this is not supported.  Work on that is being handled here:
https://bugzilla.mozilla.org/show_bug.cgi?id=335696 


Javier Pedemonte
ATF Developer

 


_______________________________________________
atf-dev mailing list
atf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/atf-dev





_______________________________________________
atf-dev mailing list
atf-dev@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/atf-dev



Back to the top