Граф коммитов

298 Коммитов

Автор SHA1 Сообщение Дата
Alexander Surkov 41a839ff6b Bug 1261408 - detect ARIA owned children early to avoid tree moving, r=yzen 2016-04-06 07:58:58 -04:00
Alexander Surkov ead73ecd57 Bug 1261177 - split GetOrCreateAccessible method into two (Get and Create versions), r=yzen 2016-04-06 07:23:41 -04:00
Alexander Surkov 62081fdb80 Bug 1261170 - add a single node ProcessContentInserted method version, r=yzen 2016-04-05 20:48:30 -04:00
Alexander Surkov c2cdfb8b81 Bug 1261167 - remove Accessible::TestChildCache, r=marcoz 2016-04-05 17:35:31 -04:00
Alexander Surkov 167cbebba2 Bug 1261165 - remove Accessible::ChildrenFlags, r=yzen 2016-04-05 17:34:00 -04:00
alexander ddd1904862 Bug 1260862 - "remove Cache/EnsureChildren". r=mzehe 2016-03-30 12:53:00 +02:00
alexander 5ce933a8d2 Bug 1261377 - "With current child caching reorganization, NVDA is no longer able to render some content". r=mzehe 2016-04-01 09:39:00 +02:00
Alexander Surkov c9b15d3087 Bug 1260860 - stop illicit accessible stealing, r=yzen 2016-04-01 11:07:57 -04:00
Alexander Surkov a85d9d1c0c Bug 1260496 - get rid of CacheChildren for application accessible, r=marcoz 2016-04-01 10:57:06 -04:00
Alexander Surkov 89c58301b4 Bug 1260494 - rebuild child indexes by AutoTreeMutation guard, r=yzen 2016-04-01 10:53:52 -04:00
Alexander Surkov 35ac8eea5d Bug 1260277 - remove empty CacheChildren's, r=marcoz 2016-03-31 21:40:56 -04:00
Alexander Surkov 5165ca54aa Bug 1258228 - create special child accessibles in owner's constructor, part1, r=marcoz 2016-03-31 21:22:34 -04:00
Alexander Surkov e66c565efd Bug 1256461 - merge MoveChild and SeizeChild methods, r=yzen 2016-03-31 21:22:13 -04:00
Alexander Surkov 7e614aef9d Bug 1260237 - remove InvalidateChildren, r=yzen 2016-03-31 20:46:58 -04:00
Alexander Surkov 35d213f532 Bug 1260187 - remove recaching version of DocAccessible::UpdateTreeOnInsertion, r=yzen 2016-03-31 20:46:45 -04:00
Alexander Surkov 7fcc93f841 Bug 1255617 - make PutChildrenBack to insert accessibles instead the recaching, r=yzen 2016-03-30 10:47:36 -04:00
Alexander Surkov f04d43e6a0 Bug 1255614 - make ProcessInvalidationList to insert accessibles instead the recaching, r=yzen 2016-03-29 09:20:43 -04:00
Alexander Surkov d3f1ea74cd Bug 1255009 - insert children into the tree on content insertion instead the recaching, r=yzen 2016-03-28 13:40:21 -04:00
Alexander Surkov e437e00f04 Bug 1252857 - value change events for HTML:select have wrong target, r=marcoz 2016-03-18 16:22:17 -04:00
Trevor Saunders 2c05850952 bug 1257287 - add nsIDocShell::GetEdItingSession() 2016-03-18 15:54:07 -04:00
Mike Hommey 7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Nicholas Nethercote 7cb4896c8f Bug 1255655 - Const-ify sWAIRoleMaps. r=tbsaunde.
--HG--
extra : rebase_source : 1274cdb26bbc41456e91b67849733bfb5bc89401
2016-03-11 13:13:01 +11:00
Ryan VanderMeulen e93eed0ec2 Backed out changeset 4916251eb389 (bug 1255009) for breaking AWSY.
--HG--
extra : rebase_source : 3c018d36597e8e4becc06b744bead086796d2e63
extra : histedit_source : 2c99af1f289f0d0ddd8df6c207492c547315ce7d
2016-03-15 12:40:07 -04:00
Ryan VanderMeulen 706d97900d Backed out changeset 14092b3cacbe (bug 1255614) because it blocks bug 1255009 from being backed out.
--HG--
extra : rebase_source : 0b1027cd8a156536f561c56662696ef1c35e3e8a
extra : histedit_source : 4d18d24cbd36cde0c7b5187b7e797a13d4dbf60a
2016-03-15 12:39:43 -04:00
Alexander Surkov f5fca44245 Bug 1255614 - make ProcessInvalidationList to insert accessibles instead the recaching, r=yzen 2016-03-14 17:28:08 -04:00
Alexander Surkov 900d88c035 Bug 1255009 - insert children into the tree on content insertion instead the recaching, r=yzen 2016-03-11 11:35:35 -05:00
Alexander Surkov 8efa10b16c Bug 1249253 - content removal processing can wrongly remove ARIA owned children, r=yzen 2016-03-10 15:46:44 -05:00
Alexander Surkov 3ed80742a7 Bug 1249730 - make TreeWalker bi-directional, r=yzen 2016-03-07 16:43:27 -05:00
Alexander Surkov 1c0239e18b 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 5f66eadca0 Bug 1251944 - get rid of nsCoreUtils::GetRoleContent, r=davidb 2016-03-04 10:36:18 -05:00
Alexander Surkov 4a93a11cd7 Bug 1251941 - aria::GetRoleMap should take element, r=davidb 2016-03-03 07:45:47 -05:00
Alexander Surkov 2bf7aa7227 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 e03035ce3f Bug 1251743 - ARIA owns reallocation may insert a child at wrong index, r=yzen 2016-03-01 14:35:01 -05:00
Alexander Surkov 88b0765ee7 Bug 1252260 - get rid of HTML table CacheChildren, r=marcoz 2016-03-01 10:54:49 -05:00
Alexander Surkov bd8b96d1c0 Bug 1251712 - propagate a context flag for alerts, r=davdib 2016-02-29 10:08:40 -05:00
Alexander Surkov 84d2440496 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 81c03ec4e8 Backout changeset 16516bf9614b, because of wrong bug reference 2016-02-29 10:04:49 -05:00
Alexander Surkov 9feeb71568 Bug 1250878 - add acceptable child check for HTML select, r=marcoz 2016-02-27 07:55:30 -05:00
Alexander Surkov 26f40b9ba5 Bug 1251218 - add special TreeWalker constructor for children creation, r=marcoz 2016-02-26 13:29:27 -05:00
Alexander Surkov 8d10d8bfb6 Backout bug 1251218 2016-02-26 11:04:05 -05:00
Alexander Surkov 0eb122a31e Bug 1251218 - add special TreeWalker constructor for children creation, r=marcoz 2016-02-26 10:53:21 -05:00
Alexander Surkov 54fb8b2c7c Bug 1250715 - no acceptable children for leafs, r=marcoz 2016-02-25 10:42:52 -05:00
Alexander Surkov d26328b368 Bug 1250333 - do not create accessibles for trailing BRs, r=davidb, roc 2016-02-25 07:09:59 -05:00
Alexander Surkov 3ac6460f92 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 58922d0029 Bug 1249927 - devirtualize CanHavaAnonymousChildren, r=davdib 2016-02-22 12:32:03 -05:00
Alexander Surkov 0b5d5b3e24 Bug 1248838 - ARIA owns change may fail, r=yzen 2016-02-19 13:11:33 -05:00
Alexander Surkov aee776059c Bug 1248840 - rename TreeWalker::NextChild, r=yzen 2016-02-18 17:57:17 -05:00
Gijs Kruitbosch af8ae4ede1 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

