Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/domxpath/result-iterateNext.txt
2025-10-03 13:16:11 +02:00

13 lines
744 B
Plaintext

Harness status: OK
Found 7 tests
3 Pass
4 Fail
Pass Using an ordered iterator without modifying the dom should yield the expected elements in correct order without errors.
Pass Using an unordered iterator without modifying the dom should yield the correct number of elements without errors.
Pass invalidIteratorState should be false for non-iterable results.
Fail Calling iterateNext on a non-iterable XPathResult should throw a TypeError.
Fail Calling iterateNext on a non-iterable XPathResult after modifying the DOM should throw a TypeError.
Fail Calling iterateNext after having modified the DOM should throw an exception.
Fail Calling iterateNext after having modified the DOM should throw an exception even if the iterator is exhausted.