OLD | NEW |
| (Empty) |
1 Tests that accessing Attr after its Element has been destroyed works without cra
shing. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS attributes.length is 1 | |
7 PASS attributes[0] is attributes.item(0) | |
8 PASS attributes.getNamedItem('a') is attributes.item(0) | |
9 PASS attributes.item(0).name is 'a' | |
10 PASS attributes.item(0).value is 'b' | |
11 PASS attributes.item(0).ownerElement.tagName is 'P' | |
12 PASS attributes.item(0).value is 'c' | |
13 PASS attributes.length is 0 | |
14 PASS attr.name is 'a' | |
15 PASS attr.value is 'b' | |
16 PASS attr.ownerElement.tagName is 'P' | |
17 PASS attr.value is 'c' | |
18 PASS successfullyParsed is true | |
19 | |
20 TEST COMPLETE | |
21 | |
OLD | NEW |