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

Unified Diff: third_party/WebKit/LayoutTests/media/track/tracklist-is-reachable.html

Issue 1952323003: Convert tracklist-* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: deleted tracklist-is-reachable.html as it is not useful Created 4 years, 7 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 | « no previous file | third_party/WebKit/LayoutTests/media/track/tracklist-is-reachable-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/track/tracklist-is-reachable.html
diff --git a/third_party/WebKit/LayoutTests/media/track/tracklist-is-reachable.html b/third_party/WebKit/LayoutTests/media/track/tracklist-is-reachable.html
deleted file mode 100644
index 5faf0e253e44ecff1c0752e17518d4837a96183d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/tracklist-is-reachable.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <script src=../media-file.js></script>
- <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
- (Please avoid writing new tests using video-test.js) -->
- <script src=../video-test.js></script>
- <script>
-
- function forceGC()
- {
- if (window.GCController)
- return GCController.collectAll();
-
- // Force garbage collection
- for (var ndx = 0; ndx < 99000; ndx++)
- var str = new String("1234");
- }
-
- function start()
- {
- findMediaElement();
-
- consoleWrite("** Add a custom property to a track.");
- testExpected("video.textTracks.length", 1);
- run("video.textTracks.myProperty = 'chicken salad!'");
- testExpected("video.textTracks.length", 1);
- testExpected("video.textTracks.myProperty", "chicken salad!");
-
- consoleWrite("<br>** Force garbage collection.");
- forceGC();
- testExpected("video.textTracks.length", 1);
- testExpected("video.textTracks.myProperty", "chicken salad!");
-
- consoleWrite("");
- endTest();
- }
-
- </script>
- </head>
- <body onload="start()">
- <p>Ensure that a TrackList won't be collected if it has custom properties.</p>
- <video>
- <track>
- </video>
- </body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/track/tracklist-is-reachable-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698