blob: 8cd526005a6d2a4259d17c487b135ce27c1977f4 [file] [log] [blame]
This test verifies that removing a named HTMLImageElement from the document unregisters its mapping cleanly. It passes if it doesn't assert.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Looking up image element through document named item collection...
PASS document.nameAttributeValue is imageElement
Removing it from the document...
PASS imageElement.parentNode is null
Checking that named item mapping is gone...
PASS document.nameAttributeValue is undefined
PASS successfullyParsed is true
TEST COMPLETE