summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt
blob: dfbf96e0940ca3fe0e0ed7c8df71cc17aa52ca43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Tests that accessing Attr after its Element has been destroyed works without crashing.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS attributes.length is 1
PASS attributes[0] is attributes.item(0)
PASS attributes.getNamedItem('a') is attributes.item(0)
PASS attributes.item(0).name is 'a'
PASS attributes.item(0).specified is true
PASS attributes.item(0).value is 'b'
PASS attributes.item(0).ownerElement.tagName is 'P'
PASS attributes.item(0).value is 'c'
PASS attributes.length is 0
PASS attr.name is 'a'
PASS attr.specified is true
PASS attr.value is 'b'
PASS attr.ownerElement.tagName is 'P'
PASS attr.value is 'c'
PASS successfullyParsed is true

TEST COMPLETE