blob: 0cf2a751d3be00efdf32deba1c86479eb1cd3ff6 [file] [log] [blame]
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: Failed to execute 'iterateNext' on 'XPathResult': The document has mutated since the result was returned..
PASS successfullyParsed is true
TEST COMPLETE