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:
parent
2eefe93ceb
commit
b817d51d4b
@ -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" }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user