From 04f55e932497cb43952715e4eab734d88d41e823 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 9 Jan 2011 16:15:52 -0500 Subject: Deal with fallout from 609832. --- common/components/commandline-handler.js | 4 ---- common/components/protocols.js | 4 ---- 2 files changed, 8 deletions(-) (limited to 'common/components') diff --git a/common/components/commandline-handler.js b/common/components/commandline-handler.js index b3ba875e..918d7bf3 100644 --- a/common/components/commandline-handler.js +++ b/common/components/commandline-handler.js @@ -9,8 +9,6 @@ function reportError(e) { Cu.reportError(e); } -try { - var global = this; var NAME = "command-line-handler"; var Cc = Components.classes; @@ -61,6 +59,4 @@ else var NSGetModule = XPCOMUtils.generateNSGetModule([CommandLineHandler]); var EXPORTED_SYMBOLS = ["NSGetFactory", "global"]; -} catch (e) { reportError(e) } - // vim: set fdm=marker sw=4 ts=4 et: diff --git a/common/components/protocols.js b/common/components/protocols.js index 4151275e..3d7cd5e7 100644 --- a/common/components/protocols.js +++ b/common/components/protocols.js @@ -9,8 +9,6 @@ function reportError(e) { Cu.reportError(e); } -try { - /* Adds support for data: URIs with chrome privileges * and fragment identifiers. * @@ -334,6 +332,4 @@ else var NSGetModule = XPCOMUtils.generateNSGetModule([ChromeData, Dactyl, Shim]); var EXPORTED_SYMBOLS = ["NSGetFactory", "global"]; -} catch (e) { reportError(e) } - // vim: set fdm=marker sw=4 ts=4 et: -- cgit v1.2.3