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

Unified Diff: LayoutTests/fast/media/media-query-list-listener.html

Issue 396283004: Make the MediaQueryList listener an EventListener (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 4 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 | « no previous file | LayoutTests/fast/media/media-query-list-listener-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/media/media-query-list-listener.html
diff --git a/LayoutTests/fast/media/media-query-list-listener.html b/LayoutTests/fast/media/media-query-list-listener.html
index df631f84cd818e410b5598a9a9a8e65d980be8be..741df90f25b8a55934953a4834cb168a3a9c0dfd 100644
--- a/LayoutTests/fast/media/media-query-list-listener.html
+++ b/LayoutTests/fast/media/media-query-list-listener.html
@@ -22,7 +22,8 @@
}
function listener(list) {
window.mediaListArgument = list;
- shouldBe("mediaList", "mediaListArgument");
+ shouldBe("mediaList.matches", "mediaListArgument.matches");
+ shouldBe("mediaList.media", "mediaListArgument.media");
shouldBe("mediaList.matches", expectedValue);
runNextTest();
}
« no previous file with comments | « no previous file | LayoutTests/fast/media/media-query-list-listener-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698