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

6500 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 72d1ea4a4b merge mozilla-central to autoland. r=merge a=merge 2017-09-27 11:49:57 +02:00
Alexander Surkov 9644ecd994 Bug 1321960, part2 - let an interrupted reflow finish before processing a11y, r=eeejay, f=dholbert 2017-09-26 16:27:02 -04:00
Yura Zenevich 1026d186f1 Bug 1362420 - show and hide emulated windows in e10s mode for Dolphin. r=surkov, smaug
MozReview-Commit-ID: VBtgqbLap
2017-09-26 14:59:33 -04:00
Nicholas Nethercote dfd3b7e7aa Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
This patch merges nsAtom into nsIAtom. For the moment, both names can be used
interchangeably due to a typedef. The patch also devirtualizes nsIAtom, by
making it not inherit from nsISupports, removing NS_DECL_NSIATOM, and dropping
the use of NS_IMETHOD_. It also removes nsIAtom's IIDs.

These changes trigger knock-on changes throughout the codebase, changing the
types of lots of things as follows.

- nsCOMPtr<nsIAtom> --> RefPtr<nsIAtom>

- nsCOMArray<nsIAtom> --> nsTArray<RefPtr<nsIAtom>>
  - Count() --> Length()
  - ObjectAt() --> ElementAt()
  - AppendObject() --> AppendElement()
  - RemoveObjectAt() --> RemoveElementAt()

- ns*Hashtable<nsISupportsHashKey, ...> -->
  ns*Hashtable<nsRefPtrHashKey<nsIAtom>, ...>

- nsInterfaceHashtable<T, nsIAtom> --> nsRefPtrHashtable<T, nsIAtom>
  - This requires adding a Get() method to nsRefPtrHashtable that it lacks but
    nsInterfaceHashtable has.

- nsCOMPtr<nsIMutableArray> --> nsTArray<RefPtr<nsIAtom>>
  - nsArrayBase::Create() --> nsTArray()
  - GetLength() --> Length()
  - do_QueryElementAt() --> operator[]

The patch also has some changes to Rust code that manipulates nsIAtom.

MozReview-Commit-ID: DykOl8aEnUJ

--HG--
extra : rebase_source : 254404e318e94b4c93ec8d4081ff0f0fda8aa7d1
2017-09-26 08:33:21 +10:00
Nicholas Nethercote 49963dad55 Bug 1402772 - Change nsIEventListenerChange::changedListenerNames to a count of a11y-affecting elements. r=smaug.
nsIEventListenerChange::changedListenerNames is an nsIArray attribute that
contains nsIAtoms. Bug 1396693 made it `noscript` to help with nsIAtom
deCOMtamination (bug 1392883) but more changes are needed: that array
eventually needs to be changed to nsTArray<RefPtr<nsIAtom>>.

Turns out the attribute has a single use, in a11y code. That code merely
iterates over the list and counts how many atoms it contains that match
"onclick", "onmousedown", and "onmouseup".

So this patch moves that counting functionality inside nsEventListenerChange by
changing the attribute to `countOfEventListenerChangesAffectingAccessibility`.
This saves us from having to expose the array of atoms via XPIDL.

--HG--
extra : rebase_source : db8b628998d45209ab724555a74efe90f431d3ae
2017-09-25 16:38:04 +10:00
Chris Peterson 5698729243 Bug 870698 - Part 10: Replace Append(NS_LITERAL_STRING("")) with AppendLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: H9I6vNDMdIr

