haikuwebkit/LayoutTests/fast/dom/NodeList/nodelist-item-assignment-ex...

24 lines
653 B
Plaintext

This tests that indexed assignments to items of a NodeList do not override original values. See http://code.google.com/p/chromium/issues/detail?id=27967
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS first == null is false
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS nodeList[0] is first
PASS successfullyParsed is true
TEST COMPLETE