Index: LayoutTests/fast/dom/script-tests/domListEnumeration.js |
diff --git a/LayoutTests/fast/dom/script-tests/domListEnumeration.js b/LayoutTests/fast/dom/script-tests/domListEnumeration.js |
index b4adb2ec8b399c8b4fdc83748803a859480bf592..f229a53d23a665ef38d02d3273c3353d675a2b15 100644 |
--- a/LayoutTests/fast/dom/script-tests/domListEnumeration.js |
+++ b/LayoutTests/fast/dom/script-tests/domListEnumeration.js |
@@ -94,7 +94,7 @@ setup(); |
var resultArray = new Array(); |
// NodeList |
-var nodeList = document.getElementsByTagName('ol'); |
+var nodeList = document.querySelectorAll('ol'); |
resultArray = iterateList(nodeList); |
shouldBe("resultArray.length", "5"); |