--HG--
extra : rebase_source : cf537a1f65af003c6c4f8919b925b0f305c1dd4d
extra : source : 13b89ce4e6a66c840f82a335c71f5a12938aba22
2017-09-07 18:32:54 -07:00
Aaron Klotz c0a1a84af9 Bug 1399557: Add diagnostic asserts to interceptor creation code; r=jimm
MozReview-Commit-ID: 9fJxHbxCmgh
2017-09-18 10:49:15 -06:00
Aaron Klotz 9d14ba5611 Bug 1401392: Use ApplicationAccessibleWrap for content application accessible on Windows; r=davidb
MozReview-Commit-ID: A0jxRorD63h
2017-09-19 16:55:34 -06:00
Eitan Isaacson 57102eb3cc Bug 1400628 - Add test for non existing ID in select[aria-owns]. r=surkov 2017-09-18 14:02:00 -04:00
Eitan Isaacson 177dd95e18 Bug 1400628 - Check if dependent content is null before checking if it is accepteptable. r=surkov 2017-09-18 08:28:00 -04:00
Eitan Isaacson 8366eee827 Bug 1369185 - Don't allow <select> to aria-own, or <option> to be owned. r=surkov
--HG--
extra : rebase_source : 817ea7b85fcec715e4ba43652319e46fd65fac11
2017-09-13 14:04:00 -04:00
Aaron Klotz 1bbf15b3f6 Bug 1383501: Modify a11y::IsHandlerRegistered to include check of path to handler binary; r=eeejay 2017-09-14 13:05:26 -06:00
Eitan Isaacson e6b7dd4826 Bug 1337887 - Open new browser windows as non-remote in a11y mochitests. r=yzen 2017-09-08 15:11:00 -04:00
Alexander Surkov 368e47efdb Bug 1360210 - crash in mozilla::a11y::FocusManager::IsFocused const, r=davidb 2017-09-13 12:45:11 -04:00
Federico Padua f10243dec2 Bug 1301385 - input type='search' subrole on OS X is wrong, r=surkov 2017-09-12 15:10:29 -04:00
Eitan Isaacson 1f0f0ebd6c Bug 1396267 - Check that owner has content before aria-owns relocation. r=surkov 2017-09-11 13:56:00 -04:00
Alexander Surkov bcaf90fda4 Bug 1368269 - Crash in mozilla::a11y::XULTreeAccessible::Shutdown, r=marcoz 2017-09-12 10:24:00 -04:00
Sebastian Hengst ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Alexander Surkov 71e3947ad6 Bug 1379808 - Intermittent browser_test_zoom_text.js failure, wrong height and y, r=eeejay 2017-09-11 19:05:38 -04:00
Sebastian Hengst 9ccea669ac Backed out changesets ffdc2bc309b7 and 435bc55b9c14 (bug 1379808) for failing browser-chrome's accessible/tests/browser/bounds/browser_test_zoom_text.js on Windows. r=backout 2017-09-11 19:55:48 +02:00
Alexander Surkov de117de5c4 Bug 1379808 - fix eslint failure CLOSED TREE 2017-09-11 13:01:51 -04:00
Alexander Surkov 3f0bbfed64 Bug 1379808 - Intermittent browser_test_zoom_text.js failure, wrong height and y, r=eeejay 2017-09-11 11:18:16 -04:00
Sebastian Hengst 261dd76eb6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ACCqbunIDpp
2017-09-09 11:44:38 +02:00
Daniel Holbert fb2c2ce4a5 Bug 1398379 part 1: Make callers of GetRootScrollFrameAsScrollableExternal() use its equivalent non-"External" version instead. r=mats
This is a simplification. GetRootScrollFrameAsScrollableExternal() is just a
wrapper around its non-"External" version, GetRootScrollFrameAsScrollable(), so
we might as well just directly call *that* version.  All of the callers here
are inside of libxul, so they don't need the special "External" version.

MozReview-Commit-ID: GGMMDAlJ9xu

--HG--
extra : rebase_source : a3bd19a6300d0ce66f38fb8433db20b4ec03abfb
2017-09-08 16:36:32 -07:00
Jim Mathies b5d3d9c7c9 Bug 1385991 - Initialize accessibility compaitibility information earlier in accessibility service startup. r=eitan 2017-09-08 16:05:06 -05:00
Jim Mathies e2aad645e4 Bug 1387507 - Enable disabled a11y tests. r=eitan 2017-09-08 09:31:13 -05:00
Chris Manchester c0a229d4c3 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP

--HG--
extra : rebase_source : 3cdee7528846462c758e623d6bcd2e6e17dbabff
2017-09-11 11:33:26 -07:00
Aaron Klotz 066806b179 Bug 1383501: Assert that com proxy is non-null before calling SendPDocAccessibleConstructor; r=yzen
MozReview-Commit-ID: CuIXyoe4jsj
2017-09-06 10:40:55 -06:00
Marco Zehe 3e9bbd265b Bug 1396626 - Expose aria-haspopup tokens dialog, listbox, menu and tree as object attributes. r=surkov
MozReview-Commit-ID: 7iuo89tuGOu

--HG--
extra : rebase_source : 044da8a2ce31a6e894bb205bae6b86d6fce9976a
2017-09-05 15:15:09 +02:00
Andrew McCreight 64b725c5cd Bug 1390660, part 2 - Define and use a new macro for CC isupports. r=peterv
The main purpose of defining this is to make conversion of places that
use the non-CC variant easier. There are many more places that could
be converted to use these new macros, if somebody felt motivated.

MozReview-Commit-ID: HspjcN76fjg

--HG--
extra : rebase_source : bf3baa586f90f0afbe9229c32d38cb34cc909b9b
2017-08-16 13:14:11 -07:00
Steve Armand e46ff00709 Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR

--HG--
extra : rebase_source : 5f692e474e1d7d173fcb4c9c08617f0fe489e443
2017-09-04 00:49:32 -04:00
Jim Mathies 2b18fbc255 Bug 1393987 - Add in-process client information to Accessibility Instantiator support info. r=eeejay
MozReview-Commit-ID: 78w0zOsNm1J
2017-09-01 16:17:46 -05:00
Jim Mathies 23742b9ac3 Bug 1394927 - Use profiler_add_marker vs. profiler_tracing for accessibility profile events tags. r=aklotz
MozReview-Commit-ID: 9oJcPtdodrU

