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: third_party/WebKit/LayoutTests/http/tests/media/preload-conditions.html

Issue 2546993003: [MediaElement] Allow preloading for non-network scheme src (Closed)
Patch Set: rebased Created 4 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/http/tests/media/preload-conditions.html
diff --git a/third_party/WebKit/LayoutTests/media/preload-conditions.html b/third_party/WebKit/LayoutTests/http/tests/media/preload-conditions.html
similarity index 97%
rename from third_party/WebKit/LayoutTests/media/preload-conditions.html
rename to third_party/WebKit/LayoutTests/http/tests/media/preload-conditions.html
index 8e550820cd27419fbb2a07fb3ff16293ac59718a..851103e75d1836915738819e60e5aa6ca5d10799 100644
--- a/third_party/WebKit/LayoutTests/media/preload-conditions.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/preload-conditions.html
@@ -2,8 +2,9 @@
<title>Test media preloading behaviour with different conditions.</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
-<script src="media-file.js"></script>
+<script src="../../media-resources/media-file.js"></script>
<script>
+ console.log("abc");
mlamouri (slow - plz ping) 2016/12/05 13:32:44 I guess this is a leftover from testing?
Zhiqiang Zhang (Slow) 2016/12/05 16:32:19 Thanks for catching this. Fixed :)
var tests = [
{
name: 'regular conditions',
@@ -135,7 +136,7 @@ function runTest(t, test) {
[ '', 'none', 'metadata', 'auto' ].forEach(preload => {
var media = document.createElement('video');
media.preload = preload;
- media.src = findMediaFile('video', 'content/test');
+ media.src = findMediaFile('video', 'resources/test');
assert_equals(media.readyState, HTMLMediaElement.HAVE_NOTHING);
switch (media.preload) {

Powered by Google App Engine
This is Rietveld 408576698