Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: LayoutTests/fast/dom/NodeIterator/detach-no-op-expected.txt

Issue 256013002: Make NodeIterator.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take feedback into consideration Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/NodeIterator/detach-no-op-expected.txt
diff --git a/LayoutTests/fast/dom/NodeIterator/detach-no-op-expected.txt b/LayoutTests/fast/dom/NodeIterator/detach-no-op-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9ed2e7720413362946fd9f28d40dd898589ef9d
--- /dev/null
+++ b/LayoutTests/fast/dom/NodeIterator/detach-no-op-expected.txt
@@ -0,0 +1,13 @@
+CONSOLE WARNING: 'NodeIterator.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-nodeiterator-detach).
+This test checks that NodeIterator.detach() is a no-op.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS iterator.nextNode().id is "a"
+PASS iterator.detach() did not throw exception.
+PASS iterator.nextNode().id is "b"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/NodeIterator/detach-no-op.html ('k') | LayoutTests/fast/dom/node-iterator-with-doctype-root-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698