js/xpconnect/tests/unit/test_bug867486.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:2cc9b9823765
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 const Cu = Components.utils;
6
7 function run_test() {
8 var sb = new Cu.Sandbox('http://www.example.com', { wantComponents: true } );
9 do_check_false(Cu.evalInSandbox('"Components" in this', sb));
10 }

mercurial