summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-ctor-04.js
blob: 4ecc619bd4c51f3dcbaddf0d79ded20f4a69d07d (plain)
1
2
3
4
5
// Repeated Debugger() arguments are ignored.

var g = newGlobal({newCompartment: true});
var dbg = Debugger(g, g, g);
assertEq(dbg.getDebuggees().length, 1);