XULRunner tips

  • Revision slug: XULRunner_tips
  • Revision title: XULRunner tips
  • Revision id: 109099
  • Created:
  • Creator: Nickolay
  • Is current revision? No
  • Comment move from wikimo

Revision Content

XULRunner Frequently Asked Questions. Work in progress.

Installing developer extensions

To install extensions, you need to enable EM in <link article on application.ini>.

Venkman

  • Need a custom build or a compatible extension <is there downloadable domi for 1.8.0.1?>
  • Need to edit compatibility in install.rdf to match the id and versions in application.ini
  • anything else?

DOM Inspector

Same as venkman

Component Viewer

Need custom build, first of all. What else?

Extension Developer's Extension

fix install.rdf

Branding

Branding is required to use inspector and some features of XULRunner.

In ~.mozconfig:

ac_add_options --enable-branding=« branding location »

What is the format of a branding? Could'nt find it anywhere!

Can i have JavaScript errors / warnings directed to stdout instead of the jsconsole?

See #306263

This doesn't do anything (1.8.0.1):

xulrunner -app application.ini -console

This neither (1.8.0.1) in defaults/preferences/«application name».js:

pref("javascript.options.strict", true);
pref("javascript.options.showInConsole", true);
pref("browser.dom.window.dump.enabled", true);

Revision Source

<p>
XULRunner Frequently Asked Questions. Work in progress.
</p>
<h2 name="Installing_developer_extensions"> Installing developer extensions </h2>
<p>To install extensions, you need to enable EM in &lt;link article on application.ini&gt;.
</p>
<h3 name="Venkman"> Venkman </h3>
<ul><li>Need a custom build or a compatible extension &lt;is there downloadable domi for 1.8.0.1?&gt;
</li><li>Need to edit compatibility in <i>install.rdf</i> to match the id and versions in application.ini
</li><li>anything else?
</li></ul>
<h3 name="DOM_Inspector"> DOM Inspector </h3>
<p>Same as venkman
</p>
<h3 name="Component_Viewer"> Component Viewer </h3>
<p>Need custom build, first of all. What else?
</p>
<h3 name="Extension_Developer.27s_Extension"> Extension Developer's Extension </h3>
<p>fix install.rdf
</p>
<h2 name="Branding"> Branding  </h2>
<p>Branding is required to use inspector and some features of XULRunner.
</p><p>In <i>~.mozconfig</i>:
</p>
<pre class="eval">ac_add_options --enable-branding=« branding location »
</pre>
<p>What is the format of a branding? Could'nt find it anywhere!
</p>
<h2 name="Can_i_have_JavaScript_errors_.2F_warnings_directed_to_stdout_instead_of_the_jsconsole.3F"> Can i have JavaScript errors / warnings directed to stdout instead of the jsconsole? </h2>
<p>See <a class="external" href="https://bugzilla.mozilla.org/show_bug.cgi?id=306263">#306263</a>
</p><p>This doesn't do anything (1.8.0.1):
</p>
<pre class="eval">xulrunner -app application.ini -console
</pre>
<p>This neither (1.8.0.1) in <i>defaults/preferences/«application name».js</i>:
</p>
<pre class="eval">pref("javascript.options.strict", true);
pref("javascript.options.showInConsole", true);
pref("browser.dom.window.dump.enabled", true);
</pre>
Revert to this revision