Commit Graph

1691 Commits

Author SHA1 Message Date
Fernando Herrera
9671863638 Bug 654999 - Wrong end ofset logic in nsHyperTextAccessible::GetTextHelper for text before getting, r=surkov 2011-05-21 15:59:58 +09:00
Alexander Surkov
6bdddc5a57 Bug 657296 - Crash [@ nsAccessibilityService::GetAccessible], r=ginn.chen 2011-05-21 15:59:50 +09:00
Mounir Lamouri
77c1d76262 Merging cedar with mozilla-central. 2011-05-20 15:55:16 +02:00
Daniel Holbert
aaebdc3422 Bug 658494: Fix out-of-order init list in nsAccTreeWalker constructor. r=marcoz 2011-05-20 03:55:37 -07:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Alexander Surkov
7642b76bdd Bug 653607 - IAccessible::accChild fails on ARIA documents, r=davidb 2011-05-20 14:17:47 +09:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Rafael Ávila de Epíndola
85524ac5b6 Bug 655865 - Fix --enable-accessibility build with clang. r=smichaud,joshmoz 2011-05-17 16:00:30 +02:00
Ms2ger
d5df8a6e33 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Ms2ger
a49c5db9c8 Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky 2011-05-15 12:07:28 +02:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
David Bolter
5d565215f4 Bug 640707 - Add event support for aria-sort. r=surkov
Yahoo mail needs this ASAP.

--HG--
rename : accessible/tests/mochitest/events/test_aria_hidden.html => accessible/tests/mochitest/events/test_aria_objattr.html
2011-05-17 12:33:45 -04:00
Trevor Saunders
4679ac0d75 redisable test_singleline.html and test_whitespaces.html because they went permaorange again after tm merge CLOSED TREE 2011-05-13 23:28:56 -04:00
Ehsan Akhgari
15252ef290 Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
Trevor Saunders
980e94d2dc bug 559773 - make html5 progress element accessible (correct constructor indentation) r=whitespaceonly 2011-05-12 08:03:17 -04:00
Alexander Surkov
56e56955f1 Bug 648223 - stop support of accessibility.disableenumvariant pref, r=davidb 2011-05-12 20:37:18 +09:00
Alexander Surkov
588893d7a9 bug 559773 - make html5 progress element accessible r=marcoz,trev
From ed8e50f56d7c619a6df4ac906a5887d9788d58e2 Mon Sep 17 00:00:00 2001
https://bugzilla.mozilla.org/show_bug.cgi?id=559773
---
 accessible/src/base/nsAccessibilityAtomList.h      |    1 +
 accessible/src/base/nsAccessibilityService.cpp     |    9 +-
 accessible/src/base/nsFormControlAccessible.cpp    |  137 ++++++++++++++++++++
 accessible/src/base/nsFormControlAccessible.h      |   22 +++
 accessible/src/html/nsHTMLFormControlAccessible.h  |    5 +
 accessible/src/xul/nsXULFormControlAccessible.cpp  |  133 -------------------
 accessible/src/xul/nsXULFormControlAccessible.h    |   21 +---
 accessible/tests/mochitest/Makefile.in             |    3 +-
 accessible/tests/mochitest/value/Makefile.in       |   55 ++++++++
 .../{test_value.html => value/test_general.html}   |    4 +-
 .../tests/mochitest/value/test_progress.html       |   63 +++++++++
 .../{test_value.xul => value/test_progress.xul}    |    8 +-
 12 files changed, 303 insertions(+), 158 deletions(-)
 create mode 100644 accessible/tests/mochitest/value/Makefile.in
 rename accessible/tests/mochitest/{test_value.html => value/test_general.html} (98%)
 create mode 100644 accessible/tests/mochitest/value/test_progress.html
 rename accessible/tests/mochitest/{test_value.xul => value/test_progress.xul} (93%)

