Home | History | Annotate | Download | only in Attr
      1 Tests that accessing Attr after its Element has been destroyed works without crashing.
      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).specified is true
     11 PASS attributes.item(0).value is 'b'
     12 PASS attributes.item(0).ownerElement.tagName is 'P'
     13 PASS attributes.item(0).value is 'c'
     14 PASS attributes.length is 0
     15 PASS attr.name is 'a'
     16 PASS attr.specified is true
     17 PASS attr.value is 'b'
     18 PASS attr.ownerElement.tagName is 'P'
     19 PASS attr.value is 'c'
     20 PASS successfullyParsed is true
     21 
     22 TEST COMPLETE
     23 
     24