B2G/gecko/testing/peptest/peptest/extension/resource/mozmill/stdlib/securable-module.js
// defined in the global scope of a module.
defined in the global scope of a module.
defined in the global scope of a module .
function findSandboxForModule(module) {
       var path = this.fs.resolveModule(null, module);
       if (!path)
         throw new Error('Module "' + module + '" not found');
       if (!(path in this.sandboxes))
         this.require(module);
       if (!(path in this.sandboxes))
         throw new Error('Internal error: path not in sandboxes: ' +
                         path);
       return this.sandboxes[path];
     }
function findSandboxForModule ( module ) { var path = this . fs . resolveModule ( null , module ) ; if ( ! path ) throw new Error ( 'Module "' + module + '" not found' ) ; if ( ! ( path in this . sandboxes ) ) this . require ( module ) ; if ( ! ( path in this . sandboxes ) ) throw new Error ( 'Internal error: path not in sandboxes: ' + path ) ; return this . sandboxes [ path ] ; }
defined in the global scope of a module.
defined in the global scope of a module .