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