--HG--
extra : rebase_source : 40ff881eabb42579a25e22c6c290ce3c5d0e7634
2016-01-20 13:47:42 +00:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Ting-Yu Lin 1889f6bc41 Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Trevor Saunders 0f654643cf bug 1241453 - factor dispatching nsIAccessibleEvents out of HandleAccEvent() r=davidb 2016-01-26 07:49:25 -05:00
Alexander Surkov 356a8b6d75 Bug 1233118 - implement IAccessible2_3::selectionRanges, r=yzen 2016-01-20 12:53:03 -05:00
Eitan Isaacson 7f81b68d25 Bug 1239051 - Labels should expose labeled controllers action. r=tbsaunde 2016-01-14 12:37:15 -08:00
Nicholas Nethercote 3ba02d7a9b Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde.
--HG--
extra : rebase_source : 7cdef8244e2b44b89e8061f66d45d40cbf245041
2015-12-15 21:24:06 -08:00
Alexander Surkov 37b5a7125a Bug 1231919 - crash in mozilla::a11y::DocAccessible::ValidateARIAOwned, r=davidb 2015-12-14 12:02:23 -05:00
Bogdan Postelnicu cb90360057 Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov
--HG--
extra : commitid : 5Hi6E55At3
extra : source : a9ce85f77af9188fcb7500b3e156df1ad17a49e5
2015-12-03 14:07:43 -08:00
Wes Kocher 286a265f77 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)

