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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/accessibility/edit-aria-attributes.html

Issue 2200893003: DevTools: Add autocomplete for ARIA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove test Created 4 years, 4 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/inspector/elements/accessibility/edit-aria-attributes.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/accessibility/edit-aria-attributes.html b/third_party/WebKit/LayoutTests/inspector/elements/accessibility/edit-aria-attributes.html
deleted file mode 100644
index 985365185a24c4ed60b20b5a15cbbaaddcf45120..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/elements/accessibility/edit-aria-attributes.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/elements-test.js"></script>
-<script src="accessibility-pane-test.js"></script>
-<script>
-
-function test()
lushnikov 2016/08/26 23:32:20 You would also want to remove -expected.txt for th
aboxhall 2016/08/26 23:43:58 Oh, facepalm. This test is needed, but didn't need
-{
- WebInspector.viewManager.showView("accessibility.view")
- .then(() => InspectorTest.selectNodeAndWaitForAccessibility("inspected"))
- .then(editAriaChecked);
-
- function editAriaChecked()
- {
- InspectorTest.addResult("=== Before attribute modification ===");
- InspectorTest.dumpSelectedElementAccessibilityNode();
- var treeElement = InspectorTest.findARIAAttributeTreeElement("aria-checked");
- treeElement._startEditing();
- treeElement._prompt._element.textContent = "false";
- treeElement._prompt._element.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
- self.runtime.sharedInstance(WebInspector.AccessibilitySidebarView).doUpdate().then(() => { editRole(); });
- }
-
- function editRole()
- {
- InspectorTest.addResult("=== After attribute modification ===");
- InspectorTest.dumpSelectedElementAccessibilityNode();
- var treeElement = InspectorTest.findARIAAttributeTreeElement("role");
- treeElement._startEditing();
- treeElement._prompt._element.textContent = "radio";
- treeElement._prompt._element.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
- self.runtime.sharedInstance(WebInspector.AccessibilitySidebarView).doUpdate().then(() => { postRoleChange(); });
- }
-
- function postRoleChange()
- {
- InspectorTest.addResult("=== After role modification ===");
- InspectorTest.dumpSelectedElementAccessibilityNode();
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that writing an ARIA attribute causes the accessibility node to be updated.
-</p>
-
-<button id="inspected" role="checkbox" aria-checked="true">ARIA checkbox</button>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698