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

Unified Diff: sky/tests/framework/flights-app-pixels.sky

Issue 943433002: querySelectorAll should return List<Element> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Named return value optimization Created 5 years, 10 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
« no previous file with comments | « sky/engine/core/dom/StaticNodeList.h ('k') | sky/tests/lowlevel/bug-438036.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « sky/engine/core/dom/StaticNodeList.h ('k') | sky/tests/lowlevel/bug-438036.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698