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

Unified Diff: LayoutTests/accessibility/media-element.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 2 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/accessibility/media-element.html
diff --git a/LayoutTests/accessibility/media-element.html b/LayoutTests/accessibility/media-element.html
deleted file mode 100644
index a0df2feed0ca7b14329c32ef07739ae33ca42a65..0000000000000000000000000000000000000000
--- a/LayoutTests/accessibility/media-element.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<html>
- <head>
- <script src="../fast/js/resources/js-test-pre.js"></script>
- <script>
- var vidAXObject;
- var indentLevel = 0;
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- function indent(count)
- {
- var spaces = " ";
- return spaces.substr(0, count);
- }
-
- function dumpObject(axObject)
- {
- debug(indent(indentLevel) + "description: " + axObject.description);
- debug(indent(indentLevel) + "role: " + axObject.role);
- debug("<br>");
- }
-
- function dumpChildren(axObject)
- {
- var count = axObject.childrenCount
- if (!count)
- return;
-
- indentLevel += 4;
- for (var ndx = 0; ndx < count; ndx++) {
- var childAXObject = axObject.childAtIndex(ndx);
- dumpObject(childAXObject);
- if (childAXObject.childrenCount) {
- // don't bother dumping static text children
- if ( childAXObject.role != "AXRole: AXStaticText")
- dumpChildren(childAXObject);
- }
- }
- indentLevel -= 4;
- }
-
- function dumpVideoAX()
- {
- debug("<br>+++++++++++++++++++++++++++++++++++<br>");
- debug("State at '" + event.type + "' event:<br>");
-
- if (!window.accessibilityController)
- return;
-
- var body = document.getElementsByTagName("body")[0];
- body.focus();
-
- var vidAXObject = accessibilityController.focusedElement.childAtIndex(0);
-
- dumpChildren(vidAXObject);
-
- if (window.testRunner && event.type == 'canplaythrough')
- testRunner.notifyDone();
- }
- </script>
- </head>
-
-<body>
-
- <video id=vid src="../media/content/test.mp4" controls oncanplaythrough="dumpVideoAX()">
- </video>
-
- <div>Dump &lt;video&gt; element controller accessibility object tree at 'canplaythrough' event.</div>
-
- <div id=console></div>
-
-</body>
-</html>
-
« no previous file with comments | « LayoutTests/accessibility/loading-iframe-sends-notification-expected.txt ('k') | LayoutTests/accessibility/placeholder.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698