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

5426 Коммитов

Автор SHA1 Сообщение Дата
Trevor Saunders 23e5f861c1 bug 1221551 - unbind child documents before rebinding them r=davidb
It seems possible that a child document could be bound to a parent document
without first being unbound.  Some evidence for this being possible is that
OuterDocAccessible::InsertChildAt() explicitly checks for this and does
something similar if it already has a child.
2015-11-06 17:29:17 -05:00
Nathan Froyd e256faafbd Bug 1222174 - add override declarations in AccessibleWrap.h; r=tbsaunde
clang-cl complains about not having these otherwise.
2015-11-05 15:20:09 -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 acb8fed93c Bug 499917 - take into account aria-owns when calculating group attributes, test only, r=yzen 2015-11-03 11:03:23 -05:00
Yura Zenevich b03320ca91 Bug 1220860 - fixing an error with getting documentElement on AccessFu stop. r=eeejay 2015-11-02 15:28:53 -08: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
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02: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 d32bb30926 Bug 1219743 - remove special ARIA owns support for ARIA menus, r=yzen 2015-10-30 23:19:52 -04:00
Trevor Saunders 103dd0c968 bug 1219528 - don't bail out of AccessibleWrap::accNavigate if the accessible wraps a proxy r=davidb 2015-10-30 19:27:42 -04:00
Trevor Saunders c145de8b16 bug 1219528 - make AccessibleWrap::accNavigate cases using relations work with proxies r=davidb 2015-10-30 19:27:42 -04:00
Trevor Saunders 5cf6510d00 bug 1219528 - make NAVDIR_{FIRST,LAST}CHILD and NAVDIR_{NEXT,PREVIOUS} cases of AccessibleWrap::accNavigate deal with proxies r=davidb 2015-10-30 19:27:42 -04:00
Trevor Saunders e9c2a868bb bug 1219528 - add ProxyAccessible::{Next,Prev}Sibling() and ProxyAccessible::{First,Last}Child() r=davidb 2015-10-30 19:27:42 -04:00
Alexander Surkov 54171e1ece Bug 1219299 - rework aria-owns implementation, r=yzen 2015-10-29 18:08:48 -04:00
Trevor Saunders b7738102b4 bug 1218564 - remove check for password roles in AccessibleWrap::get_accValue r=surkov
The text computed for a password entry's accessible should not include the
actual password text, so this check is not necessary.
2015-10-28 14:58:24 -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
Ryan VanderMeulen c31f57b4af Bug 448064 - Add crashtest.
--HG--
extra : rebase_source : 87a5ceacbe69406d7e764c39a034b0829b64a46e
2015-10-24 15:03:19 -04: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
Tooru Fujisawa 38a0e6918a Bug 1217038 - Remove for-each and legacy array comprehension from accessible/. r=yzen
--HG--
extra : commitid : DTBUPm8NCs3
2015-10-18 23:21:31 +09: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
James Teh f8dd54d3ca Bug 1210549 - Fix AccessibleWrap::GetXPAccessibleFor for proxied accessibles r=tbsaunde 2015-10-21 19:54:09 -04:00
James Teh ab37f2b8a2 Bug 1210549 - Allow IServiceProvider::QueryService to work for proxied accessibles r=tbsaunde 2015-10-21 19:54:09 -04:00
James Teh 2d65b6dfc8 Bug 1210549 - Make proxied accessibles defunct when proxy dies r=tbsaunde 2015-10-21 19:54:09 -04:00
Carsten "Tomcat" Book ce97f44675 Backed out changeset f20fa392e98b (bug 1199755) for assertions/test failures in test_content_integration.htm on a CLOSED TREE 2015-10-21 12:28:56 +02:00
Lorien Hu 6259455408 Bug 1199755 - Correctly fetch remote children of non-proxy mozAccessibles, r=tbsaunde 2015-10-13 21:29:09 +03:00
Takeshi Kurosawa da38a008ad Bug 1007975 - div with display:table exposes table semantics r=surkov
- Construct a table accessible object if a content in question is HTML <table>
- Drop checking whether a table accessible object is built by CSS display:table from HTMLTableAccessbile::IsProbablyLayoutTable

