Index: third_party/WebKit/LayoutTests/media/track/track-helpers.js |
diff --git a/third_party/WebKit/LayoutTests/media/track/track-helpers.js b/third_party/WebKit/LayoutTests/media/track/track-helpers.js |
index 8764ed29167dcfc94b466dfad1d30779edd5afdf..f56e8240c4bade51ccc20a5c6806e313b732f08f 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/track-helpers.js |
+++ b/third_party/WebKit/LayoutTests/media/track/track-helpers.js |
@@ -7,6 +7,7 @@ function enableAllTextTracks(textTracks) { |
} |
function assert_cues_equal(cues, expected) { |
+ assert_equals(cues.length, expected.length); |
for (var i = 0; i < cues.length; i++) { |
assert_equals(cues[i].id, expected[i].id); |
assert_equals(cues[i].startTime, expected[i].startTime); |