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

Unified Diff: LayoutTests/media/track/track-remove-track.html

Issue 518793002: Work around GC bug to fix flaky track tests (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/track/track-remove-track.html
diff --git a/LayoutTests/media/track/track-remove-track.html b/LayoutTests/media/track/track-remove-track.html
index 430ce9463c6d47465fa8aceed4c94db7787b1ab1..cddfb8434cb9d0066038d7298b5ad2055e189042 100644
--- a/LayoutTests/media/track/track-remove-track.html
+++ b/LayoutTests/media/track/track-remove-track.html
@@ -13,6 +13,8 @@
async_test(function(test)
{
var video = document.createElement("video");
+ // add to body to prevent GC pending http://crbug.com/400659
+ document.body.appendChild(video);
var track;
function trackRemoved()
@@ -39,6 +41,8 @@
async_test(function(test)
{
var video = document.createElement("video");
+ // add to body to prevent GC pending http://crbug.com/400659
+ document.body.appendChild(video);
// Create an out-of-band text track by adding a track element.
var trackElement = document.createElement('track');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698