Index: third_party/WebKit/LayoutTests/media/avtrack/video-track-properties.html |
diff --git a/third_party/WebKit/LayoutTests/media/avtrack/video-track-properties.html b/third_party/WebKit/LayoutTests/media/avtrack/video-track-properties.html |
index 8ffe4a416cc581c6c37aab7057dbf1a509330cb9..01e45c94a27f834af3569f70ccb31ba7d06661c6 100644 |
--- a/third_party/WebKit/LayoutTests/media/avtrack/video-track-properties.html |
+++ b/third_party/WebKit/LayoutTests/media/avtrack/video-track-properties.html |
@@ -7,21 +7,20 @@ |
<script src="../media-file.js"></script> |
</head> |
<body> |
- <div id="log"></div> |
<script> |
async_test(function(t) |
{ |
- var e = document.createElement("video"); |
- e.src = "../content/test.webm"; |
+ var video = document.createElement("video"); |
+ video.src = "../content/test.webm"; |
- e.onloadedmetadata = t.step_func_done(function() |
+ video.onloadedmetadata = t.step_func_done(function() |
{ |
- assert_equals(e.videoTracks.length, 1, "videoTracks.length"); |
- assert_true(e.videoTracks[0].selected, "videoTrack.selected"); |
- assert_equals(e.videoTracks[0].id, "1", "videoTrack.id"); |
- assert_equals(e.videoTracks[0].kind, "main", "videoTrack.kind"); |
- assert_equals(e.videoTracks[0].label, "", "videoTrack.label"); |
- assert_equals(e.videoTracks[0].language, "", "videoTrack.language"); |
+ assert_equals(video.videoTracks.length, 1, "videoTracks.length"); |
+ assert_true(video.videoTracks[0].selected, "videoTrack.selected"); |
+ assert_equals(video.videoTracks[0].id, "1", "videoTrack.id"); |
+ assert_equals(video.videoTracks[0].kind, "main", "videoTrack.kind"); |
+ assert_equals(video.videoTracks[0].label, "", "videoTrack.label"); |
+ assert_equals(video.videoTracks[0].language, "", "videoTrack.language"); |
}); |
}); |
</script> |