blob: d8deebf41ccb5c03d0b6a3fa9751a4e880a8a8a7 [file] [log] [blame]
FAIL Setting non-array index while named property exists (loose) assert_equals: expected (object) Element node <a id="named"></a> but got (string) "foo"
FAIL Setting non-array index while named property exists (strict) assert_throws: function "function () {
c[name] = "foo";
}" did not throw
PASS Setting non-array index while named property doesn't exist (loose)
PASS Setting non-array index while named property doesn't exist (strict)
PASS Setting array index while indexed property exists (loose)
FAIL Setting array index while indexed property exists (strict) assert_throws: function "function () {
c[0] = "foo";
}" did not throw
FAIL Setting array index while indexed property doesn't exist (loose) assert_equals: expected (undefined) undefined but got (string) "foo"
FAIL Setting array index while indexed property doesn't exist (strict) assert_equals: expected (undefined) undefined but got (string) "foo"