summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Object-executeInGlobal-09.js
blob: a4df6d5517a4605311944b76bafc79440a3a55de (plain)
1
2
3
4
5
6
7
8
9
// The frame created for executeInGlobal is never marked as a 'FUNCTION' frame.

(function () {
  var g = newGlobal({newCompartment: true});
  var dbg = new Debugger;
  var gw = dbg.addDebuggee(g);
  gw.executeInGlobalWithBindings("eval('Math')",{}).return
})();