Sha256: 61ea7da0d21288c7c690579bd38b02f8c2685d54d20bdbc64e26cca8baf330fd

Contents?: true

Size: 513 Bytes

Versions: 5

Compression:

Stored size: 513 Bytes

Contents

/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

var gTestfile = 'regress-528082.js';
var BUGNUMBER = 528082;
var summary = 'named function expression function-name-as-upvar slot botch';

printBugNumber(BUGNUMBER);
printStatus(summary);

function f() {
    return function g(a) { return function () { return g; }(); }();
}
var actual = typeof f();
var expect = "function";

reportCompare(expect, actual, summary);

printStatus("All tests passed!");

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
johnson19-2.0.0.pre3 vendor/tracemonkey/tests/ecma_3/FunExpr/regress-528082.js
pre-johnson-2.0.0 vendor/tracemonkey/tests/ecma_3/FunExpr/regress-528082.js
johnson-2.0.0.pre3 vendor/tracemonkey/tests/ecma_3/FunExpr/regress-528082.js
johnson-2.0.0.pre2 vendor/tracemonkey/tests/ecma_3/FunExpr/regress-528082.js
johnson-2.0.0.pre1 vendor/tracemonkey/tests/ecma_3/FunExpr/regress-528082.js