gecko/js/xpconnect/tests/unit/test_want_components.js

9 lines
198 B
JavaScript

function run_test() {
var cu = Components.utils;
var sb = cu.Sandbox(this,
{wantComponents: false});
var rv = cu.evalInSandbox("this.Components", sb);
do_check_eq(rv, undefined);
}