Bug 743114 - Regression: Autocomplete role should be ignored on Mac. r=tbsaunde
authorHub Figuière <hfiguiere@mozilla.com>
Thu, 05 Apr 2012 18:49:43 -0700
changeset 94454 9259d8ea774b3319f53bfb39ace00ec071bc5edb
parent 94453 e8fb716946e00537197ff02a051b9e440fe41e86
child 94455 d966f9a5e4f27862bfea69d624ec6bfe43edc34b
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstbsaunde
bugs743114
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 743114 - Regression: Autocomplete role should be ignored on Mac. r=tbsaunde
accessible/src/mac/nsRoleMap.h
--- a/accessible/src/mac/nsRoleMap.h
+++ b/accessible/src/mac/nsRoleMap.h
@@ -137,17 +137,17 @@ static const NSString* AXRoles [] = {
   NSAccessibilityGroupRole,                     // roles::TEXT_CONTAINER       92
   NSAccessibilityButtonRole,                    // roles::TOGGLE_BUTTON        93
   NSAccessibilityTableRole,                     // roles::TREE_TABLE           94
   NSAccessibilityUnknownRole,                   // roles::VIEWPORT             95
   NSAccessibilityGroupRole,                     // roles::HEADER               96
   NSAccessibilityGroupRole,                     // roles::FOOTER               97
   NSAccessibilityGroupRole,                     // roles::PARAGRAPH            98
   @"AXRuler",                                   // roles::RULER                99     10.4+ only, so we re-define the constant.
-  NSAccessibilityComboBoxRole,                  // roles::AUTOCOMPLETE         100
+  NSAccessibilityUnknownRole,                   // roles::AUTOCOMPLETE         100
   NSAccessibilityTextFieldRole,                 // roles::EDITBAR              101
   NSAccessibilityTextFieldRole,                 // roles::ENTRY                102
   NSAccessibilityStaticTextRole,                // roles::CAPTION              103
   NSAccessibilityScrollAreaRole,                // roles::DOCUMENT_FRAME       104
   @"AXHeading",                                 // roles::HEADING              105
   NSAccessibilityGroupRole,                     // roles::PAGE                 106
   NSAccessibilityGroupRole,                     // roles::SECTION              107
   NSAccessibilityUnknownRole,                   // roles::REDUNDANT_OBJECT     108