js/xpconnect/tests/unit/test_bug849730.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:88d07ae4712f
1 const Cu = Components.utils;
2
3 function run_test() {
4 var sb = new Cu.Sandbox('http://www.example.com');
5 sb.arr = [3, 4];
6 do_check_true(Cu.evalInSandbox('Array.isArray(arr);', sb));
7 }

mercurial