Index: LayoutTests/fast/js/script-tests/constructor.js |
diff --git a/LayoutTests/fast/js/script-tests/constructor.js b/LayoutTests/fast/js/script-tests/constructor.js |
index 28afa35fbd73f87bd7b58ea4aa0d623c348e2551..68a5726c70d387e1760f0a1c913873a8a9fbcd53 100644 |
--- a/LayoutTests/fast/js/script-tests/constructor.js |
+++ b/LayoutTests/fast/js/script-tests/constructor.js |
@@ -11,9 +11,9 @@ shouldBeTrue("window.document.body.constructor.prototype === window.HTMLBodyElem |
shouldBeTrue("window.document.body.constructor.prototype.__proto__ === window.HTMLBodyElement.prototype.__proto__"); |
shouldBeTrue("window.document.body.constructor.prototype.__proto__ === window.HTMLElement.prototype"); |
-var nodeList = document.getElementsByTagName('script'); |
-shouldBeTrue("nodeList.constructor === window.NodeList"); |
-shouldBeTrue("nodeList.constructor.prototype === window.NodeList.prototype"); |
+var htmlCollection = document.getElementsByTagName('script'); |
+shouldBeTrue("htmlCollection.constructor === window.HTMLCollection"); |
+shouldBeTrue("htmlCollection.constructor.prototype === window.HTMLCollection.prototype"); |
var mutationEvent = document.createEvent("MutationEvent"); |
shouldBeTrue("mutationEvent.constructor === window.MutationEvent"); |