summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/xpath/detached-subtree-invalidate-iterator-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/xpath/detached-subtree-invalidate-iterator-expected.txt')
-rw-r--r--LayoutTests/fast/xpath/detached-subtree-invalidate-iterator-expected.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/LayoutTests/fast/xpath/detached-subtree-invalidate-iterator-expected.txt b/LayoutTests/fast/xpath/detached-subtree-invalidate-iterator-expected.txt
new file mode 100644
index 0000000..4b4af52
--- /dev/null
+++ b/LayoutTests/fast/xpath/detached-subtree-invalidate-iterator-expected.txt
@@ -0,0 +1,11 @@
+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 Error: INVALID_STATE_ERR: DOM Exception 11.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+