js/xpconnect/tests/unit/test_want_components.js

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 function run_test() {
     2   var cu = Components.utils;
     3   var sb = cu.Sandbox(this, 
     4 	    {wantComponents: false});
     6   var rv = cu.evalInSandbox("this.Components", sb);
     7   do_check_eq(rv, undefined);
     8 }  

mercurial