summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Object-executeInGlobal-09.js
blob: f6b13c6a9b126c6ca8c45ae790c85dea5f967e06 (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();
  var dbg = new Debugger;
  var gw = dbg.addDebuggee(g);
  gw.executeInGlobalWithBindings("eval('Math')",{}).return
})();