Commit Graph

172 Commits

Author SHA1 Message Date
Alexander Surkov
c4760e4a35 Bug 1252857 - Value change events for HTML:select have wrong target. r=marcoz, a=ritu 2016-03-18 16:22:17 -04:00
alexander
0f5bdd116f Bug 1249253 - "After bug 1133213, in Google Docs, screen readers started to say "blank" before characters, lines, and when navigating". r=yzenevich a=ritu 2016-03-14 11:16:00 +01:00
Alexander Surkov
f1b74b524a Bug 1251871 - text removal from a hypertext may result in empty text nodes, r=davidb 2016-03-05 12:26:18 -05:00
Alexander Surkov
f04fccab23 Bug 1251944 - get rid of nsCoreUtils::GetRoleContent, r=davidb 2016-03-04 10:36:18 -05:00
Alexander Surkov
d3c1486c94 Bug 1251941 - aria::GetRoleMap should take element, r=davidb 2016-03-03 07:45:47 -05:00
Alexander Surkov
3d0ddc91ae Bug 1251897 - DocAccessible constructor doesn't have to take root element as an argument, r=davidb 2016-03-02 09:39:06 -05:00
Alexander Surkov
6647b0c3d8 Bug 1251743 - ARIA owns reallocation may insert a child at wrong index, r=yzen 2016-03-01 14:35:01 -05:00
Alexander Surkov
c970d68052 Bug 1252260 - get rid of HTML table CacheChildren, r=marcoz 2016-03-01 10:54:49 -05:00
Alexander Surkov
535060484a Bug 1251712 - propagate a context flag for alerts, r=davdib 2016-02-29 10:08:40 -05:00
Alexander Surkov
ea242908b9 Bug 1251680 - get container accessible computation should take into account the HTML select, r=marcoz 2016-02-29 10:05:29 -05:00
Alexander Surkov
a04727e373 Backout changeset 16516bf9614b, because of wrong bug reference 2016-02-29 10:04:49 -05:00
Alexander Surkov
322fee727a Bug 1250878 - add acceptable child check for HTML select, r=marcoz 2016-02-27 07:55:30 -05:00
Alexander Surkov
08d3ca130e Bug 1251218 - add special TreeWalker constructor for children creation, r=marcoz 2016-02-26 13:29:27 -05:00
Alexander Surkov
076d751e5c Backout bug 1251218 2016-02-26 11:04:05 -05:00
Alexander Surkov
eecd2c640f Bug 1251218 - add special TreeWalker constructor for children creation, r=marcoz 2016-02-26 10:53:21 -05:00
Alexander Surkov
42491c0b86 Bug 1250715 - no acceptable children for leafs, r=marcoz 2016-02-25 10:42:52 -05:00
Alexander Surkov
059bea2587 Bug 1250333 - do not create accessibles for trailing BRs, r=davidb, roc 2016-02-25 07:09:59 -05:00
Alexander Surkov
790ee48605 Bug 1250506 - check if node is acceptable as a child before creating an accessible for it, r=davidb 2016-02-24 08:01:21 -05:00
Alexander Surkov
44b18c5321 Bug 1249927 - devirtualize CanHavaAnonymousChildren, r=davdib 2016-02-22 12:32:03 -05:00
Alexander Surkov
342fe40b7f Bug 1248838 - ARIA owns change may fail, r=yzen 2016-02-19 13:11:33 -05:00
Alexander Surkov
1f22c9eeb2 Bug 1248840 - rename TreeWalker::NextChild, r=yzen 2016-02-18 17:57:17 -05:00
Gijs Kruitbosch
38bcf918e4 Bug 1216478 - prefer tooltiptext on a XUL element over title attribute on a containing toolbaritem when determining accessible name, r=surkov
MozReview-Commit-ID: Cv0Kl5U02jy
2016-01-20 13:47:42 +00:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Ting-Yu Lin
a6c945b2bc Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats 2016-01-29 22:42:14 +08:00
Trevor Saunders
6ec025eab0 bug 1241453 - factor dispatching nsIAccessibleEvents out of HandleAccEvent() r=davidb 2016-01-26 07:49:25 -05:00
Alexander Surkov
28d32c5bd2 Bug 1233118 - implement IAccessible2_3::selectionRanges, r=yzen 2016-01-20 12:53:03 -05:00
Eitan Isaacson
17f0419b09 Bug 1239051 - Labels should expose labeled controllers action. r=tbsaunde 2016-01-14 12:37:15 -08:00
Nicholas Nethercote
4d571fac6a Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde. 2015-12-15 21:24:06 -08:00
Alexander Surkov
ae937250ed Bug 1231919 - crash in mozilla::a11y::DocAccessible::ValidateARIAOwned, r=davidb 2015-12-14 12:02:23 -05:00
Bogdan Postelnicu
8788be63f1 Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov 2015-12-03 14:07:43 -08:00
Wes Kocher
eeb9653e5f Backed out 2 changesets (bug 1230118, bug 1230110) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset a9ce85f77af9 (bug 1230118)
Backed out changeset b9d8d05aa4ee (bug 1230110)
2015-12-03 15:38:04 -08:00
Bogdan Postelnicu
8718be8320 Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov 2015-12-03 14:07:43 -08:00
Robert O'Callahan
884728e2c1 Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats 2015-12-01 02:21:25 +13:00
Alexander Surkov
c6ff5773fa Bug 1213281 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnInsertion, r=davidb 2015-11-26 20:46:12 -05:00
Nicholas Nethercote
ed2c7d6ad2 Bug 1224403 (part 8) - Use LayoutDeviceIntMargin more in HyperTextAccessible. r=kats. 2015-11-12 05:34:27 -08:00
Nicholas Nethercote
92d3c8eb1b Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats. 2015-11-11 19:56:06 -08:00
Nicholas Nethercote
7215329de9 Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
2015-11-09 21:37:32 -08:00
Trevor Saunders
4871fe153a bug 1213402 - separate value change events into text value changes and numeric value changes r=davidb
Arguably these are different things, and it will be easier to proxy events for
atk this way because atk only wants the numeric value changes.
2015-11-10 15:55:08 -05:00
Alexander Surkov
dc5dbfe957 Bug 1221542, bug 1221543 - crash in mozilla::a11y::DocAccessible::SeizeChild/PutChildrenBack, r=davidb 2015-11-09 14:47:38 -05:00
Alexander Surkov
3b2b3cbc7c Bug 582024 - ARIA active-descendant should work for ARIA owned elements, r=yzen 2015-11-03 11:03:34 -05:00
Alexander Surkov
f84f5ef832 Bug 1219744 - no child_of/parent_of relations for aria-owns, r=yzen 2015-11-02 12:42:27 -05:00
Robert O'Callahan
c9cf62c475 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.
2015-10-30 19:23:10 +13:00
Alexander Surkov
5c8dc74dae Bug 1219299 - rework aria-owns implementation, r=yzen 2015-10-29 18:08:48 -04:00
Kyle Huey
fffe5cc829 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Robert O'Callahan
37b74104b6 Revert incorrectly committed changes ab657569f554 and a396f4262479 2015-10-24 22:38:22 +13:00
Robert O'Callahan
162b00750e Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.
2015-10-24 22:27:29 +13:00
Nicholas Nethercote
e9d0adefb3 Bug 1186786 - Replace nsBaseHashtable::EnumerateRead() calls in accessible/ with iterators. r=tbsaunde. 2015-10-19 17:52:43 -07:00
Nathan Froyd
e4e2da55c9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Trevor Saunders
906aa7a1f0 bug 1213327 - allow accessibles wrapping proxies to store the set of interfaces implemented by the proxy r=davidb
This is not a nice solution, however its basically the only option.  We need to
store the set of interfaces the proxy implementes, preferably without
increasing the size of ProxyAccessibleWrap.
2015-10-16 16:13:38 -04:00
Olli Pettay
f71a066625 Bug 1214316 - Improve assertions on top level remote accessible doc handling, r=tbsaunde 2015-10-13 22:00:35 +03:00