--HG--
rename : accessible/tests/mochitest/test_value.html => accessible/tests/mochitest/value/test_general.html
rename : accessible/tests/mochitest/test_value.xul => accessible/tests/mochitest/value/test_progress.xul
2011-05-11 22:55:12 -04:00
Trevor Saunders
671a0f4f96 bug 652459 - reenable test_singleline.html and test_whitespaces.html r=davidb 2011-05-11 23:27:35 -04:00
Olli Pettay
f83cc47bbe Bug 654770, fix few AddEventListener calls now that it has 2 optional parameters, r=sicking
--HG--
extra : rebase_source : d0a27a6ba059d5862f10ab49f0a079e8928b30fb
2011-05-05 23:33:13 +03:00
Boris Zbarsky
4ad0368a58 Bug 614171 part 3. deCOM qualified name getters a bit. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
e77ac90303 Bug 652459. Temporarily disabling these tests to reopen CLOSED TREE. a=davidb 2011-05-05 09:03:56 -04:00
Trevor Saunders
8fa9ad97db bug 652378 - dexpcom nsAccessible::GetDescription() r=surkov
From 474b06dc24586199d7abf30235b8202b595e9edd Mon Sep 17 00:00:00 2001
---
 accessible/src/atk/nsAccessibleWrap.cpp            |   10 +--
 accessible/src/base/nsAccessible.cpp               |   62 +++++++++++---------
 accessible/src/base/nsAccessible.h                 |    5 ++
 accessible/src/base/nsApplicationAccessible.cpp    |    5 +-
 accessible/src/base/nsApplicationAccessible.h      |    2 +-
 accessible/src/base/nsDocAccessible.cpp            |   15 ++---
 accessible/src/base/nsDocAccessible.h              |    2 +-
 accessible/src/html/nsHTMLImageMapAccessible.cpp   |    6 +-
 accessible/src/html/nsHTMLImageMapAccessible.h     |    2 +-
 accessible/src/html/nsHTMLSelectAccessible.cpp     |   13 ++--
 accessible/src/html/nsHTMLSelectAccessible.h       |    2 +-
 accessible/src/html/nsHTMLTableAccessible.cpp      |   19 +++----
 accessible/src/html/nsHTMLTableAccessible.h        |    2 +-
 accessible/src/mac/mozAccessible.mm                |    5 +-
 accessible/src/msaa/nsAccessibleWrap.cpp           |    4 +-
 accessible/src/xforms/nsXFormsAccessible.cpp       |   18 ++----
 accessible/src/xforms/nsXFormsAccessible.h         |    5 +-
 .../src/xforms/nsXFormsFormControlsAccessible.cpp  |   11 +--
 .../src/xforms/nsXFormsFormControlsAccessible.h    |    4 +-
 .../src/xforms/nsXFormsWidgetsAccessible.cpp       |    5 +-
 accessible/src/xforms/nsXFormsWidgetsAccessible.h  |    2 +-
 accessible/src/xul/nsXULComboboxAccessible.cpp     |   21 ++-----
 accessible/src/xul/nsXULComboboxAccessible.h       |    2 +-
 accessible/src/xul/nsXULListboxAccessible.h        |    2 +-
 accessible/src/xul/nsXULMenuAccessible.cpp         |    9 +--
 accessible/src/xul/nsXULMenuAccessible.h           |    2 +-
 26 files changed, 106 insertions(+), 129 deletions(-)