--HG--
extra : rebase_source : c56fb92d0521f5d3769ba8952a31d8b2c80cf498
2017-08-30 16:55:28 -05:00
Sebastian Hengst f5c4211851 Backed out changeset e380765f9845 (bug 1387507) 2017-08-31 09:07:53 +02:00
Wes Kocher ef3d37e889 Merge m-c to inbound a=merge
MozReview-Commit-ID: 3rHXXSEcJ6k
2017-08-30 19:58:40 -07:00
Marco Zehe 9998f9ab0d Bug 1316285 - Expose role and landmark role for HTML header and footer only if they are direct descendants of the body tag, section otherwise. r=eeejay
MozReview-Commit-ID: LbelxxgHlJ6

--HG--
extra : rebase_source : 6f4bbb7672cf70f15ae00abeaa41b3edc02a03f5
2017-08-28 14:30:17 +02:00
Andrew McCreight 78807d8776 Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1

--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Sebastian Hengst 2a9cc8e3be merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BQuBmVtsdki
2017-08-29 20:30:41 +02:00
Marco Zehe c00da5bfe0 Bug 1392926 - Only expose the Region landmark role if a section element has been explicitly named by the author, r=surkov
MozReview-Commit-ID: 6B0TSy8lqck

--HG--
extra : rebase_source : e79e1927eadb88ba107269effbdb3072427fc9ae
2017-08-28 10:48:09 +02:00
Eitan Isaacson ae84061a81 Bug 1387918 - Retrieve current array for owner in aria owns hash table. r=surkov 2017-08-28 09:32:26 -04:00
Jim Mathies dbc0762505 Bug 1387507 - Enable disabled a11y tests. r=eitan
MozReview-Commit-ID: 87alsx1gKi5
2017-08-07 12:14:06 -05:00
Aaron Klotz 81a34aa6ab Bug 1383501: Change remaining references to HKEY_CLASSES_ROOT to HKEY_LOCAL_MACHINE in mscom-related code; r=jimm
MozReview-Commit-ID: GAV3iqapXss

--HG--
extra : rebase_source : c0ed0578ca2e560203fc6c1a8fd172272209e84c
2017-08-28 15:15:35 -06:00
Xidorn Quan 05f71273b0 Bug 1390409 part 4 - Enable tests which were skipped because of this bug. r=emilio
MozReview-Commit-ID: 7HZ1hPJ0Vb0

--HG--
extra : rebase_source : 80f3802afbbc74dd91f5df4e0a0d16d3fa2d32f1
2017-08-28 16:59:19 +10:00
Wes Kocher 68149d6a59 Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Aaron Klotz 5921c2115b Bug 1393589: Refactor NOPING marshaling into its own class, mscom::FastMarshaler, and use it with IGeckoBackChannel; r=jimm
MozReview-Commit-ID: 9osDoYcvtWV

--HG--
extra : rebase_source : 9ead42f1b0c79f11b15121274a996d33d7ad4830
2017-08-17 15:54:28 -06:00
Aaron Klotz d7d645f5c4 Bug 1390652: Part 3 - Add proxy wrapper that passes its inner proxy through content as a blob; r=jimm
MozReview-Commit-ID: A4pAyiuJUlz
2017-08-21 15:47:44 -06:00
Aaron Klotz 7319740647 Bug 1390652: Part 1 - Send parent COM proxies to content as IDispatch instead of IAccessible to match the outparam type of IAccessible::get_accParent; r=yzen
MozReview-Commit-ID: 1CplfZrIt6l
2017-08-16 10:56:00 -06:00
Gabriele Svelto 7387dc791b Bug 1393435 - Remove unnecessary inclusions of the crash reporter header files; r=mconley
MozReview-Commit-ID: 3tdFDrTYql8

--HG--
extra : rebase_source : cc862688f19afb8a5cf8c7cf915a5d3d45f041b5
2017-08-07 14:10:02 +02:00
Sebastian Hengst 4acdd37bd2 Backed out changeset c216b1ee565e (bug 1392926) for failing a11y's accessible/tests/mochitest/attributes/test_xml-roles.html and accessible/tests/mochitest/jsat/test_traversal_helper.html. r=backout 2017-08-25 17:04:47 +02:00
Marco Zehe 34e218781d Bug 1392926 - Only expose the Region landmark role if a section element has been explicitly named by the author, r=surkov
MozReview-Commit-ID: 2HIVAuQBfQx

--HG--
extra : rebase_source : e309a9d82a2ce61b399cc0da5d547740d8bdb5a9
2017-08-25 14:28:39 +02:00