summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-findObjects-09.js
blob: a50f2be08895758279ebd9acbb81323a496ff2f2 (plain)
1
2
3
4
5
6
7
8
9
// We don't return objects where our query's class name is the prefix of the
// object's class name and vice versa.

var dbg = new Debugger();
var g = newGlobal();
var gw = dbg.addDebuggee(g);

assertEq(dbg.findObjects({ class: "Objec" }).length, 0);
assertEq(dbg.findObjects({ class: "Objectttttt" }).length, 0);