--HG--
extra : commitid : 9wnrd9NnBlp
2015-12-03 15:38:04 -08:00
Bogdan Postelnicu 10821cd308 Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov
--HG--
extra : commitid : DZ2Gxt3duam
extra : rebase_source : f35ddfd3a3eea486b0f1d23896bd158663132b2e
2015-12-03 14:07:43 -08:00
Robert O'Callahan 3568d59638 Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats
--HG--
extra : commitid : DBGsn68FsG4
extra : rebase_source : 7b8f6211c2719dd017fef7e47d4dcdb3aeadfde4
2015-12-01 02:21:25 +13:00
Alexander Surkov 9df31a4c50 Bug 1213281 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnInsertion, r=davidb 2015-11-26 20:46:12 -05:00
Nicholas Nethercote a62e6ee5b7 Bug 1224403 (part 8) - Use LayoutDeviceIntMargin more in HyperTextAccessible. r=kats.
--HG--
extra : rebase_source : 0e3cf7566f640f3165d677f67c005b43e290ac94
2015-11-12 05:34:27 -08:00
Nicholas Nethercote 7922110bde Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
--HG--
extra : rebase_source : 5197f42325d36313ad8c6178baaabcf6f7df532c
2015-11-11 19:56:06 -08:00
Nicholas Nethercote ad0dd8414a 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.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Trevor Saunders 3dd3759899 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 d5d70c968a Bug 1221542, bug 1221543 - crash in mozilla::a11y::DocAccessible::SeizeChild/PutChildrenBack, r=davidb 2015-11-09 14:47:38 -05:00
Alexander Surkov 6606e57d29 Bug 582024 - ARIA active-descendant should work for ARIA owned elements, r=yzen 2015-11-03 11:03:34 -05:00
Alexander Surkov 08b94a69ed Bug 1219744 - no child_of/parent_of relations for aria-owns, r=yzen 2015-11-02 12:42:27 -05:00
Robert O'Callahan 2d8cd33dc4 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.

--HG--
extra : commitid : 42YjYQUaiwY
extra : rebase_source : 69d3a9c5086c116365a0488d1b4fc52fc6524196
2015-10-30 19:23:10 +13:00
Alexander Surkov 54171e1ece Bug 1219299 - rework aria-owns implementation, r=yzen 2015-10-29 18:08:48 -04:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Robert O'Callahan 0e2b65352f Revert incorrectly committed changes ab657569f554 and a396f4262479
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan ff38db98f3 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.

