[Pkg-mozext-commits] [requestpolicy] 112/280: [refact] remove unused process-info.jsm

David Prévot taffit at moszumanska.debian.org
Sat May 2 20:30:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit a3a2d80601c205e64583c53ddd7f6921ff13912d
Author: Martin Kimmerle <dev at 256k.de>
Date:   Tue Jan 6 01:25:55 2015 +0100

    [refact] remove unused process-info.jsm
---
 src/content/lib/utils/process-info.jsm | 36 ----------------------------------
 1 file changed, 36 deletions(-)

diff --git a/src/content/lib/utils/process-info.jsm b/src/content/lib/utils/process-info.jsm
deleted file mode 100644
index 77d5f29..0000000
--- a/src/content/lib/utils/process-info.jsm
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * ***** BEGIN LICENSE BLOCK *****
- *
- * RequestPolicy - A Firefox extension for control over cross-site requests.
- * Copyright (c) 2008-2012 Justin Samuel
- * Copyright (c) 2014-2015 Martin Kimmerle
- *
- * This program is free software: you can redistribute it and/or modify it under
- * the terms of the GNU General Public License as published by the Free Software
- * Foundation, either version 3 of the License, or (at your option) any later
- * version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * ***** END LICENSE BLOCK *****
- */
-
-const Ci = Components.interfaces;
-const Cc = Components.classes;
-const Cu = Components.utils;
-
-let EXPORTED_SYMBOLS = ["xulRuntime", "processType", "isMainProcess"];
-
-let xulRuntime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime);
-
-let processType = xulRuntime.processType;
-
-// The "default" type means that we're on the main process, the chrome process.
-// This is relevant for multiprocessor firefox aka Electrolysis aka e10s.
-let isMainProcess = processType === xulRuntime.PROCESS_TYPE_DEFAULT;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list