--HG--
extra : transplant_source : %15%A0%F3%22%8C%AB%AB%0E%CF%1D%A3H%E4%2Aj%CB8%BDy%F0
2015-10-19 21:46:54 +09:00
Trevor Saunders 8ba1d0d320 bug 1215657 - make AccessibleWrap::get_accSelection work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders ad29692daa bug 1215657 - make AccessibleWrap::accDoDefaultAction work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders 1da4ea6d30 bug 1215657 - make AccessibleWrap::accHitTest() work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders 5cd07e19be bug 1215657 - make AccessibleWrap::accSelect work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders a62582d550 bug 1215657 - make AccessibleWrap::get_accDefaultAction work with proxied accessibles r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders c2be473e90 bug 1215657 - make AccessibleWrap::get_accFocus work with proxied accessibles
r=davidb
2015-10-20 15:25:00 -04: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 53e6b1571b bug 1213327 - expose iAccessibleHyperlink on proxied accessibles r=davidb 2015-10-16 16:13:38 -04:00
Trevor Saunders e39b0ca57d bug 1213327 - store interfaces a proxy implements on the Accessible wrapping it
r=davidb
2015-10-16 16:13:38 -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
Trevor Saunders 34e02634ff bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb 2015-10-16 14:59:08 -04:00
Yura Zenevich 709f9eb640 Bug 1211122 - ensuring that we check position against an actual doc/dialog on doc load event. r=marcoz 2015-10-16 09:39:30 -04:00
Carsten "Tomcat" Book 15c4d32dd7 merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Phil Ringnalda 908ee17508 Back out changeset 12ac8139ecd9 (bug 1213516) for Linux build bustage
CLOSED TREE
2015-10-15 22:52:58 -07:00
Trevor Saunders 8d46decb2f bug 1213516 - fire showing state change event for atk in place of an alert event r=davidb 2015-10-16 01:24:26 -04:00
Wes Kocher 403b53b231 Merge m-c to fx-team, a=merge 2015-10-15 11:38:00 -07:00
Gijs Kruitbosch cd5713a51d Bug 1123760 - bustage follow-up: remove unused variable, rs=bustage on a CLOSED TREE
--HG--
extra : commitid : As5ZYBprXOm
extra : amend_source : 2981eb096957ef64d1bc8d16b4be26d8ecc287d5
2015-10-15 18:36:47 +01:00
Gijs Kruitbosch 3afe5469df Bug 1123760 - make autocomplete dropmarker in the urlbar actually work when activated through a11y APIs, r=surkov
--HG--
extra : commitid : Cu83QcuhCxT
extra : rebase_source : 4e06008d7777ca862aaabfc43ff36979f4d6083e
extra : amend_source : 50c63af8003e62b9b89fa9014d1753c58252e62b
2015-10-13 17:19:41 +01:00
Eitan Isaacson 8e6e82af8d Bug 1214398 - Add highlight box to doc body if it is available and set z-index. r=yzen 2015-10-13 14:03:00 +02:00
Yura Zenevich b074ad4db9 Bug 1212528 - ensuring first seen document in ancestry is announced first. r=marcoz 2015-10-15 16:42:33 -04:00
Trevor Saunders 00126a9fa0 bug 1214864 - fixup SetCaret() changes on windows 2015-10-15 15:46:42 -04:00
Trevor Saunders a6479f0c55 bug 1214864 - make SetCarretOffset() async r=davidb
It calls TakeFocus() which needs to be async to avoid deadlocks, so it needs to
be async as well.
2015-10-15 15:04:37 -04:00
Trevor Saunders 86e2dba472 bug 1213606 - work around proxy's that don't have a wrapper for their document r=davidb 2015-10-14 14:09:49 -04:00
Trevor Saunders 38c71db8ad bug 1213606 - assert that we don't destroy a document's proxy until we destroy all of its children r=davidb 2015-10-14 14:09:49 -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 d12bfed3c9 bug 1210884 - expose the action interface on proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders fdc2c57a4a bug 1210741 - make AccessibleWrap::get_accLocation work with proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders 2233b14cfd bug 1209615 - make remote primary docs RELATION_EMBEDS targets for atk r=davidb 2015-10-07 18:26:56 -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
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Olli Pettay daf442d9cb Bug 1210407 - teach nsMaiInterfaceTable to use proxies, r=tbsaunde
--HG--
extra : rebase_source : bc80721e4fb1ff2362f556661def0ede45690220
2015-10-06 22:36:29 +03:00
Olli Pettay 010075bd3f Bug 1210408 - make nsMaiInterfaceAction work with proxies, r=tbsaunde
--HG--
extra : rebase_source : a24bf6bcded4eed0d7d7a5bf8e3a008cd299f6ae
2015-10-06 22:14:18 +03:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo 52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Alexander Surkov 865aaf3b3a Bug 873438 - Implement IAccessible2_2::accessibleWithCaret, r=yzen 2015-10-06 12:36:47 -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
Frédéric Wang 2aa965ccb5 Bug 1178272 - Move table semantics to a separate mozTableAccessible.mm file. r=surkov
--HG--
extra : rebase_source : bdbc6ea2a47d31e749fd59f657a54e40ae47c92b
2015-10-01 16:00:00 +02:00
Frédéric Wang 23ca07898d Bug 1177640 - [Mac] Do not expose HTML table semantics for "layout" tables. r=surkov 2015-09-30 17:49:00 +02:00
Frédéric Wang 3ddff2a32b Bug 718637 - Notify that the document is loaded. r=MarcoZ
--HG--
extra : rebase_source : 9f3e91b4c2e8b4f2888030e66f84841cd62be52e
2015-10-02 05:42:00 +02:00
Trevor Saunders c64438d7d8 bug 1210803 - expose the selection interface on proxied accessibles r=davidb 2015-10-02 06:38:21 -04:00
Trevor Saunders 533d8ecbae bug 1210447 - fix ProxyAccessible::EmbeddedChildAt() on proxies of outerDocs r=davidb 2015-10-02 06:38:21 -04:00
Frédéric Wang ecb7092186 Bug 1210441 - ProxyAccessible::IsTable* should take tabular MathML accessibles into account. r=tbsaunde 2015-10-01 11:06:00 +02:00
Alexander Surkov defaa2f69d Bug 1210108 - Emit object:state-changed:showing event for doorhangers, r=tbsaunde 2015-10-01 11:27:33 -04:00
Kevin Grandon d176e0d847 Bug 1204965 - Graphene support. Merge larch into mozilla-central. r=fabrice r=glandium 2015-09-30 23:49:00 +02:00
Frédéric Wang ecccd6d85a Bug 1210023 - Fix accessibilityAttributeValue for NSAccessibilityIndexAttribute. r=surkov 2015-10-01 08:40:35 +02: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
Eitan Isaacson 73c5918430 Bug 1209054 - Make 2 finger tap toggle pause speech. r=yzen 2015-09-29 14:37:11 -04:00
Eitan Isaacson be5c1b2046 Bug 1182311 - Make 3 finger triple tap more reliable. r=yzen 2015-09-29 14:37:11 -04:00
Trevor Saunders 354672cfd1 bug 1208779 - null check aAccessible in GetChildIDFor() for 32 bit as well as 64 bit windows r=davidb 2015-09-29 11:34:07 -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
Trevor Saunders 5526821155 bug 1209147 - make proxying of Accessible::TakeFocus() async r=davidb
TakeFocus() ends up making sync calls to the parent process. That means if we
try to call it from a sync call to the child process we end up deadlocked.  The
easiest way to fix this is to make the message to the child process async.
2015-09-28 15:27:11 -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
Trevor Saunders 0df211c37c bug 1207862 - make AccessibleWrap::GetXPAccessibleFor() return the AccessibleWrap for proxies r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders e0dcdcfcbd bug 1207862 - make WrapperFor() take a const ProxyAccessible * r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders 2672cf7d54 bug 1207862 - make it possible to traverse down the tree of proxied documents r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders d409d241c1 bug 1207862 - Add DocManager::TopLevelRemoteDocs() r=davidb
Soon we will need to iterate over all of the top level remote documents.
2015-09-24 19:23:18 -04:00
Trevor Saunders 53cad6cc22 bug 1207862 - refactor GetXPAccessibleFor() so proxies and non proxies are handle in the same place for each type of id r=davidb
While we're reorganizing this function move the simple cases to the beginning,
      and make lookup in the document tree last.
2015-09-24 19:23:18 -04:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Olli Pettay 2380c07907 Bug 1207311 - No need for \!nsAccUtils::MustPrune(acc) in DocAccessibleChild::RecvExtents, r=tbsaunde
--HG--
extra : rebase_source : 89e844a308063a9e82467778a0286c0161a0ea1e
2015-09-23 01:45:27 +03:00
Olli Pettay c14791c067 Bug 1207253 - make getChildCountCB correctly deal with outerdoc accessibles with proxy children, r=tbsaunde
--HG--
extra : rebase_source : 8d40383e824bbfdf35cc99c1a0a55f50a8e31dbb
2015-09-23 01:43:51 +03: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