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

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-script1	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.
     1.7 +
     1.8 +function f() {
     1.9 +                                                        // line 6
    1.10 +    function ff() {
    1.11 +        return "my wuv, I want you always beside me";   // line 8
    1.12 +    };
    1.13 +    ff.global = this;
    1.14 +    return ff;
    1.15 +};
    1.16 +
    1.17 +function g() {
    1.18 +    return "to Oz";                                     // line 15
    1.19 +}
    1.20 +
    1.21 +f.global = this;
    1.22 +g.global = this;

mercurial