2 This page tests the empty string used as a property name. If the test passes,
3 you'll see a PASS message below.
6 <pre id=
"console"></pre>
10 testRunner
.dumpAsText();
16 document
.getElementById("console").appendChild(document
.createTextNode(s
));
21 function shouldBe(a
, aDescription
, b
)
24 log("PASS: " + aDescription
+ " should be " + b
+ " and is.\n");
26 log("FAIL: " + aDescription
+ " should be " + b
+ " but instead is " + a
+ ".\n");
32 shouldBe(o
[""], 'o[""]', 1);