Hi Pavel,
I just realized many of my problems when experimenting with seasideXUL last week were caused by my assumption that an application should run identically from Firefox and xulrunner... Using XULLauncher as example: When I start obseasidexul.image, and try to access it from Firefox 3 (or 2, same behaviour), and click on tools->browser, the browser is not launched, and in the error console I get: operation.getAttribute is not a funtion (line 233 of XULLuncher). When run from xulrunner or firefox -app application.ini, everything works. "operation.getAttribute" is in the XULScriptLibrary. I will switch all experiments to xulrunner, but have a question: To make (for example) XULLauncher available to firefox, how would I install it to firefox? (which I assume would make the function available) Thanks Milan _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Milan,
remotre XUL applications (in plain Firefox) have many security restrictions (they cannot open new windows, use rich editors, have some clipboard restrictions etc.). That's why OBSeasideXUL must be started in XULRunner with special application configuration that avoids this limitations. You can run XULRunner applications in Firefox3 instead of XULRunner but you must use the startup argument -app with path to the application configuration *.ini file. It doesn't work in Firefox2. Cheers, -- Pavel On Sun, Jul 6, 2008 at 2:45 PM, Milan Zimmermann <[hidden email]> wrote: Hi Pavel, _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Pavel,
Thanks - There are also a few things that work differently when run from firefox3 directly (as opposed to using firefox3 -app) that does not appear to be security but I have to experiment with it more before asking about it. Thanks and later, Milan On 2008 July 8, Pavel Krivanek wrote: > Hi Milan, > > remotre XUL applications (in plain Firefox) have many security restrictions > (they cannot open new windows, use rich editors, have some clipboard > restrictions etc.). That's why OBSeasideXUL must be started in XULRunner > with special application configuration that avoids this limitations. > You can run XULRunner applications in Firefox3 instead of XULRunner but you > must use the startup argument -app with path to the application > configuration *.ini file. It doesn't work in Firefox2. > > Cheers, > -- Pavel > > On Sun, Jul 6, 2008 at 2:45 PM, Milan Zimmermann < > > [hidden email]> wrote: > > Hi Pavel, > > > > I just realized many of my problems when experimenting with seasideXUL > > last week were caused by my assumption that an application should run > > identically > > from Firefox and xulrunner... > > > > Using XULLauncher as example: When I start obseasidexul.image, and try to > > access it from Firefox 3 (or 2, same behaviour), and click on > > tools->browser, > > the browser is not launched, and in the error console I get: > > > > operation.getAttribute is not a funtion (line 233 of XULLuncher). > > > > When run from xulrunner or firefox -app application.ini, everything > > works. > > > > "operation.getAttribute" is in the XULScriptLibrary. I will switch all > > experiments to xulrunner, but have a question: To make (for example) > > XULLauncher available to firefox, how would I install it to firefox? > > (which I > > assume would make the function available) > > > > Thanks Milan > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |