I changed the exepcted value for object.toString() calls on the empty

object - There's no clear documentation of the result, but the source
code unambiguously calls 'js_obj_toSource', which inserts the extra '()'
under the version1_2 flag, so I believe this is the correct result.


git-svn-id: svn://10.0.0.236/trunk@52286 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com 1999-10-29 23:02:17 +00:00
parent 2eefe93ceb
commit b817d51d4b

View File

@ -42,14 +42,14 @@
testcases[testcases.length] = new TestCase( SECTION,
"var o = new Object(); o.toString()",
"{}",
"({})",
o.toString() );
o = {};
testcases[testcases.length] = new TestCase( SECTION,
"o = {}; o.toString()",
"{}",
"({})",
o.toString() );
o = { name:"object", length:0, value:"hello" }