| // Any copyright is dedicated to the Public Domain. |
| // http://creativecommons.org/licenses/publicdomain/ |
| |
| var gTestfile = 'stringify-missing-arguments.js'; |
| //----------------------------------------------------------------------------- |
| var BUGNUMBER = 648471; |
| var summary = "JSON.stringify with no arguments"; |
| |
| print(BUGNUMBER + ": " + summary); |
| |
| /************** |
| * BEGIN TEST * |
| **************/ |
| |
| assertEq(JSON.stringify(), undefined); |
| |
| /******************************************************************************/ |
| |
| if (typeof reportCompare === "function") |
| reportCompare(true, true); |
| |
| print("All tests passed!"); |