2011-04-23 09:14:05 -04:00
Craig Topper
0c783e4943 Bug 648885 - Part 3: Remove nsIImageMap. r=roc
--HG--
extra : rebase_source : 179eb2e28f555d2a6159f92aa5ccd6d0af900b2b
2011-04-26 22:51:13 -07:00
Craig Topper
424eee8dac Bug 648885 - Part 2: Remove nsIImageFrame. r=roc
--HG--
extra : rebase_source : 3097ee732ab2ba3b7a79253f7f71c09eed22d033
2011-04-25 23:52:19 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Trevor Saunders
d38a91e804 Bug 653086 - clean up editor configuration lines in a11y atk files, r=surkov 2011-04-27 22:42:27 +09:00
Brad Taylor
2d0ff623b4 Bug 480317 - Provide a way for atk-based plugins to slot into our a11y tree, r=joshmoz, ginn, surkov, trev, patch=btaylor, mcarrion, mgorse 2011-04-27 22:42:18 +09:00
Trevor Saunders
e80a0ff0ba Bug 652380 - nsRootAccessible::NativeState() should only call GetChromeFlags() once, r=surkov 2011-04-27 22:42:03 +09:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Ms2ger
b915e92079 Bug 650235 - Assignment instead of comparison in nsOuterDocAccessible::GetChildAtPoint; r=surkov 2011-04-17 10:48:02 +02:00
Alexander Surkov
a4a5c756db Bug 630486 - ASSERTION 'Want to fire mutation events, but it's not safe' in nsContentUtils::HasMutationListeners triggered by a11y, r=marcoz, gavin, bz, f=davidb
--HG--
rename : accessible/tests/mochitest/tree/test_colorpicker.xul => accessible/tests/mochitest/treeupdate/test_colorpicker.xul
rename : accessible/tests/mochitest/tree/test_button.xul => accessible/tests/mochitest/treeupdate/test_menubutton.xul
2011-04-15 11:11:39 +09:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
d6425e8bd1 Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics. 2011-04-07 18:05:25 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Trevor Saunders
8617b88c4d Bug 649604 - crash [@ nsAccessible::NativeState()], r=marcoz, surkov 2011-04-14 20:49:38 +09:00
Ehsan Akhgari
3b68afadb4 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00
Trevor Saunders
6ba5b807da Bug 619002 - When deleting text from edit fields the wrong text is reported through at-spi r=fernando,ginn.chen f=surkov 2011-03-24 18:03:14 -04:00
Ehsan Akhgari
8e2d030028 Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
David Zbarsky
aa301d629c Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-11 18:56:37 +02:00
Ehsan Akhgari
57ec0a5465 Bug 648904 - Bug 634218 breaks accessibility builds on Mac; r=surkov 2011-04-11 11:50:15 -04:00
Ehsan Akhgari
51c54bf6a6 Merge cedar into mozilla-central 2011-04-10 15:11:22 -04:00
Zack Weinberg
68b29c7007 Bug 648271: don't use nsIDeviceContext::FirstExistingFont in msaa/nsTextAccessibleWrap.cpp. r=surkov.alexander 2011-04-07 18:04:37 -07:00
Trevor Saunders
f06a527120 Bug 634218 - dexpcom accessible state methods, r=surkov 2011-04-10 08:38:06 +09:00
Alexander Surkov
69f4dfb9a9 Bug 648235 - Use more underlying HTML input states for XUL textboxes, r=davidb
--HG--
rename : accessible/tests/mochitest/test_textboxes.xul => accessible/tests/mochitest/states/test_textbox.xul
2011-04-10 08:37:04 +09:00
Trevor Saunders
3730a531ff Add additional IsDefunct() checks in State() methods to fix crashes [@ nsIContent::Tag()]. Bug 648988. r=surkov 2011-04-11 23:18:42 -07:00
Peter Van der Beken
afdf1551f1 Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Ehsan Akhgari
1bf12a739b Backout changeset 4910cd19bc9a (Bug 583514) because it breaks the build as a result of incompatibility with the patches for bug 581177 2011-04-08 07:35:40 -07:00
David Zbarsky
7e54902b80 Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-07 21:52:08 -07:00
Alexander Surkov
c8c1ae2dff Bug 646368 - don't check whether children are cached while tree is traversed, r=davidb 2011-04-07 14:17:54 +09:00
Alexander Surkov
97a7ff7560 Bug 646369 - UpdateTree should rely on accessible tree walker rather than DOM tree traversal, r=davidb 2011-04-07 14:17:29 +09:00
Ehsan Akhgari
fc408ed65e Backout changeset 88eb5b5bb5d2 (bug 583514) because of reftest orange 2011-04-02 07:55:52 -04:00
David Zbarsky
ca29061d7e Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-01 18:50:58 -04:00
Robert O'Callahan
8fd77f670c Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel 2011-04-01 10:33:46 +13:00
Alexander Surkov
c970255e7a Bug 646406 - AccTreeWalker::NextChild should return raw pointer, r=trevor 2011-03-31 18:30:58 +09:00
Alexander Surkov
5ac54c3931 Bug 646376 - remove unused nsAccUtils::HasAccessibleChildren, r=marcoz 2011-03-30 17:59:04 +09:00
Alexander Surkov
7c39c2af84 Bug 646350 - Add a test for dynamic chnages of CSS generated content, r=marcoz 2011-03-30 16:57:09 +09:00
Boris Zbarsky
1e28269482 Bug 557768 - A11y should use nsImageMapUtils; r=surkov 2011-03-29 22:24:54 -04:00
Alexander Surkov
69876f591f Bug 641562 - dexpcom GetChildAtPoint, r=davidb 2011-03-29 13:44:20 +09:00
Alexander Surkov
df663d5574 Bug 643711 - don't use GetChildCount xpcom version internally, r=trevor 2011-03-29 13:44:14 +09:00
Alexander Surkov
af51c22191 Bug 643720 - when adopting child don't invalidate old parent children, r=davidb 2011-03-29 13:44:07 +09:00
Boris Zbarsky
0a7e20bbec Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Ehsan Akhgari
73a35597a9 Merge mozilla-central into cedar 2011-03-28 14:39:03 -04:00
Ehsan Akhgari
db0e06d061 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Trevor Saunders
c735992881 Bug 635952 - crash [@ notificationController::IsTreeConstructed() ] on shutdown, r=surkov, fer, a=blocking2.x+ 2011-03-28 23:00:02 +09:00
Alexander Surkov
8eec39795c Bug 629114 - crash on add comment link in review board [@ nsBulletFrame::GetListItemText ] [@ nsBulletFrame::GetListItemText(nsStyleList const&, nsString&) ], r=davidb, marcoz, sr=bz, a=blocking2.x+ 2011-03-28 22:59:54 +09:00
Alexander Surkov
0f5f6be48e Bug 644084 - crash [@ nsAccessNodeWrap::get_attributesForNames(unsigned short, unsigned short**, short*, unsigned short**)], r=marcoz, a=blocking2.x+ 2011-03-28 22:59:44 +09:00
Alexander Surkov
f8a3afcdae Bug 598578 - Crash [@ PL_DHashTableOperate | nsTHashtable<nsBaseHashtableET<nsUint32HashKey, nsCOMPtr<nsILocalFile> > >::RemoveEntry(unsigned int const&) ], r=davidb, f=marcoz, a=blocking2.x+ 2011-03-28 22:59:36 +09:00
Alexander Surkov
74448264ac Bug 643906 - Firefox 4.0 Crash Report [@ nsAccessible::AsHyperText() ], r=davidb, a=blocking2.x+ 2011-03-28 22:59:28 +09:00
Alexander Surkov
5dbb04e848 Bug 628603 - Crash in nsDocAccessible::CacheChildrenInSubtree [@ nsAccessNode::IsContent() ], r=davidb, a=blocking2.x+ 2011-03-28 22:59:17 +09:00
Alexander Surkov
8ead437c57 Bug 630828 - Crash [@ nsAccessible::UpdateChildren() ], r=davidb, a=blocking2.x+ 2011-03-28 22:59:08 +09:00
Alexander Surkov
ae07293967 Bug 638326 - getTextAtOffset line boundary may return more than one line, r=david, neil, f=marcoz, a=blocking2.x+ 2011-03-28 22:58:59 +09:00
Ms2ger
82697a892d Bug 581644 - Make nsHTMLDocument::GetImageMap return dom::Element; r=peterv 2011-03-28 12:51:59 -04:00
Mounir Lamouri
cc185260b6 Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg 2011-03-25 12:14:19 +01:00
Marco Zehe
1cc04b9ca4 Bug 644206 - attributes/test_text.html should be loaded as UTF-8, r=surkov 2011-03-25 13:19:18 +01:00
L. David Baron
af9a4f98db Merge layout work from projects/birch, part 4. a=rs 2011-03-24 14:36:14 -07:00
Boris Zbarsky
4635536259 Bug 606087. Don't reframe if overflow styles change on inlines. r=dbaron. Test changes by Alexander Surkov, r=marco.zehe 2011-03-23 09:56:58 -04:00
Ehsan Akhgari
a66644eabc Merge cedar onto mozilla-central 2011-03-23 12:07:34 -04:00
Dão Gottwald
3fc551c979 Remove bogus argument from addProgressListener calls in a11y tests for bug 608628 2011-03-23 14:43:56 +01:00
Dão Gottwald
c333a3c4e6 Bug 608628 followup, fixing up a11y tests 2011-03-23 13:54:39 +01:00
Alexander Surkov
0d22208e58 Bug 638106 - CKEditor document should be editable, r=davidb, a=final+ 2011-03-03 14:41:46 +08:00
Kyle Huey
94ef69bcce Merge m-c to bs. 2011-03-22 20:10:05 -04:00
Serge Gautherie
2196b4d02c Bug 544170 - [SeaMonkey 2.1] mochitest-a11y: tree/test_tabbrowser.xul fails, due to "tabbrowser API" dependencies and different application UIs; (Cv1) Add SimpleTest.executeSoon() fwiw.
r=surkov.alexander (a=test-only).
2011-03-21 17:27:43 +01:00
Serge Gautherie
5cbff2e207 Bug 642420 - XPFE autocomplete.xml: investigate removing explicit <children includes="menupopup"/>; (Av1) Just remove it, Update a11y test_combobox.xul.
f=surkov.alexander r=neil (a=NPOTDB).
2011-03-21 14:43:04 +01:00
Serge Gautherie
d54db2fd52 Bug 544170 - [SeaMonkey 2.1] mochitest-a11y: tree/test_tabbrowser.xul fails, due to "tabbrowser API" dependencies and different application UIs; (Bv1a) Add support for SeaMonkey tabbrowser UI, Extend existing checks (for Firefox tabbrowser UI), Call removeProgressListener().
f=neil r=surkov.alexander (a=test-only).
2011-03-21 14:37:57 +01:00
Serge Gautherie
b18abbf1ba Bug 535893 - [SeaMonkey 2.1] mochitest-a11y: test_combobox.xul fails; (Av1a) Add support for XPFE autocomplete popup and differently ordered children, Add explicit "no children" checks.
f=neil r=surkov.alexander (a=test-only).
2011-03-17 13:01:25 +01:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Kyle Huey
1b4c77163a Merge m-c to bs. 2011-03-15 19:23:20 -04:00
Alexander Surkov
23b9e5d64a Bug 455840 - change test_nsIAccessible_focus.html mochitest to use eventQueue, r=marcoz, a=test-only
--HG--
rename : accessible/tests/mochitest/test_nsIAccessible_focus.html => accessible/tests/mochitest/test_takeFocus.html
2011-03-14 19:28:33 +08:00
Serge Gautherie
7cf3812b2b Bug 641358 - "Document" that test_txtctrl.xul uses a deprecated 'timed' textbox (too); (Av1) Just do it.
r=marco.zehe (a=test-only).
DONTBUILD
2011-03-14 12:13:05 +01:00
Marco Zehe
4524bc0daf Bug 415943 - Test that password field text is not readable through accessibility APIs, r=surkov, a=test-only 2011-03-14 10:21:48 +01:00
Alexander Surkov
34f2d0cb46 Bug 612872 - HAL/Supernova needs tweaks to our window emulation, r=davidb, sr=roc, a=davidb 2011-03-02 22:41:42 +08:00
Alexander Surkov
0f5d250d99 Bug 636945 - add downcasting for nsRootAccessible, r=davidb, a=davidb 2011-03-02 13:16:28 +08:00