Source code

Revision control

Copy as Markdown

Other Tools

[block-string-assignment-to-Element-outerHTML.html]
[outerHTML with html assigned via policy (successful HTML transformation).]
expected: FAIL
[`outerHTML = string` throws.]
expected: FAIL
[`outerHTML = null` throws.]
expected: FAIL
[`outerHTML = string` assigned via default policy (successful HTML transformation).]
expected: FAIL
[`outerHTML = null` assigned via default policy does not throw]
expected: FAIL
[`outerHTML = string` throws TypeError even when parent is a document.]
expected: FAIL
[`outerHTML = TrustedHTML` throws NoModificationAllowedError when parent is a document.]
expected: FAIL