summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug729571.js
blob: 449ce040fe15b762e0f4d3a420dabe67957e2af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Binary: cache/js-dbg-64-ca97bbcd6b90-linux
// Flags: --ion-eager
//

gczeal(4);
function TestCase(n, d, e, a) {}
TestCase.prototype.dump = function () {};
TestCase.prototype.testFailed = (function TestCase_testFailed() {
	});
  try  {
    try    {    }    catch(ex1)    {    }
  }  catch(ex)  {  }
  options.initvalues  = {};
  var optionNames = options().split(',');
  var optionsframe = {};
  try  {
    optionsClear();
  }  catch(ex)  {  }
var lfcode = new Array();
lfcode.push("\
  try {  } catch (exception) {  }\
    try {    } catch (exception) {    }\
    try {    } catch (exception) {    }\
    try {    } catch (actual) {    }\
        var props = {};\
  function test(which) {\
    var g = newGlobal();\
    function addDebugger(g, i) {\
        var dbg = Debugger(g);\
        dbg.onDebuggerStatement = function (frame) { };\
    }\
    for (var i = 0; i < 3; i++) {\
        addDebugger(g, i);\
    }\
    g.eval(\"debugger;\");\
}\
for (var j = 0; j < 3; j++) test(j);\
");
while (true) {
	var file = lfcode.shift(); if (file == undefined) { break; }
	try { evaluate(file); } catch (lfVare) { }
}