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

Unified Diff: LayoutTests/media/avtrack/forget-on-load.html

Issue 533613002: Work around GC bug to fix flaky audio/video track tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | « LayoutTests/media/avtrack/audio-track-enabled.html ('k') | LayoutTests/media/avtrack/gc.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/avtrack/forget-on-load.html
diff --git a/LayoutTests/media/avtrack/forget-on-load.html b/LayoutTests/media/avtrack/forget-on-load.html
index 52657d55368f55f5d796f38bffbbd3fd402dff0d..fe9424ef7e10451e5180826426bf984cc8265b05 100644
--- a/LayoutTests/media/avtrack/forget-on-load.html
+++ b/LayoutTests/media/avtrack/forget-on-load.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);
e.src = findMediaFile("video", "../content/test");
e.addEventListener("loadedmetadata", t.step_func(function()
« no previous file with comments | « LayoutTests/media/avtrack/audio-track-enabled.html ('k') | LayoutTests/media/avtrack/gc.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698