js/src/jit-test/tests/auto-regress/bug729571.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 // Binary: cache/js-dbg-64-ca97bbcd6b90-linux
michael@0 2 // Flags: --ion-eager
michael@0 3 //
michael@0 4
michael@0 5 gczeal(4);
michael@0 6 function TestCase(n, d, e, a) {}
michael@0 7 TestCase.prototype.dump = function () {};
michael@0 8 TestCase.prototype.testFailed = (function TestCase_testFailed() {
michael@0 9 });
michael@0 10 try {
michael@0 11 try { } catch(ex1) { }
michael@0 12 } catch(ex) { }
michael@0 13 options.initvalues = {};
michael@0 14 var optionNames = options().split(',');
michael@0 15 var optionsframe = {};
michael@0 16 try {
michael@0 17 optionsClear();
michael@0 18 } catch(ex) { }
michael@0 19 var lfcode = new Array();
michael@0 20 lfcode.push("\
michael@0 21 try { } catch (exception) { }\
michael@0 22 try { } catch (exception) { }\
michael@0 23 try { } catch (exception) { }\
michael@0 24 try { } catch (actual) { }\
michael@0 25 var props = {};\
michael@0 26 function test(which) {\
michael@0 27 var g = newGlobal();\
michael@0 28 function addDebugger(g, i) {\
michael@0 29 var dbg = Debugger(g);\
michael@0 30 dbg.onDebuggerStatement = function (frame) { };\
michael@0 31 }\
michael@0 32 for (var i = 0; i < 3; i++) {\
michael@0 33 addDebugger(g, i);\
michael@0 34 }\
michael@0 35 g.eval(\"debugger;\");\
michael@0 36 }\
michael@0 37 for (var j = 0; j < 3; j++) test(j);\
michael@0 38 ");
michael@0 39 while (true) {
michael@0 40 var file = lfcode.shift(); if (file == undefined) { break; }
michael@0 41 try { evaluate(file); } catch (lfVare) { }
michael@0 42 }

mercurial