summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/test_bug849730.js
blob: 8622b5bca485ec6ef24e9818a562b650c0eb51c0 (plain)
1
2
3
4
5
6
7
const Cu = Components.utils;

function run_test() {
  var sb = new Cu.Sandbox('http://www.example.com');
  sb.arr = [3, 4];
  do_check_true(Cu.evalInSandbox('!Array.isArray(arr);', sb));
}