using tabbrowser element in XUL application

Discuss building things with or for the Mozilla Platform.
Post Reply
ikarus76
Posts: 2
Joined: November 9th, 2015, 4:31 am

using tabbrowser element in XUL application

Post by ikarus76 »

Hi,
I'm trying to write my own XUL-Application. I used the mybrowser example at https://github.com/matthewkastor/XULRunner-Examples as a base.
If I click on a link that would open a new window, the application hides its windows, but the ff process is still running. BTW: I start the example with the firefox.exe on with the -app option.

So I tried to use the tabbrowser component (https://developer.mozilla.org/en-US/doc ... tabbrowser). But every function like 'loadOneTab' or 'loadURI' gives me a 'TypeError: browser.loadOneTab is not a function'.

Should the tabbrowser object work on own xul applications?

Thanks in advance and best regards,
Michael
Post Reply