Index: sky/tests/framework/flights-app-pixels.sky |
diff --git a/sky/tests/framework/flights-app-pixels.sky b/sky/tests/framework/flights-app-pixels.sky |
index 1eec0ee7eded90c061168c1da104027b291d5a5e..73ea2b2e6782c0ff71179f04c6b22e21d4356b12 100644 |
--- a/sky/tests/framework/flights-app-pixels.sky |
+++ b/sky/tests/framework/flights-app-pixels.sky |
@@ -312,7 +312,7 @@ |
bool imagesLoaded() { |
var images = window.document.querySelectorAll('img'); |
for (var i = 0; i < images.length; i++) { |
- if (!images.item(i).complete) |
+ if (!images[i].complete) |
return false; |
} |
return true; |