summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/test_bug849730.js
blob: 9be55457bf0770b56de5cf11ee34341956383544 (plain)
1
2
3
4
5
function run_test() {
  var sb = new Cu.Sandbox('http://www.example.com');
  sb.arr = [3, 4];
  Assert.ok(Cu.evalInSandbox('!Array.isArray(arr);', sb));
}