Test that iterators are invalidated even if the original context is detached. | |
PASS result.invalidIteratorState is false | |
PASS result.iterateNext().tagName is 'span' | |
Modifying the document... | |
PASS result.invalidIteratorState is true | |
PASS result.iterateNext() threw exception InvalidStateError: The object is in an invalid state.. | |
PASS successfullyParsed is true | |
TEST COMPLETE | |