1
// |reftest| skip-if(Android)
2
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
4
* Any copyright is dedicated to the Public Domain.
5
* http://creativecommons.org/licenses/publicdomain/
6
* Contributor: Jason Orendorff
9
//-----------------------------------------------------------------------------
10
var BUGNUMBER = 452498;
11
var summary = 'TM: upvar2 regression tests';
16
//-----------------------------------------------------------------------------
18
//-----------------------------------------------------------------------------
23
printBugNumber(BUGNUMBER);
24
printStatus (summary);
26
// ------- Comment #52 From Jason Orendorff
29
// Assertion failure: pn_arity == PN_FUNC || pn_arity == PN_NAME, at ../jsparse.h:444
30
// Here the function node has been morphed into a JSOP_TRUE node, but we're in
31
// FindFunArgs poking it anyway.
32
if (typeof timeout == 'function')
39
reportCompare(expect, actual, summary);