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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/preload/download_resources.html

Issue 2732853003: [preload] Split up media into video, audio and track (Closed)
Patch Set: Added a test that media fails Created 3 years, 9 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
Index: third_party/WebKit/LayoutTests/http/tests/preload/download_resources.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/preload/download_resources.html b/third_party/WebKit/LayoutTests/http/tests/preload/download_resources.html
deleted file mode 100644
index 6218de6f7fea12a24606c6112e663fa536bbaeff..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/preload/download_resources.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head></head>
-<body>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script>
- var t = async_test('Makes sure that preloaded resources are not downloaded again when used');
-</script>
-<link rel=preload href="../resources/dummy.js" as=script>
-<link rel=preload href="../resources/dummy.css" as=style>
-<link rel=preload href="../resources/square.png" as=image>
-<link rel=preload href="../resources/square.png?background" as=image>
-<link rel=preload href="../resources/Ahem.ttf" as=font crossorigin>
-<link rel=preload href="../resources/test.mp4" as=media>
-<link rel=preload href="../resources/test.oga" as=media>
-<link rel=preload href="../security/resources/captions.vtt" as=track>
-<link rel=preload href="../resources/dummy.xml" as=foobarxmlthing>
-<link rel=preload href="../resources/dummy.xml">
-<script src="../resources/slow-script.pl?delay=200"></script>
-<script>
- window.addEventListener("load", t.step_func(function() {
- var entries = performance.getEntriesByType("resource");
- for (var i = 0; i < entries.length; ++i) {
- console.log(entries[i].name);
- }
- assert_equals(performance.getEntriesByType("resource").length, 12);
- t.done();
- }));
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698