summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/test_bug1151385.js
blob: fdf979fe02ff65b9b3c69acb5d61aab78c5fd419 (plain)
1
2
3
4
5
6
7
8
9
function run_test()
{
  try {
    var sandbox = new Components.utils.Sandbox(null, {"sandboxPrototype" : {}});
    do_check_true(false);
  } catch (e) {
    do_check_true(/must subsume sandboxPrototype/.test(e));
  }
}