|
1 // Any copyright is dedicated to the Public Domain. |
|
2 // http://creativecommons.org/licenses/publicdomain/ |
|
3 |
|
4 var gTestfile = 'stringify-missing-arguments.js'; |
|
5 //----------------------------------------------------------------------------- |
|
6 var BUGNUMBER = 648471; |
|
7 var summary = "JSON.stringify with no arguments"; |
|
8 |
|
9 print(BUGNUMBER + ": " + summary); |
|
10 |
|
11 /************** |
|
12 * BEGIN TEST * |
|
13 **************/ |
|
14 |
|
15 assertEq(JSON.stringify(), undefined); |
|
16 |
|
17 /******************************************************************************/ |
|
18 |
|
19 if (typeof reportCompare === "function") |
|
20 reportCompare(true, true); |
|
21 |
|
22 print("All tests passed!"); |