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

Unified Diff: LayoutTests/media/context-menu-actions.html

Issue 18951003: Skip or delete a bunch of timing out tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete a few more tests Created 7 years, 5 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: LayoutTests/media/context-menu-actions.html
diff --git a/LayoutTests/media/context-menu-actions.html b/LayoutTests/media/context-menu-actions.html
deleted file mode 100644
index 3a8fdef046955d75a6442a9abe94e516e93ab870..0000000000000000000000000000000000000000
--- a/LayoutTests/media/context-menu-actions.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<html>
-<head>
- <script src="media-file.js"></script>
- <script src=video-test.js></script>
- <script>
-
- function playing()
- {
- if (window.testRunner) {
- if (!window.eventSender) {
- testRunner.dumpAsText();
- endTest();
- return;
- }
- } else {
- endTest();
- return;
- }
-
- findMediaElement();
-
- var x, y, items;
- x = video.offsetParent.offsetLeft + video.offsetLeft + video.offsetWidth / 2;
- y = video.offsetParent.offsetTop + video.offsetTop + video.offsetHeight / 2;
- eventSender.mouseMoveTo(x, y);
- items = eventSender.contextClick();
-
-
- for (var i = 0; i < items.length; i++)
- {
- if (items[i].title.match("Controls")) {
- testExpected("video.controls", true, '==');
- consoleWrite("Toggling media controls");
- items[i].click();
- testExpected("video.controls", false, '==');
- consoleWrite("");
- }
-
- if (items[i].title.match("Pause")) {
- testExpected("video.paused", false, '==');
- consoleWrite("Toggling play state");
- items[i].click();
- testExpected("video.paused", true, '==');
- consoleWrite("");
- }
-
- if (items[i].title.match("Loop")) {
- testExpected("video.loop", false, '==');
- consoleWrite("Toggling loop state");
- items[i].click();
- testExpected("video.loop", true, '==');
- consoleWrite("");
- }
-
- if (items[i].title.match("Mute")) {
- testExpected("video.muted", false, '==');
- consoleWrite("Toggling mute state");
- items[i].click();
- testExpected("video.muted", true, '==');
- consoleWrite("");
- }
-
- if (items[i].title.match("Fullscreen") && video.webkitSupportsFullscreen) {
- testExpected("video.webkitDisplayingFullscreen", false, '==');
- consoleWrite("Toggling fullscreen state");
- items[i].click();
- testExpected("video.webkitDisplayingFullscreen", true, '==');
- consoleWrite("");
- }
-
- // TODO: test copy link location and open in new window.
- }
- testRunner.dumpAsText();
- endTest();
- }
-
- function start()
- {
- findMediaElement();
- waitForEvent('play', playing);
- run("video.src = '" + findMediaFile("video", "content/test") + "'");
- }
-
- </script>
-</head>
-<body onload="start()">
- <p>Test the various actions available in the HTML5 media element context-menu.</p>
- <video id="video" autoplay controls></video>
-</body>
-</html>
-
« no previous file with comments | « LayoutTests/http/tests/plugins/post-url-file-expected.txt ('k') | LayoutTests/media/context-menu-actions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698