blob: 80fdb629e09bcb50682e10787e0444df0d5da3f4 [file] [log] [blame]
This test checks that there's no crash when removing the name or id attribute from a HTMLImageElement.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS doc.body.firstChild.getAttribute('name') is 'bar'
PASS doc.body.firstChild.getAttribute('id') is 'foo'
Removing name and id attributes...
PASS doc.body.firstChild.getAttribute('name') is null
PASS doc.body.firstChild.getAttribute('id') is null
PASS successfullyParsed is true
TEST COMPLETE