result-iterateNext.html

PASSExpected7 of 7 subtests pass551 ms

Details

Test
/domxpath/result-iterateNext.html
Harness
OK

Subtests

StatusSubtestMessage
PASSUsing an ordered iterator without modifying the dom should yield the expected elements in correct order without errors.
PASSUsing an unordered iterator without modifying the dom should yield the correct number of elements without errors.
PASSinvalidIteratorState should be false for non-iterable results.
PASSCalling iterateNext on a non-iterable XPathResult should throw a TypeError.
PASSCalling iterateNext on a non-iterable XPathResult after modifying the DOM should throw a TypeError.
PASSCalling iterateNext after having modified the DOM should throw an exception.
PASSCalling iterateNext after having modified the DOM should throw an exception even if the iterator is exhausted.