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

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: nits 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/preload-conditions.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2d015eacd74c6e3556afcd88489dcafe0bfe4ae2 100644
--- a/third_party/WebKit/LayoutTests/media/preload-conditions.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/preload-conditions.html
@@ -2,7 +2,7 @@
<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>
var tests = [
{
@@ -135,7 +135,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) {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/preload-conditions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698