js/src/jit-test/tests/debug/Debugger-findScripts-12-script2

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/debug/Debugger-findScripts-12-script2	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +// -*- mode: js2 -*-
     1.5 +// Script for Debugger-findScripts-12.js to load.
     1.6 +// Line numbers in this script are cited in the test, and must align with ...-script1.
     1.7 +
     1.8 +function h() {
     1.9 +                                                        // line 6
    1.10 +    function hh() {
    1.11 +        return "on investment";                         // line 8
    1.12 +    };
    1.13 +    hh.global = this;
    1.14 +    return hh;
    1.15 +};
    1.16 +
    1.17 +function i() {
    1.18 +    return "to innocence";                              // line 15
    1.19 +}
    1.20 +
    1.21 +h.global = this;
    1.22 +i.global = this;

mercurial