summaryrefslogtreecommitdiff
path: root/common/modules/services.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-09-05 08:46:31 -0400
committerKris Maglione <maglione.k@gmail.com>2011-09-05 08:46:31 -0400
commita5aafe63d903bc6243b31a542ef8dc2dc24c7f9c (patch)
treed05e815348c7e1378a30abc80284c82be188a7da /common/modules/services.jsm
parentaa788251334e2dfd2b29aefd60b30a64256b79e2 (diff)
downloadpentadactyl-a5aafe63d903bc6243b31a542ef8dc2dc24c7f9c.tar.gz
Fix REPL with foreign window contexts. Other general cleanup.
Diffstat (limited to 'common/modules/services.jsm')
-rw-r--r--common/modules/services.jsm3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/modules/services.jsm b/common/modules/services.jsm
index 6072d4d0..00ed5e8e 100644
--- a/common/modules/services.jsm
+++ b/common/modules/services.jsm
@@ -37,6 +37,7 @@ var Services = Module("Services", {
this.add("downloadManager", "@mozilla.org/download-manager;1", "nsIDownloadManager");
this.add("environment", "@mozilla.org/process/environment;1", "nsIEnvironment");
this.add("extensionManager", "@mozilla.org/extensions/manager;1", "nsIExtensionManager");
+ this.add("externalApp", "@mozilla.org/uriloader/external-helper-app-service;1", "nsPIExternalAppLauncher")
this.add("externalProtocol", "@mozilla.org/uriloader/external-protocol-service;1", "nsIExternalProtocolService");
this.add("favicon", "@mozilla.org/browser/favicon-service;1", "nsIFaviconService");
this.add("file:", "@mozilla.org/network/protocol;1?name=file", "nsIFileProtocolHandler");
@@ -72,8 +73,10 @@ var Services = Module("Services", {
this.addClass("CharsetConv", "@mozilla.org/intl/scriptableunicodeconverter", "nsIScriptableUnicodeConverter", "charset");
this.addClass("CharsetStream","@mozilla.org/intl/converter-input-stream;1", ["nsIConverterInputStream",
"nsIUnicharLineInputStream"], "init");
+ this.addClass("ConvOutStream","@mozilla.org/intl/converter-output-stream;1", "nsIConverterOutputStream", "init", false);
this.addClass("File", "@mozilla.org/file/local;1", "nsILocalFile");
this.addClass("FileInStream", "@mozilla.org/network/file-input-stream;1", "nsIFileInputStream", "init", false);
+ this.addClass("FileOutStream","@mozilla.org/network/file-output-stream;1", "nsIFileOutputStream", "init", false);
this.addClass("Find", "@mozilla.org/embedcomp/rangefind;1", "nsIFind");
this.addClass("HtmlConverter","@mozilla.org/widget/htmlformatconverter;1", "nsIFormatConverter");
this.addClass("HtmlEncoder", "@mozilla.org/layout/htmlCopyEncoder;1", "nsIDocumentEncoder");