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