{"id":6,"date":"2004-06-18T13:00:11","date_gmt":"2004-06-18T20:00:11","guid":{"rendered":"\/?p=6"},"modified":"2004-06-18T13:00:11","modified_gmt":"2004-06-18T20:00:11","slug":"xulrunner","status":"publish","type":"post","link":"https:\/\/benjamin.smedbergs.us\/blog\/2004-06-18\/xulrunner\/","title":{"rendered":"XULrunner"},"content":{"rendered":"<p>Part of the mozilla2.0 project is providing generic support for running XUL applications. This has been known by various names, including the <a href=\"http:\/\/www.mozilla.org\/projects\/xul\/xre.html\">XRE<\/a> and the apprunner. The current way to run a XUL application is to run mozilla.exe -chrome &lt;url&gt;. However, this is a poor solution for several reasons:<\/p>\n<ol>\n<li>Apps have little\/no control over command-line param handling (the default handlers installed by the mozilla app are always active)<\/li>\n<li>Apps have little\/no control over window icons.<\/li>\n<li>Apps have to use the mozilla profile, and have odd or no control over remoting (xremote\/DDE\/appleevents)<\/li>\n<\/ol>\n<p>The solution to this is a dedicated program to run XUL apps. This &#8220;xulrunner&#8221; will run XUL applications, from the smallest one-file applications to the largest apps such as firefox and thunderbird.<\/p>\n<p>The first steps for the apprunner will be basic. However, I (and others) intend to work the xulrunner to a feature-complete solution within the next six months. There are several feature requirements for a full-featured xulrunner:<\/p>\n<ul>\n<li>Apps must be able to integrate with the OS\/shell in an cross-platform way. This includes file assocations and icons, &#8220;start menu&#8221; icons, and desktop\/quicklaunch icons.<\/li>\n<li>Native uninstall support on windows.<\/li>\n<li>App must have the option of running with shared preferences for all gecko-based apps.<\/li>\n<li>The app will have the option of running with it&#8217;s own app-specific profile, or no profile at all.<\/li>\n<li>Finally, I&#8217;m doing a simple GUI builder\/packager to automate the app-building process. As a first step this will <strong>not<\/strong> do GUI XUL editing, only &#8220;packaging\/building&#8221; using a wizard-like interface.<\/li>\n<\/ul>\n<p>As a second step, I would like to give the xulrunner the ability to run apps in a restricted security space. This might involve some major backend changes to how mozilla handles security contexts (more on this later).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Part of the mozilla2.0 project is providing generic support for running XUL applications. This has been known by various names, including the XRE and the apprunner. The current way to run a XUL application is to run mozilla.exe -chrome &lt;url&gt;. However, this is a poor solution for several reasons: Apps have little\/no control over command-line [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-mozilla"],"_links":{"self":[{"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}