modules/libjar/test/unit/head_ipc.js

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 /*
     2  * If we're running in e10s, determines whether we're in child directory or
     3  * not.
     4  */
     6 var inChild = false;
     7 var filePrefix = "";
     8 try {
     9   inChild = Components.classes["@mozilla.org/xre/runtime;1"].
    10               getService(Components.interfaces.nsIXULRuntime).processType
    11               != Components.interfaces.nsIXULRuntime.PROCESS_TYPE_DEFAULT;
    12   if (inChild) {
    13     // use "jar:remoteopenfile://" in child instead of "jar:file://"
    14     filePrefix = "remoteopen";
    15   }
    16 } 
    17 catch (e) { }

mercurial