Tests some special cases of the outerHTML setter. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS document.getElementById('svgElement').innerHTML is "" PASS document.documentElement.outerHTML = '' threw exception NoModificationAllowedError: Cannot set outerHTML on element because its parent is not an Element. PASS a.parentNode is null PASS a.outerHTML = '' threw exception NoModificationAllowedError: Cannot set outerHTML on element because it doesn't have a parent. PASS successfullyParsed is true TEST COMPLETE