From cdb7cfeb352e67a16717d31607adc81ba2860277 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 7 Jul 2009 22:16:00 +1000 Subject: [PATCH] Remove 'online' definition from Browser. This is currently config specific. --- common/content/browser.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/common/content/browser.js b/common/content/browser.js index 1888109f..05b8f1eb 100644 --- a/common/content/browser.js +++ b/common/content/browser.js @@ -81,20 +81,6 @@ function Browser() //{{{ validator: Option.validateCompleter }); - options.add(["online"], - "Set the 'work offline' option", - "boolean", true, - { - setter: function (value) - { - const ioService = services.get("io"); - if (ioService.offline == value) - BrowserOffline.toggleOfflineStatus(); - return value; - }, - getter: function () !services.get("io").offline - }); - // only available in FF 3.5 services.add("privateBrowsing", "@mozilla.org/privatebrowsing;1", Ci.nsIPrivateBrowsingService); if (services.get("privateBrowsing"))