Index: LayoutTests/accessibility/readonly.html |
diff --git a/LayoutTests/accessibility/readonly.html b/LayoutTests/accessibility/readonly.html |
index 537358b152905127f74a5991e0f6954a5323d721..05c4f2bd989d654ecb18c67767f0c4765de2acd6 100644 |
--- a/LayoutTests/accessibility/readonly.html |
+++ b/LayoutTests/accessibility/readonly.html |
@@ -62,6 +62,12 @@ if (window.testRunner && window.accessibilityController) { |
check("aria-link1", true); |
check("contenteditable_root1", false); |
check("contenteditable_button1", false); |
+ |
+ // An additional check for a mock AX object. |
+ var axSelect = accessibilityController.accessibleElementById('combobox1'); |
+ var axMenuListPopup = axSelect.childAtIndex(0); |
+ shouldBe("axMenuListPopup.role", "\"AXRole: AXMenuListPopup\""); |
+ shouldBe("axMenuListPopup.isReadOnly", "true"); |
} |
</script> |