Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 // Any copyright is dedicated to the Public Domain.
2 // http://creativecommons.org/licenses/publicdomain/
4 var gTestfile = 'stringify-missing-arguments.js';
5 //-----------------------------------------------------------------------------
6 var BUGNUMBER = 648471;
7 var summary = "JSON.stringify with no arguments";
9 print(BUGNUMBER + ": " + summary);
11 /**************
12 * BEGIN TEST *
13 **************/
15 assertEq(JSON.stringify(), undefined);
17 /******************************************************************************/
19 if (typeof reportCompare === "function")
20 reportCompare(true, true);
22 print("All tests passed!");