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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/script-tests/domListEnumeration.js

Issue 1367523002: [dom] support iterable<> NodeList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actual on the left, expected on the right Created 5 years, 2 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: third_party/WebKit/LayoutTests/fast/dom/script-tests/domListEnumeration.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/script-tests/domListEnumeration.js b/third_party/WebKit/LayoutTests/fast/dom/script-tests/domListEnumeration.js
index f89239cbb39c75cb10968087e639e26e897479a9..05eb0323552459faabc230021f295a952e7c3522 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/script-tests/domListEnumeration.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/script-tests/domListEnumeration.js
@@ -97,7 +97,7 @@ var resultArray = new Array();
var nodeList = document.querySelectorAll('ol');
resultArray = iterateList(nodeList);
-shouldBe("resultArray.length", "5");
+shouldBe("resultArray.length", "9");
shouldBe("resultArray[0].i", "'0'");
shouldBe("resultArray[0].item", "nodeList.item(0)");
shouldBe("resultArray[1].i", "'1'");

Powered by Google App Engine
This is Rietveld 408576698