Commit Graph

4271 Commits

Author SHA1 Message Date
Trevor Saunders
e2745b6fcb 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
fffe5cc829 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Ryan VanderMeulen
c07626a475 Bug 448064 - Add crashtest. 2015-10-24 15:03:19 -04: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
Tooru Fujisawa
82a15bf54f Bug 1217038 - Remove for-each and legacy array comprehension from accessible/. r=yzen 2015-10-18 23:21:31 +09:00
Nicholas Nethercote
e9d0adefb3 Bug 1186786 - Replace nsBaseHashtable::EnumerateRead() calls in accessible/ with iterators. r=tbsaunde. 2015-10-19 17:52:43 -07:00
James Teh
6b55ec5a35 Bug 1210549 - Fix AccessibleWrap::GetXPAccessibleFor for proxied accessibles r=tbsaunde 2015-10-21 19:54:09 -04:00
James Teh
70a159051f Bug 1210549 - Allow IServiceProvider::QueryService to work for proxied accessibles r=tbsaunde 2015-10-21 19:54:09 -04:00
James Teh
f41c6c4c6c Bug 1210549 - Make proxied accessibles defunct when proxy dies r=tbsaunde 2015-10-21 19:54:09 -04:00
Carsten "Tomcat" Book
3b82a28a43 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
dd238f2c55 Bug 1199755 - Correctly fetch remote children of non-proxy mozAccessibles, r=tbsaunde 2015-10-13 21:29:09 +03:00
Takeshi Kurosawa
9b5b3b3bfe 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
2015-10-19 21:46:54 +09:00
Trevor Saunders
bde12e1837 bug 1215657 - make AccessibleWrap::get_accSelection work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
c78db0bac2 bug 1215657 - make AccessibleWrap::accDoDefaultAction work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
218e2dfa9d bug 1215657 - make AccessibleWrap::accHitTest() work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
a4d36fb54a bug 1215657 - make AccessibleWrap::accSelect work with proxies r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
2ab1fd5ca1 bug 1215657 - make AccessibleWrap::get_accDefaultAction work with proxied accessibles r=davidb 2015-10-20 15:25:00 -04:00
Trevor Saunders
925b10e817 bug 1215657 - make AccessibleWrap::get_accFocus work with proxied accessibles
r=davidb
2015-10-20 15:25:00 -04: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
cde49aee45 bug 1213327 - expose iAccessibleHyperlink on proxied accessibles r=davidb 2015-10-16 16:13:38 -04:00
Trevor Saunders
1831af2eea bug 1213327 - store interfaces a proxy implements on the Accessible wrapping it
r=davidb
2015-10-16 16:13:38 -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
Trevor Saunders
c40026692f 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
7d922096c5 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
362a517b9b merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
Phil Ringnalda
f43797bf04 Back out changeset 12ac8139ecd9 (bug 1213516) for Linux build bustage
CLOSED TREE
2015-10-15 22:52:58 -07:00
Trevor Saunders
0efa947850 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
ed03c968a2 Merge m-c to fx-team, a=merge 2015-10-15 11:38:00 -07:00
Gijs Kruitbosch
314f34547b Bug 1123760 - bustage follow-up: remove unused variable, rs=bustage on a CLOSED TREE 2015-10-15 18:36:47 +01:00
Gijs Kruitbosch
6272bfaed2 Bug 1123760 - make autocomplete dropmarker in the urlbar actually work when activated through a11y APIs, r=surkov 2015-10-13 17:19:41 +01:00
Eitan Isaacson
3288718897 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
748d5072cc Bug 1212528 - ensuring first seen document in ancestry is announced first. r=marcoz 2015-10-15 16:42:33 -04:00
Trevor Saunders
e344230fb3 bug 1214864 - fixup SetCaret() changes on windows 2015-10-15 15:46:42 -04:00
Trevor Saunders
9eef2078ad 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
72c48034dc 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
63a2b0bd12 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
f71a066625 Bug 1214316 - Improve assertions on top level remote accessible doc handling, r=tbsaunde 2015-10-13 22:00:35 +03:00
Olli Pettay
7244b6d588 Bug 1213382 - proxy more accessible selection methods, r=tbsaunde 2015-10-13 22:08:00 +03:00
Alexander Surkov
ef66dec6ad Bug 1212457 - crash at ARIARowAccessible::GroupPosition(), r=marcoz 2015-10-08 08:02:52 -04:00
Trevor Saunders
9448ae9dbf bug 1210884 - expose the action interface on proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
cf85b4a812 bug 1210741 - make AccessibleWrap::get_accLocation work with proxied accessibles r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
78b22d1913 bug 1209615 - make remote primary docs RELATION_EMBEDS targets for atk r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
dbb36d0560 bug 1209615 - add RootAccessible::GetPrimaryRemoteTopLevelContentDoc() r=davidb 2015-10-07 18:26:56 -04:00
Trevor Saunders
cbe55dfba7 bug 1209615 - use TabParent::GetTopLevelDocAccessible() in OuterDocAccessible::RemoteChildDoc() r=davidb 2015-10-07 18:26:56 -04:00
Alexander Surkov
53b1f3270a 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
d7f143eaad 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
cd93f441eb 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
b9e5717f50 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Olli Pettay
8fa86d0fe0 Bug 1210407 - teach nsMaiInterfaceTable to use proxies, r=tbsaunde 2015-10-06 22:36:29 +03:00
Olli Pettay
3009fcdb1d Bug 1210408 - make nsMaiInterfaceAction work with proxies, r=tbsaunde 2015-10-06 22:14:18 +03:00
Shu-yu Guo
b5f316de44 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
f0cdd04e91 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Alexander Surkov
7cf27d9e21 Bug 873438 - Implement IAccessible2_2::accessibleWithCaret, r=yzen 2015-10-06 12:36:47 -04:00
Alexander Surkov
7152b64191 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
684dcdbc92 Bug 1178272 - Move table semantics to a separate mozTableAccessible.mm file. r=surkov 2015-10-01 16:00:00 +02:00
Frédéric Wang
222fdec0be 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
00fac71a2d Bug 718637 - Notify that the document is loaded. r=MarcoZ 2015-10-02 05:42:00 +02:00
Trevor Saunders
5015adead0 bug 1210803 - expose the selection interface on proxied accessibles r=davidb 2015-10-02 06:38:21 -04:00
Trevor Saunders
6e6e4680c4 bug 1210447 - fix ProxyAccessible::EmbeddedChildAt() on proxies of outerDocs r=davidb 2015-10-02 06:38:21 -04:00
Frédéric Wang
28d93a933b Bug 1210441 - ProxyAccessible::IsTable* should take tabular MathML accessibles into account. r=tbsaunde 2015-10-01 11:06:00 +02:00
Alexander Surkov
cc717ff56f Bug 1210108 - Emit object:state-changed:showing event for doorhangers, r=tbsaunde 2015-10-01 11:27:33 -04:00
Kevin Grandon
79f0fe7233 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
2bbd332b7c Bug 1210023 - Fix accessibilityAttributeValue for NSAccessibilityIndexAttribute. r=surkov 2015-10-01 08:40:35 +02:00
Bobby Holley
a1ed0e1a48 Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
Alexander Surkov
c8c132a9e4 Bug 1205318 - make aria-owns loop alg more sophisticated, r=yzen 2015-09-29 15:17:40 -04:00
Eitan Isaacson
912f6f7c60 Bug 1209054 - Make 2 finger tap toggle pause speech. r=yzen 2015-09-29 14:37:11 -04:00
Eitan Isaacson
cbe09dbbe3 Bug 1182311 - Make 3 finger triple tap more reliable. r=yzen 2015-09-29 14:37:11 -04:00
Trevor Saunders
5a43bdeeec 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
2c9b50ea24 Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley
13123afb09 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Alexander Surkov
744243152a Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, part2, r=davidb 2015-09-28 16:04:40 -04:00
Trevor Saunders
4e967275c1 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
c6e35a38ee 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
fd04ec9747 Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), part3, r=davidb 2015-09-25 12:11:49 -04:00
Trevor Saunders
56acf0dde9 bug 1207862 - make AccessibleWrap::GetXPAccessibleFor() return the AccessibleWrap for proxies r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders
2f2aaad72c bug 1207862 - make WrapperFor() take a const ProxyAccessible * r=davidb 2015-09-24 19:23:19 -04:00
Trevor Saunders
a9c913014f 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
bb67d32b39 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
3d044546f3 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
dd2fcb9b7d 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
d48487fe29 Bug 1207311 - No need for \!nsAccUtils::MustPrune(acc) in DocAccessibleChild::RecvExtents, r=tbsaunde 2015-09-23 01:45:27 +03:00
Olli Pettay
966a34c2af Bug 1207253 - make getChildCountCB correctly deal with outerdoc accessibles with proxy children, r=tbsaunde 2015-09-23 01:43:51 +03:00
Alexander Surkov
bce2fb5b16 Bug 1206107 - fire show event for reallocated accessible after it was reallocated, r=tbsaunde 2015-09-22 16:46:40 -04:00
Alexander Surkov
ad8b2fefeb Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList, part2, r=davidb 2015-09-21 12:47:02 -04:00
Alexander Surkov
726384e318 Bug 1206165 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnRemoval, r=davidb 2015-09-20 04:02:05 -04:00
Alexander Surkov
036387cad5 Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), r=smaug 2015-09-18 08:52:46 -04:00
Trevor Saunders
afbff190c8 bug 1199735 - fire windows events on proxies r=davidb 2015-09-17 16:49:25 -04:00
Trevor Saunders
afb68cddb4 bug 1199735 - factor win event dispatch logic into its own function r=davidb 2015-09-17 16:49:24 -04:00
Trevor Saunders
7dc9023910 bug 1199735 - remove event logging from the windows AccessibleWrap::HandleAccEvent r=davidb
if this is useful it would make more sense to log it outside of the windows
layer.  Since its not clear it is useful, and it makes it harder to separate
event dispatch logic from HandleAccEvent its easiest to just remove it for now.
2015-09-17 16:49:24 -04:00
Trevor Saunders
2d06b997a3 bug 1204070 - add a little more checking to proxy subtree removal r=davidb 2015-09-15 18:15:16 -04:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Alexander Surkov
7465d053af 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
Eitan Isaacson
e252871c0c Bug 1203697 - Add braille navigation. r=yzen r=mfinkle 2015-09-14 23:34:30 -07:00
Nicholas Nethercote
0c8dfbfdaf Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.
2015-09-14 21:16:37 -07:00
Wes Kocher
d072778cf8 Backed out changeset 0f4a1154350d (bug 1133213) for frequent a11y crashes CLOSED TREE 2015-09-14 16:08:47 -07:00
Eitan Isaacson
a8c23121ef Bug 1182214 - Follow-up to fix Presentation.displayedAccessibles getter. r=me CLOSED TREE 2015-09-14 13:34:26 -07:00
Alexander Surkov
d53ae17187 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
Eitan Isaacson
9e53e52a3a Bug 1182214 - Update highlight rect as you scroll. r=yzen 2015-09-14 10:52:43 -07:00
Eitan Isaacson
c5b2bc4dfb Bug 1182222 - Make Layerview support accessibility HTML navigation. r=yzen r=mfinkle 2015-09-14 10:52:43 -07:00