2013年3月25日月曜日

Deploying XULRunner

https://developer.mozilla.org/en-US/docs/XULRunner/Deploying_XULRunner_1.8


Debugging a XULRunner Application
https://developer.mozilla.org/ja/docs/Debugging_a_XULRunner_Application

pref("browser.dom.window.dump.enabled", true)
dump("my text here\n");


function jsdump(str)
{
  Components.classes['@mozilla.org/consoleservice;1']
            .getService(Components.interfaces.nsIConsoleService)
            .logStringMessage(str);
}


xulrunner.exe /path/to/application.ini -jsconsole

xulrunner.exe /path/to/application.ini -console

0 件のコメント: