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

Unified Diff: LayoutTests/accessibility/aria-invalid.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
« no previous file with comments | « LayoutTests/accessibility/aria-combobox.html ('k') | LayoutTests/accessibility/aria-invalid-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/accessibility/aria-invalid.html
diff --git a/LayoutTests/accessibility/aria-invalid.html b/LayoutTests/accessibility/aria-invalid.html
deleted file mode 100644
index de845d00d1f3e5976765e848acf4b709fece8eb3..0000000000000000000000000000000000000000
--- a/LayoutTests/accessibility/aria-invalid.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body id="body">
-
-
-<input type="text" id="text1" aria-invalid="true">
-<input type="text" id="text2" aria-invalid="grammar">
-<input type="text" id="text3" aria-invalid="">
-<input type="text" id="text4">
-
-<p id="description"></p>
-<div id="console"></div>
-<div id="notifications"></div>
-
-<script>
-
- description("This tests that aria-invalid causes the right attribute to be returned and it ensures a notification is sent when it changes.");
-
- var notificationElement = 0;
- function notificationCallback(notification) {
- if (notification == "AXInvalidStatusChanged") {
- document.getElementById("notifications").innerHTML += "Notification received successfully.";
- notificationElement.removeNotificationListener();
- window.testRunner.notifyDone();
- }
- }
-
- if (window.accessibilityController) {
- window.testRunner.waitUntilDone();
-
- document.getElementById("text1").focus();
- shouldBe("accessibilityController.focusedElement.stringAttributeValue('AXInvalid')", "'true'");
-
- document.getElementById("text2").focus();
- shouldBe("accessibilityController.focusedElement.stringAttributeValue('AXInvalid')", "'grammar'");
-
- document.getElementById("text3").focus();
- shouldBe("accessibilityController.focusedElement.stringAttributeValue('AXInvalid')", "'false'");
-
- document.getElementById("text4").focus();
- shouldBe("accessibilityController.focusedElement.stringAttributeValue('AXInvalid')", "'false'");
-
- notificationElement = accessibilityController.focusedElement;
- var addedNotification = notificationElement.addNotificationListener(notificationCallback);
- shouldBeTrue("addedNotification");
-
- document.getElementById("text4").setAttribute("aria-invalid", "spelling");
- }
-
-</script>
-
-<script src="../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/accessibility/aria-combobox.html ('k') | LayoutTests/accessibility/aria-invalid-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698