Index: LayoutTests/media/avtrack/getTrackById.html |
diff --git a/LayoutTests/media/avtrack/getTrackById.html b/LayoutTests/media/avtrack/getTrackById.html |
index 1f76930ac4c6b68624c9c5fd5038607b685f38ff..bd53979219b6a938c06a76447aabb0487d38174d 100644 |
--- a/LayoutTests/media/avtrack/getTrackById.html |
+++ b/LayoutTests/media/avtrack/getTrackById.html |
@@ -12,6 +12,8 @@ |
async_test(function(t) |
{ |
var e = document.createElement('video'); |
+ // add to body to prevent GC pending http://crbug.com/400659 |
+ document.body.appendChild(e); |
assert_equals(e.audioTracks.length, 0); |
assert_equals(e.audioTracks.getTrackById(''), null); |