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

Unified Diff: sky/tests/lowlevel/bug-438036.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/tests/framework/flights-app-pixels.sky ('k') | sky/tests/lowlevel/query-selector.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/lowlevel/bug-438036.sky
diff --git a/sky/tests/lowlevel/bug-438036.sky b/sky/tests/lowlevel/bug-438036.sky
index d18c7dd0d577ae1e5a40a4464958ef7f383ab658..a92954aa8c13c427fbb1afa6d75dde04d240ad69 100644
--- a/sky/tests/lowlevel/bug-438036.sky
+++ b/sky/tests/lowlevel/bug-438036.sky
@@ -24,7 +24,7 @@ void main() {
});
test("should grow height to 200px", () {
- var target = document.querySelectorAll('div').item(1);
+ var target = document.querySelectorAll('div')[1];
target.setAttribute("id", "high");
expect(window.getComputedStyle(target).getPropertyValue("height"),
« no previous file with comments | « sky/tests/framework/flights-app-pixels.sky ('k') | sky/tests/lowlevel/query-selector.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698