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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/gc-while-network-loading.html

Issue 2979893002: media: Allow suspend on HTTP 200 videos (Closed)
Patch Set: layout test fix Created 3 years, 5 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 | « media/blink/webmediaplayer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/media/gc-while-network-loading.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/gc-while-network-loading.html b/third_party/WebKit/LayoutTests/http/tests/media/gc-while-network-loading.html
index caf03b4bf6bad64cb28defdae1a5716f7d423d91..e34ad5035a737119ad18df0166fded4922d2d7a8 100644
--- a/third_party/WebKit/LayoutTests/http/tests/media/gc-while-network-loading.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/gc-while-network-loading.html
@@ -11,7 +11,7 @@ async_test(function(t)
var mediaFile = findMediaFile("video", "../../../media/content/test");
var type = mimeTypeForExtension(mediaFile.split(".").pop());
v.src = "http://127.0.0.1:8000/media/video-throttled-load.cgi?name=" + mediaFile + "&throttle=50&type=" + type;
- v.onloadeddata = t.step_func(function()
+ v.onloadstart = t.step_func(function()
{
assert_equals(v.networkState, v.NETWORK_LOADING);
// The delaying-the-load-event flag is now false.
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698