--HG--
extra : commitid : Dn0U0KPLfbY
extra : rebase_source : 57a6ad2e3ba1f7ec6aef9b940d8facdbba7e9c91
2015-10-24 22:27:29 +13:00
Nicholas Nethercote ae59720e00 Bug 1186786 - Replace nsBaseHashtable::EnumerateRead() calls in accessible/ with iterators. r=tbsaunde.
--HG--
extra : rebase_source : 3909fa78de6ce0b3d6acd9fe2017e7cb5021c84f
2015-10-19 17:52:43 -07:00
Nathan Froyd 01583602a9 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Trevor Saunders 034d16ce0e 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 46310c2e6d Bug 1214316 - Improve assertions on top level remote accessible doc handling, r=tbsaunde 2015-10-13 22:00:35 +03:00
Olli Pettay 42685fa873 Bug 1213382 - proxy more accessible selection methods, r=tbsaunde
--HG--
extra : rebase_source : 1d8d688d4b1ab671aed5ba28bdcc14b2c4b94f70
2015-10-13 22:08:00 +03:00
Alexander Surkov e710c70483 Bug 1212457 - crash at ARIARowAccessible::GroupPosition(), r=marcoz 2015-10-08 08:02:52 -04:00
Trevor Saunders ca465b7667 bug 1209615 - add RootAccessible::GetPrimaryRemoteTopLevelContentDoc() r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders c3e44cb6c3 bug 1209615 - use TabParent::GetTopLevelDocAccessible() in OuterDocAccessible::RemoteChildDoc() r=davidb 2015-10-07 18:26:56 -04:00
Alexander Surkov fdec90f014 Bug 1206107 - crash beginning in nightly 0916 in mozilla::a11y::Accessible::HasGenericType, part2, r=tbsaunde 2015-10-07 10:59:02 -04:00
Alexander Surkov cec5cfb0c2 Bug 1205341 - get rid of aria-owns provided relations, part1: remove ARIA combobox special support (bug 819273 backout), r=yzen 2015-10-05 11:28:35 -04:00
Bobby Holley e91aae8249 Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
Alexander Surkov 626112a60a Bug 1205318 - make aria-owns loop alg more sophisticated, r=yzen 2015-09-29 15:17:40 -04:00
Nigel Babu 2ea092cec1 Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley 46f21127a1 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Alexander Surkov 58707d9e40 Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, part2, r=davidb 2015-09-28 16:04:40 -04:00
Brian Grinstead d23fa8b95a Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Alexander Surkov dd066fa40e Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), part3, r=davidb 2015-09-25 12:11:49 -04:00
Alexander Surkov 0b7aa7d6ab Bug 1206107 - fire show event for reallocated accessible after it was reallocated, r=tbsaunde 2015-09-22 16:46:40 -04:00
Alexander Surkov f78dc55625 Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList, part2, r=davidb 2015-09-21 12:47:02 -04:00
Alexander Surkov 8e32332f23 Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, r=davidb 2015-09-20 04:02:05 -04:00
Alexander Surkov cd9b877daf Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), r=smaug 2015-09-18 08:52:46 -04:00
Alexander Surkov 787c99ae00 Bug 1133213 - make aria-owns to alter the accessible tree, fire show/hide mutation events as we do for the accessible tree alterations, r=yzen, f=davidb 2015-09-15 12:01:51 -04:00
Wes Kocher a5dd43b204 Backed out changeset 0f4a1154350d (bug 1133213) for frequent a11y crashes CLOSED TREE 2015-09-14 16:08:47 -07:00
Alexander Surkov fea219d6cd Bug 1133213 - make aria-owns to alter the accessible tree, fire show/hide mutation events as we do for the accessible tree alterations, r=yzen, f=davidb 2015-09-11 20:54:27 -04:00
Masayuki Nakano 51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Masayuki Nakano db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Alexander Surkov 3bf1725065 Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition(), part2, r=marcoz 2015-08-28 10:52:21 -04:00
Alexander Surkov 41c06ffb4f Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition, r=marcoz 2015-08-18 20:38:24 -04:00
Trevor Saunders 8a4065a2ee bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-08-12 10:50:38 -04:00
Lorien Hu 8b671e5993 Bug 1175913 - (Part 1) Subscribe to EventListenerService and recreate accessibles on click listener changes r=tbsaunde 2015-08-04 23:35:54 -04:00
Lorien Hu 9869066c12 Bug 1189108 - Walk up tree to get LinkableAccessible actions instead of caching r=tbsaunde 2015-08-04 23:33:54 -04:00
Robert O'Callahan efd3df82d6 Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
--HG--
extra : commitid : 8C2GnpowyCS
extra : rebase_source : 3f2948df48fe13f65425345f7b674e4e4869c861
2015-07-25 18:05:19 +12:00
Robert O'Callahan 1e49288224 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12:00
Trevor Saunders 723cbf3c16 bug 1185157 make sure we don't send an event to a destroyed ipc document r=billm 2015-07-23 14:49:18 -04:00
Frédéric Wang a5efb9235a Bug 1177765 - Add xmlroles for MathML. r=surkov 2015-07-16 05:43:00 -04:00
Wes Kocher cb65c5fc0c Backed out changeset f4651e7cfb26 (bug 1172516) for mn-e10s orange CLOSED TREE 2015-07-14 14:36:06 -07:00
Trevor Saunders 63ae8dfd46 bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-07-14 15:45:57 -04:00
Trevor Saunders 59f17c9689 bug 1172523 - fire useful text change events for proxies r=lsocks 2015-07-14 11:02:03 -04:00
Trevor Saunders 6b4b770150 bug 1172525 - rework forwarding events to the parent process r=davidb, lsocks
The set of events fired to platform accessibility is not the same as the set in
the event queue.  Therefore we should forward events to the parent process
someplace where they are the same so the same events can be emitted for child
processes.
2015-07-13 13:57:48 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Dragana Damjanovic 7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Frédéric Wang 49726bae1b Bug 1179483 - Fix crash in mozilla::a11y::HyperTextAccessible::RelationByType. r=MarcoZ 2015-07-02 08:50:00 -04:00
Alexander Surkov 33ff352b01 Bug 1177268 - implement aria-rowcount/index and aria-colcount/index, r=marcoz 2015-06-26 14:41:22 -07:00
Alexander Surkov 096ad7999f Bug 1173364 - support ARIA table and cell roles, r=marcoz 2015-06-25 11:59:06 -07:00
Frédéric Wang e91c4e1cbd Bug 1176123 - Add NODE_CHILD_OF/NODE_PARENT_OF relations to mroot. r=surkov
--HG--
extra : rebase_source : 82d13c7ace7b5cd7a7a1902e5845f30b7b32bd2b
2015-06-24 15:40:00 +02:00
Alexander Surkov 4db8f115d7 Bug 1176683 - crash in mozilla::a11y::HyperTextAccessible::LandmarkRole() const, r=marcoz 2015-06-24 15:48:29 -07:00
Ryan VanderMeulen 980d366234 Backed out 5 changesets (bug 1172516, bug 1172525, bug 1172523) for e10s test_selectioncarets2.py failures.
Backed out changeset 65d9144969e4 (bug 1172516)
Backed out changeset 3368f2dc0ee6 (bug 1172523)
Backed out changeset d6096f9659f7 (bug 1172523)
Backed out changeset cda3d99ef134 (bug 1172523)
Backed out changeset a411d320bdba (bug 1172525)

