summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt
blob: 8c091323e4d5072e78050ca15c819feda4dfb0a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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).style is null
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.style is null
PASS attr.value is 'c'
PASS successfullyParsed is true

TEST COMPLETE