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

Unified Diff: third_party/WebKit/LayoutTests/media/video-preload-cellular-test.js

Issue 1528843004: Only force preload=none over cellular for http, https, ftp URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media
Patch Set: Created 5 years 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
Index: third_party/WebKit/LayoutTests/media/video-preload-cellular-test.js
diff --git a/third_party/WebKit/LayoutTests/media/video-preload-cellular-test.js b/third_party/WebKit/LayoutTests/media/video-preload-cellular-test.js
deleted file mode 100644
index 202f4b0ab64d934d4b0f55cd2e4c8ccdb1a57e50..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-preload-cellular-test.js
+++ /dev/null
@@ -1,16 +0,0 @@
-function cellular_preload_test() {
- async_test(function(t) {
- internals.setNetworkStateNotifierTestOnly(true);
- internals.setNetworkConnectionInfo('cellular', 2.0);
-
- var video = document.querySelector('video');
- assert_equals(video.preload, 'none')
- video.src = 'resources/test-positive-start-time.webm';
-
- video.onsuspend = t.step_func_done();
- video.onprogress = t.unreached_func();
- t.add_cleanup(function() {
- internals.setNetworkStateNotifierTestOnly(false);
- });
- });
-}

Powered by Google App Engine
This is Rietveld 408576698