Index: third_party/WebKit/LayoutTests/media/avtrack/audio-track-properties.html |
diff --git a/third_party/WebKit/LayoutTests/media/avtrack/audio-track-properties.html b/third_party/WebKit/LayoutTests/media/avtrack/audio-track-properties.html |
index b6b2a62baa9cc3afcce73bdee77071f5854154ba..909849b332a5af6947d966179952e03e7d2ac6cf 100644 |
--- a/third_party/WebKit/LayoutTests/media/avtrack/audio-track-properties.html |
+++ b/third_party/WebKit/LayoutTests/media/avtrack/audio-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("audio"); |
- e.src = "../content/test.webm"; |
+ var audio = document.createElement("audio"); |
+ audio.src = "../content/test.webm"; |
- e.onloadedmetadata = t.step_func_done(function() |
+ audio.onloadedmetadata = t.step_func_done(function() |
{ |
- assert_equals(e.audioTracks.length, 1, "audioTracks.length"); |
- assert_true(e.audioTracks[0].enabled, "audioTrack.enabled"); |
- assert_equals(e.audioTracks[0].id, "2", "audioTrack.id"); |
- assert_equals(e.audioTracks[0].kind, "main", "audioTrack.kind"); |
- assert_equals(e.audioTracks[0].label, "", "audioTrack.label"); |
- assert_equals(e.audioTracks[0].language, "", "audioTrack.language"); |
+ assert_equals(audio.audioTracks.length, 1, "audioTracks.length"); |
+ assert_true(audio.audioTracks[0].enabled, "audioTrack.enabled"); |
+ assert_equals(audio.audioTracks[0].id, "2", "audioTrack.id"); |
+ assert_equals(audio.audioTracks[0].kind, "main", "audioTrack.kind"); |
+ assert_equals(audio.audioTracks[0].label, "", "audioTrack.label"); |
+ assert_equals(audio.audioTracks[0].language, "", "audioTrack.language"); |
}); |
}); |
</script> |