CLOSED TREE

--HG--
extra : histedit_source : fc97de5cf682142a7e5a67bd32d1bd85ad0c24ea
2015-06-11 14:01:50 -04:00
Trevor Saunders deef848ec8 bug 1172516 - fix firing caret move events for proxied accessibles r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders 0371f179fc bug 1172523 - fire useful text change events for proxies r=lsocks 2015-06-11 11:40:00 -04:00
Trevor Saunders 0fb2b11d5c bug 1172525 - rework forwarding events to the parent process r=davidb, lsocks
The set of events fired to platform accessibility is not the same as the set in
the event queue.  Therefore we should forward events to the parent process
someplace where they are the same so the same events can be emitted for child
processes.
2015-06-11 11:39:58 -04:00
Trevor Saunders b34649577e bug 1107337 - Add OuterDocAccessible::RemoteChildDoc() r=lsocks, davidb
OuterDocAccessibles can be the container for a remote top level document.  We
  sometimes need to get the child for these OuterDocAccessible's which means
  the child is a proxy while the original object was an actual Accessible.
  This means we need to add a different function instead of making ChildAt() do
  the right thing.
2015-06-11 11:39:57 -04:00
Trevor Saunders fbe3489762 bug 1107337 - support downcasting Accessible to OuterDocAccessible r=lsocks, davidb 2015-06-11 11:39:57 -04:00
Trevor Saunders c9c2607c21 bug 1172538 - make sure a document has an IPC actor before shutting it down r=davidb, lsocks
If a document is shutdown before ever being bound to a parent document it
doesn't have an associated IPC actor, so we shouldn't try and shut one down.
2015-06-09 17:49:05 -04:00
Trevor Saunders 041d344f10 bug 1170595 - switch to sending __delete__ from the parent instead of the child r=davidb, smaug
After the child sends the __delete__ message to the parent there is a period of
time in which the actor is registered, but the parent hasn't yet processed the
__delete__ message.  During that time the parent can still try and send
messages to the child, but that will crash the child process.  Fix this race by
making the child send a shutdown message to the parent, and have the parent
send __delete__ when it handles that message.
2015-06-05 16:10:34 -04:00
Alexander Surkov 7f0a2bcc08 Bug 1113153 - use 'paragraph' role for paragraphs only, introduce 'text' role for small text containers, r=marcoz 2015-05-13 11:40:15 -04:00
Andrea Marchesini 085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Nicolas Silva cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Alexander Surkov 138cf765e8 Bug 1147646 - Crash in mozilla::a11y::DocAccessible::ProcessContentInserted while stability testing, r=davidb 2015-03-27 14:16:53 -04:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jonathan Wei 41e34ee857 Bug 1001634 - Add basic MathML accessibility implementation, r=surkov, marcoz, patch=jwei, surkov 2015-03-09 08:16:12 -04:00
Alexander Surkov bb6fd0650f Bug 1140500 - add object attributes declaration into markup map, r=marcoz 2015-03-07 20:20:17 -05:00
Alexander Surkov 064a3f9b2d Bug 1139900 - make tag name based roles faster, r=marcoz 2015-03-05 13:16:12 -05:00
Alexander Surkov 56efd59c66 Bug 1139049 - revert EnumRoleAccesisble name change, r=davidb 2015-03-04 19:04:46 -05:00
Alexander Surkov 037ee0a387 Bug 1139049 - turn EnumRoleAccessible into template, r=davidb 2015-03-04 18:45:17 -05:00
Masayuki Nakano c7add0a535 Bug 1105611 - HyperTextAccessible should set DOM range outside of pseudo elements r=surkov 2015-03-03 14:25:52 -05:00
Andrea Marchesini aad7ac889a Bug 1134280 - Get rid of Tag() - patch 2.1 - /accessible - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Andrea Marchesini 2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Alexander Surkov ddc5be8ef1 Bug 1137714 - Make roleDescription nicer/correct/faster, r=marcoz 2015-02-28 17:25:06 -05:00
Marco Zehe 1374c72716 Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Ting-Yu Lin eacb4adcf8 Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Alexander Surkov d49e6194a8 Bug 1130793 - wrong class is used for ARIA grid cell contained by HTML tr@role='row', r=yzen 2015-02-13 20:09:51 -05:00
Trevor Saunders b33a23f60b bug 1124449 - teach IAccessible impl about proxy wrappers r=davidb 2015-02-12 18:16:44 -05:00
Alexander Surkov 60013c0d28 Bug 786143 - inherit aria-hidden through subtree, r=yzen 2015-02-04 18:33:33 -05:00
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00