Questions tagged [xulrunner]

XULRunner is Mozilla's runtime environment meant to run cross-platform applications using the same technologies (XUL, XPCOM, JavaScript, CSS) as the Firefox browser.

XULRunner is Mozilla's runtime environment meant to run cross-platform applications using the same technologies (XUL, XPCOM, JavaScript, CSS) as the Firefox browser. The application's user interface is developed in XUL (XML User Interface Language) that can be styled with CSS. Dynamic actions are added via JavaScript that can use XPCOM to access a number of low-level components providing among other things file access and networking.

XULRunner runtimes ceased to be built or packaged in September of 2015, and the XULRunner source was removed from the Mozilla central repository on February, 10 2016:

The Mozilla project no longer sees XULRunner as a priority project. It's not core to advancing the open web or any of our current or planned products.

We're going to remove XULRunner code from mozilla-central. If somebody wants to own/maintain it, that will have to be done via an external repository.

If you are a consumer of the XULRunner stub this means that you will no longer have a Mozilla produced version after 41.0. For folks in this group, you have two options:

  • Change your app to run through the stub provided by Firefox. Many apps will continue to work as before by simply replacing "xulrunner.exe application" with "firefox -app application.ini".

  • Build XULRunner yourself.

SDK hosting has moved as well:

XULRunner SDKs can now be downloaded from: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-aurora/

Look for filenames like this:

Linux 32-bit firefox-<version>.en-US.linux-i686.sdk.tar.bz2

Linux 64-bit firefox-<version>.en-US.linux-x86_64.sdk.tar.bz2

Mac 32-bit firefox-<version>.en-US.mac-i386.sdk.tar.bz2

Mac 64-bit firefox-<version>.en-US.mac-x86_64.sdk.tar.bz2

Windows 32-bit firefox-<version>.en-US.win32.sdk.zip

Windows 64-bit firefox-<version>.en-US.win64.sdk.zip

where <version> is the current Firefox version.

References

385 questions
64
votes
8 answers

Detect failure to load contents of an iframe

I can detect when the content of an iframe has loaded using the load event. Unfortunately, for my purposes, there are two problems with this: If there is an error loading the page (404/500, etc), the load event is never fired. If some images or…
Daniel Cassidy
  • 24,676
  • 5
  • 41
  • 54
27
votes
2 answers

Opening PDF file in SWT Browser - XulRunner default viewer

Situation: My RCP application uses XulRunner System has two installed PDF viewers (Acrobat, Gimp) Firefox has Gimp set as default viewer I want to make my SWT Browser composite in RCP application ignore default viewer and use Acrobat if it is…
Jan Hruby
  • 1,477
  • 1
  • 13
  • 26
19
votes
3 answers

Does Javascript have get/set keywords like C#?

I'm working with XULRunner and came across the following pattern in a code sample: var StrangeSample = { backingStore : "", get foo() { return this.backingStore + " "; }, set foo(val) { this.backingStore = val; }, func: function(someParam) {…
chinchilla
  • 331
  • 2
  • 6
17
votes
1 answer

Aptana internal web browser error, Ubuntu 12.04

I am running elementary 0.2 (Ubuntu 12.04 but with a different desktop environment) and I installed Aptana studio. Everything is fine aprt from I can't get the internal web browser to work. When I open the Aptana Studio start page I get the an error…
Connel
  • 1,844
  • 4
  • 23
  • 36
15
votes
4 answers

Is there an xhtml.xsd equivalent available for HTML5?

I am developing an appplication based on Mozilla XULRunner. I am using the xhmtl1-strict.xsd provided by the W3C to fetch the attribute. Now the requirement came to add the
Abhishek Choudhary
  • 8,255
  • 19
  • 69
  • 128
14
votes
5 answers

is XULRUNNER suitable as a replacement for other C++ desktop applications frameworks such as QT?

XulRunner/Gecko seems to be really interesting for developing GUI-intensive applications (by using widely used technologies such as HTML / CSS / SVG / XUL / Javascript). But the underlaying C++ APIS (XPCOM, NECKO, ...) looks so old and complex.…
Gabriel Cuvillier
  • 3,617
  • 1
  • 28
  • 35
10
votes
3 answers

How can I get the window object that an HTML node belongs to using JavaScript?

Because of several iframes, XUL browser elements, and so forth, I have a number of window objects in my XULRunner application. I'm looking for the best way to find the window object that a specified node belongs to using JavaScript. So, to be more…
Joel Anair
  • 13,832
  • 3
  • 31
  • 36
9
votes
3 answers

How to know if the network is (dis)connected?

How can I know, in Xul, if the network is (dis)connected? --update Using: function observe(aSubject, aTopic, aState) { if (aTopic == "network:offline-status-changed") { write("STATUS CHANGED!"); } } var os =…
The Student
  • 27,520
  • 68
  • 161
  • 264
9
votes
3 answers

Beginning XUL & XPCOM development with XULRunner?

I am planning to design an application XUL & XPCOM for proprietary system. So i have decided to use C/C++ but how can I start the development as a beginner in this field I cannot find a good guide to start around. It will be good if you can give…
yrcjaya
  • 413
  • 4
  • 8
9
votes
4 answers

Simple XULRunner app to load a web page

I have not ever used XUL and it seems quite mysterious. What does it take to create a simple XUL application that simply loads a webpage on a Linux environment?. No need for window decorations, history, back or forward buttons. Just the simplest…
Chimera
  • 5,884
  • 7
  • 49
  • 81
8
votes
4 answers

RCP with SWT.Browser and XULRunner

I'm developing an RCP application (Windows) with SWT.Browser (SWT.MOZILLA): Browser browser = new Browser(parent, SWT.MOZILLA); It's working fine with the old XULRunner 3.6.23 and the installation described here: xulrunner.exe --register-global I…
TimPietrusky
  • 778
  • 1
  • 16
  • 27
8
votes
2 answers

Finding the difference in rows in query using SQLite

I have an SQLite table that contains prices for various products. It's a snapshot table, so it contains the prices on 5 minute intervals. I would like to write a query that would return the difference in price from one row to the next on each…
robby
8
votes
2 answers

How to install XULRunner for Eclipse

I'm using the SWT browser widget to develop an application in Java with Eclipse ("Kepler"). Now I want to use the Mozilla API and downloaded the latest sdk from XULRunner from this site:…
Nighty42
  • 420
  • 1
  • 6
  • 20
7
votes
2 answers

how to package a standalone xulrunner application

I was wondering what I need to do to create an executable (.exe) file that will run my XUL application? I'm trying to create an application using Mozilla's XUL format.
escapebattle
  • 73
  • 1
  • 3
7
votes
2 answers

Very slow launch time with XULRunner caused by profiles

I have an application that generates temporary XULRunner apps by building a skeleton application folder structure, and then launching it with: xulrunner -app /path/to/temporary/application.ini This all works, but it takes an unacceptable amount of…
Eric Strom
  • 39,821
  • 2
  • 80
  • 152
1
2 3
25 26