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

8280 Коммитов

Автор SHA1 Сообщение Дата
Eitan Isaacson fdedd0e534 Bug 1626639 - Use mozCheckboxAccessible class for radio buttons. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D69215

--HG--
extra : moz-landing-system : lando
2020-04-02 20:28:06 +00:00
Eitan Isaacson b2c4484df1 Bug 1626036 - Introduce more mochitests for mac accessibility. r=morgan
In this patch set I'll introduce state caching, so I thought it's a good idea
to first add a bunch of tests to features that will be touched.

Differential Revision: https://phabricator.services.mozilla.com/D69129

--HG--
extra : moz-landing-system : lando
2020-04-02 16:41:43 +00:00
Morgan Reschenberg bb48588461 Bug 1625832: Feed mouse synthesizer gecko coordinates instead of Mac coordinates. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D69035

--HG--
extra : moz-landing-system : lando
2020-04-01 05:07:53 +00:00
James Teh 5d7440007c Bug 1626802 part 2: Implement HandlerProvider::IsInterfaceMaybeSupported for a11y. r=aklotz,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D69286

--HG--
extra : moz-landing-system : lando
2020-04-02 04:09:20 +00:00
Christoph Kerschbaumer 4b9c5814af Bug 1571461 - Change accessibility of search widget to look for all event handlers and remove hack to hide.r=surkov,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D68023

--HG--
extra : moz-landing-system : lando
2020-03-31 11:06:38 +00:00
Marco Zehe 038d0f0c06 Bug 1626137 - Account for tables that are display:block; when looking for the table of a row accessible, r=Jamie
When checking if a parent of a table row counts for a table, take into account that a table might be an ARIAGridAccessible, which remains a generic hyperText, but is still a valid table. Tables with display: block; are such candidates.

Differential Revision: https://phabricator.services.mozilla.com/D68955

--HG--
extra : moz-landing-system : lando
2020-03-31 06:32:15 +00:00
James Teh 979d04b401 Bug 1625396: AccessibleOrProxy::ChildAtPoint: Accessible::ChildAtPoint can return null, so don't try to check for a remote child doc in that case. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D68739

--HG--
extra : moz-landing-system : lando
2020-03-30 13:19:15 +00:00
Tim Nguyen 66d337e655 Bug 1625314 - Follow up: Temporarily hack around search-textbox a11y failures. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D68899

--HG--
extra : amend_source : 61e287fc550a40c6cbce2dc34205f7abf9cb2003
2020-03-30 21:34:38 +00:00
Botond Ballo 672a7de4ff Bug 1626021 - Remove non-ASCII characters from comments in Accessible.cpp. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D68847

--HG--
extra : moz-landing-system : lando
2020-03-30 17:33:19 +00:00
Morgan Reschenberg 48fa33b966 Bug 1618706: Adjust role of grid cells from group to table-cell. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D68618

--HG--
extra : moz-landing-system : lando
2020-03-27 20:37:24 +00:00
James Teh c48bee7775 Bug 1598299 part 2: Remove ProxyAccessible::AccessibleAtPoint. r=yzen,nika
This wasn't useful cross-platform.
ATK was the only consumer of this and it now uses ProxyAccessible::ChildAtPoint.
This also means the related aNeedsScreenCoords functionality in PDocAccessible::AccessibleAtPoint is no longer needed and has thus been removed.
Finally, this renames PDocAccessible::AccessibleAtPoint to PDocAccessible::ChildAtPoint for consistency with Accessible::ChildAtPoint now that the functionality is mirrored.

Differential Revision: https://phabricator.services.mozilla.com/D67987

--HG--
extra : moz-landing-system : lando
2020-03-29 23:08:44 +00:00
James Teh ef9d9e1d06 Bug 1598299 part 1: Make atk_component_ref_accessible_at_point return the deepest child instead of the direct child. r=yzen
This changes the ATK code to use AccessibleOrProxy::ChildAtPoint, since that already handles walking into OuterDocAccessibles appropriately.
Previously, atk_component_ref_accessible_at_point didn't work at all on OuterDocAccessibles.
Also, for ProxyAccessibles, we no longer adjust the coordinates for ATK_XY_WINDOW in the content process, as this depends on stuff that doesn't exist cross-platform and thus can't be used with AccessibleOrProxy.
Instead, we now handle this in the parent process before making the IPC call.

Differential Revision: https://phabricator.services.mozilla.com/D67986

--HG--
extra : moz-landing-system : lando
2020-03-26 15:27:45 +00:00
Drew Willcoxon 5739954280 Bug 1616752 - Part 2: Add payload schemas for each result type and validate payloads against them. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D64300

--HG--
extra : moz-landing-system : lando
2020-03-26 15:27:12 +00:00
Morgan Reschenberg 53fcf5a7d2 Bug 1617311: Add details/summary attributes and values. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67233

--HG--
extra : moz-landing-system : lando
2020-03-27 22:08:40 +00:00
Eitan Isaacson bc2cae2059 Bug 1624729 - Introduce some initial mac mochitests. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68128

--HG--
extra : moz-landing-system : lando
2020-03-27 20:19:56 +00:00
Eitan Isaacson 14ca656c7f Bug 1624729 - Notify observer service of mac accessibility events. r=morgan,yzen
Differential Revision: https://phabricator.services.mozilla.com/D68127

--HG--
extra : moz-landing-system : lando
2020-03-27 17:11:44 +00:00
Eitan Isaacson 0ade2fd945 Bug 1624729 - Refactor event firing and encapsulate it in mozAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68126

--HG--
extra : moz-landing-system : lando
2020-03-27 17:12:33 +00:00
Eitan Isaacson a89dd56577 Bug 1624729 - Map NSAccessible properties and action methods to attributes and action lists. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68125

--HG--
extra : moz-landing-system : lando
2020-03-27 17:13:39 +00:00
Eitan Isaacson d3ae7576c0 Bug 1624729 - Implement attributes and actions getters in xpcAccessibleMacInterface. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68124

--HG--
extra : moz-landing-system : lando
2020-03-27 17:15:18 +00:00
Eitan Isaacson 95c476b280 Bug 1624729 - Introduce nsIAccessibleMacInterface as mac native xpc interface. r=yzen,morgan
Differential Revision: https://phabricator.services.mozilla.com/D68123

--HG--
extra : moz-landing-system : lando
2020-03-27 17:15:31 +00:00
Eitan Isaacson 325f958e21 Bug 1624729 - Add a nativeInterface attribute to nsIAccessible. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D68122

--HG--
extra : moz-landing-system : lando
2020-03-27 00:53:31 +00:00
Eitan Isaacson 5ff55aadfc Bug 1625293 - Populate mParallelView in mozRootAccessible when initializing. r=morgan
This makes it possible to get the `representedView` even after the accessible goes away on shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D68489

--HG--
extra : moz-landing-system : lando
2020-03-27 20:26:40 +00:00
Eitan Isaacson 9c101448f7 Bug 1407724 - Provide role of TEXT_CONTAINER to descendants of "strong" aria roles. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D66793

--HG--
extra : moz-landing-system : lando
2020-03-27 16:00:09 +00:00
Morgan Reschenberg 9e89b53321 Bug 1623402: Add ShowMenu to action names, perform action. r=eeejay
Depends on D67200

Differential Revision: https://phabricator.services.mozilla.com/D67409

--HG--
extra : moz-landing-system : lando
2020-03-27 17:08:58 +00:00
Marco Zehe 0948ee96fa Bug 1625153 - Implement the WAI-ARIA 1.2 code role, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D68432

--HG--
extra : moz-landing-system : lando
2020-03-26 21:26:15 +00:00
James Teh a3a5a8ee35 Bug 1616829: Don't remove ATK_STATE_EDITABLE from list items in editors. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D68327

--HG--
extra : moz-landing-system : lando
2020-03-26 20:54:02 +00:00
James Teh 25c7a7bb42 Bug 1622699 part 3: Remove accessibility.xpcom.traverse_outerdoc pref. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D68304

--HG--
extra : moz-landing-system : lando
2020-03-26 18:01:37 +00:00
James Teh cc07441b96 Bug 1622699 part 1: Add nsIAccessible::GetDeepestChildAtPointInProcess. r=yzen
Dev Tools A11y Panel interacts with accessibles in the process in which they reside.
It does not (and cannot) deal with ProxyAccessibles.
However, GetDeepestChildAtPoint now walks into the ProxyAccessible tree if appropriate, which is what we want for tests and what normally makes sense.
This patch introduces GetDeepestChildAtPointInProcess, which Dev Tools will use instead.

Differential Revision: https://phabricator.services.mozilla.com/D68302

--HG--
extra : moz-landing-system : lando
2020-03-26 18:00:59 +00:00
Razvan Maries 3ee91b8422 Backed out changeset 0bf2517f7a99 (bug 1623402) for build bustages. CLOSED TREE 2020-03-26 19:25:30 +02:00
Morgan Reschenberg 791753ad49 Bug 1623402: Add ShowMenu to action names, perform action. r=eeejay
Depends on D67200

Differential Revision: https://phabricator.services.mozilla.com/D67409

--HG--
extra : moz-landing-system : lando
2020-03-25 22:10:27 +00:00
Morgan Reschenberg 9aa0ae8a10 Bug 1624434: Remove description attribute for table elements. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67928

--HG--
extra : moz-landing-system : lando
2020-03-26 15:45:04 +00:00
Morgan Reschenberg 70cc6039b1 Bug 1616679: Map accessible actions to Mac actions based on action name. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67200

--HG--
extra : moz-landing-system : lando
2020-03-25 22:09:59 +00:00
Eitan Isaacson 9de7172c6b Bug 1623399 - Hide chrome invisible alerts and dialogs. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68272

--HG--
extra : moz-landing-system : lando
2020-03-25 21:29:43 +00:00
Cosmin Sabou 88a9cd318e Backed out changeset 570f25f87e0a (bug 1616679) for bustages on mozAccessible.mm. CLOSED TREE 2020-03-25 19:26:48 +02:00
Morgan Reschenberg 2856a68236 Bug 1616679: Map accessible actions to Mac actions based on action name. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67200

--HG--
extra : moz-landing-system : lando
2020-03-25 17:08:15 +00:00
Mirko Brodesser d5bfd89436 Bug 1623858: part 13) Declare some methods in `HyperTextAccessible` `const`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D68039

--HG--
extra : moz-landing-system : lando
2020-03-25 15:39:37 +00:00
Marco Zehe 834e69c0ae Bug 1624826 - Remove trailing whitespace from accessible name of fieldset element if provided by legend, r=eeejay
This was an oversight in the HTMLGroupBoxAccessible implementation of NativeName, others trim their whitespaces by default.

Differential Revision: https://phabricator.services.mozilla.com/D68198

--HG--
extra : moz-landing-system : lando
2020-03-25 15:13:50 +00:00
Brindusan Cristian 907f988362 Backed out changeset 155281fd18fd (bug 1571461) for mochitest failures at test_general.xhtml. CLOSED TREE 2020-03-24 21:27:46 +02:00
Eitan Isaacson c5e8c91afb Bug 1622731 - Make nsCoreUtils tree/column functions null-safe. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D67673

--HG--
extra : moz-landing-system : lando
2020-03-24 19:07:30 +00:00
Eitan Isaacson 98a33541fd Bug 1622731 - In TableAccessible::IsProbablyLayoutTable, check if accessible is defunct. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D67672

--HG--
extra : moz-landing-system : lando
2020-03-24 19:03:39 +00:00
Christoph Kerschbaumer f64b1b7ff8 Bug 1571461 - Change accessibility of search widget to look for all event handlers and remove hack to hide.r=surkov,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D68023

--HG--
extra : moz-landing-system : lando
2020-03-24 17:32:59 +00:00
Eitan Isaacson f8243143b8 Bug 1622731 - Notify of destruction after detaching accessible wrap/proxy. r=morgan
Depends on D67673

Differential Revision: https://phabricator.services.mozilla.com/D67674

--HG--
extra : moz-landing-system : lando
2020-03-21 05:26:19 +00:00
Emilio Cobos Álvarez 04828e3a4a Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ
This rejiggers a bit the way selection focus is handled so that focusing a
disabled form control with the mouse handles selection properly, and hides the
document selection and so on.

This matches the behavior of other browsers as far as I can tell.

Given now readonly and disabled editors behave the same, we can simplify a bit
the surrounding editor code.

Differential Revision: https://phabricator.services.mozilla.com/D66464

--HG--
extra : moz-landing-system : lando
2020-03-19 13:18:16 +00:00
James Teh 2372f54c8a Bug 1622941: Fire ATK text-attributes-changed events for ProxyAccessibles. r=MarcoZ
Previously, we fired these for Accessibles, but this was never implemented for ProxyAccessibles (remote content documents).

Differential Revision: https://phabricator.services.mozilla.com/D67271

--HG--
extra : moz-landing-system : lando
2020-03-18 06:07:45 +00:00
James Teh 6e3cde7338 Bug 1622751: Teach IPDL that PDocAccessible::AccessibleAtPoint can return a null result doc. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67081

--HG--
extra : moz-landing-system : lando
2020-03-17 22:13:55 +00:00
Morgan Reschenberg 852913f515 Bug 1618708: Implement slider class and support required actions, valueDidChange event handling. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D66667

--HG--
extra : moz-landing-system : lando
2020-03-17 17:32:33 +00:00
Eitan Isaacson d014504afb Bug 1617314 - Support aria-current in OSX. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66813

--HG--
extra : moz-landing-system : lando
2020-03-16 22:15:57 +00:00
Eitan Isaacson b70e223767 Bug 1618718 - Support AXToggle subrole and states. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66841

--HG--
extra : moz-landing-system : lando
2020-03-14 05:39:59 +00:00
Mihai Alexandru Michis 58bc354025 Backed out changeset 9eeee9ec66d9 (bug 253870) for causing failures in browser_bug1261299.js
CLOSED TREE
2020-03-16 22:32:41 +02:00
Emilio Cobos Álvarez 9f28f89085 Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ
This rejiggers a bit the way selection focus is handled so that focusing a
disabled form control with the mouse handles selection properly, and hides the
document selection and so on.

This matches the behavior of other browsers as far as I can tell.

Given now readonly and disabled editors behave the same, we can simplify a bit
the surrounding editor code.

Differential Revision: https://phabricator.services.mozilla.com/D66464

--HG--
extra : moz-landing-system : lando
2020-03-16 17:41:07 +00:00
James Teh 89cfbd0947 Bug 1617795: Use BrowsingContext instead of DOM window to get the focused document for a11y. r=yzen,hsivonen
nsFocusManager::GetFocusedWindow may return a window even if focus is actually inside an embedded OOP iframe.
Instead, use nsFocusManager::GetFocusedBrowsingContext, which always knows about the current focus across all processes.
If the focused context is in this process, we get its document and return it.

Differential Revision: https://phabricator.services.mozilla.com/D64514

--HG--
extra : moz-landing-system : lando
2020-03-13 15:40:46 +00:00
James Teh de55f7895d Bug 1614871 part 2: Make non-Windows ProxyAccessible::ChildAtPoint cross into OOP iframes. r=eeejay
When we hit an OOP iframe, we must walk into the child document and continue the search from there.

Differential Revision: https://phabricator.services.mozilla.com/D66711

--HG--
extra : moz-landing-system : lando
2020-03-13 06:14:38 +00:00
James Teh 05f1674b2d Bug 1614871 part 1: Make non-Windows ProxyAccessible::ChildAtPoint cross into in-process iframes. r=eeejay
Accessible::ChildAtPoint can return an Accessible in a descendant document.
Thus, we must return the result PDocAccessible via IPC, not just the id.
Previously, we only returned the id, but we'd fail when we tried to look it up if it belonged to a descendant document.

Differential Revision: https://phabricator.services.mozilla.com/D66710

--HG--
extra : moz-landing-system : lando
2020-03-13 06:14:30 +00:00
James Teh 9e93d4747f Bug 1621521: Make xpcAccessible::Get(Deepest)ChildAtPoint walk into remote child documents. r=yzen
Previously, these stopped at an OuterDocAccessible.
Now, if an OuterDocAccessible is encountered, they continue the search in the remote child document.

As part of this, the bulk of the code has been moved into AccessibleOrProxy, since other callers might find this useful in future.
Also, xpcAccessible::ChildAtPoint now works on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D66534

--HG--
extra : moz-landing-system : lando
2020-03-13 01:42:05 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Mirko Brodesser ec9cb4d8ef Bug 1622199: annotate `Selection::AddRangeAndSelectFramesAndNotifyListeners` with `MOZ_CAN_RUN_SCRIPT`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66759

--HG--
extra : moz-landing-system : lando
2020-03-13 15:46:13 +00:00
Eitan Isaacson a6a85d62a2 Bug 1622162 - Add pinned and current to state string representation. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D66712

--HG--
extra : moz-landing-system : lando
2020-03-13 04:32:46 +00:00
James Teh 73a8260a74 Bug 1621517: Make nsIAccessible child retrieval work for OuterDocAccessibles with remote documents. r=yzen
This code (and an upcoming dependent patch) is currently behind a pref which is disabled by default, as there is uncertainty as to how it might impact the Dev Tools A11y Panel.
The A11y Panel is currently a moving target due to ongoing refactor for Fission.
This pref should be removed once that groundwork is complete and the impact has been verified.

This patch also includes fixes to some ProxyAccessible methods which previously crashed when there was no parent, as is the case for top level documents.
Without these fixes, the Dev Tools A11y Panel would crash the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D66354

--HG--
extra : moz-landing-system : lando
2020-03-13 01:37:14 +00:00
Eitan Isaacson 83b8e2b9c3 Bug 1618700 - Implement expected attributes and events for tabs. r=morgan
I made more generalized mozSelectableAccessible and
mozSelectableChildAccessible classes for other things that will need
this kind of support.

Differential Revision: https://phabricator.services.mozilla.com/D66304

--HG--
extra : moz-landing-system : lando
2020-03-12 22:16:39 +00:00
Morgan Reschenberg 7cdb983c71 Bug 1124681: Query State() instead of NativeState() when deciding if a checkbox is checked. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D66489

--HG--
extra : moz-landing-system : lando
2020-03-12 17:19:35 +00:00
Morgan Reschenberg bca4131fda Bug 1617312: Ensure labelling attributes return nil for text leaves. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D66323

--HG--
extra : moz-landing-system : lando
2020-03-12 16:10:40 +00:00
Eitan Isaacson b0389fe116 Bug 1617310 - Support AXHasPopup attribute. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66498

--HG--
extra : moz-landing-system : lando
2020-03-12 17:28:42 +00:00
Eitan Isaacson 640b0ba055 Bug 1617310 - Introduce state method in mozAccessible interface. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66497

--HG--
extra : moz-landing-system : lando
2020-03-12 17:28:35 +00:00
Morgan Reschenberg 705648b472 Bug 1621724: Iterate through DefaultTextAttributes of hypertext accessible instead of accessible wrap's attributes to find aria-invalid's value. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D66474

--HG--
extra : moz-landing-system : lando
2020-03-12 16:08:42 +00:00
James Teh 7b7c684070 Bug 1621519: Implement xpcAccessible::GetDeepestChildAtPoint for ProxyAccessibles on Windows. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D66359

--HG--
extra : moz-landing-system : lando
2020-03-11 23:26:18 +00:00
Eitan Isaacson 088ece22c2 Bug 1618719 - Support aria radio groups. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66337

--HG--
extra : moz-landing-system : lando
2020-03-11 22:54:37 +00:00
Eitan Isaacson e275f3ca37 Bug 1617308 - Provide AXDescription for named groupings. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66336

--HG--
extra : moz-landing-system : lando
2020-03-11 22:54:35 +00:00
Marco Zehe 2c553e7cf6 Bug 1371712 - Fall through to ARIA landmark role determination if native landmark roles fail, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D65946

--HG--
extra : moz-landing-system : lando
2020-03-11 16:23:38 +00:00
Eitan Isaacson d18ab374a8 Bug 1620318 - Filter out hidden popup menus and announce them when they appear. r=morgan
As the message above suggests this does two things:
1. We filter out the invisible popup menus from the root's children.
2. We dispatch menu opened and closed events.

The latter helps VoiceOver retain some context about the mutating tree and notify the user about the menu.

Differential Revision: https://phabricator.services.mozilla.com/D65612

--HG--
extra : moz-landing-system : lando
2020-03-10 22:42:31 +00:00
Eitan Isaacson 9690c5105b Bug 1620318 - Rename mozDocAccessible.{mm,h} to mozRootAccessible.{mm,h} r=morgan
This is to match the actual class it implements.

Differential Revision: https://phabricator.services.mozilla.com/D65611

--HG--
rename : accessible/mac/mozDocAccessible.h => accessible/mac/mozRootAccessible.h
rename : accessible/mac/mozDocAccessible.mm => accessible/mac/mozRootAccessible.mm
extra : moz-landing-system : lando
2020-03-10 20:25:32 +00:00
Eitan Isaacson 7fa8b37f6d Bug 1620508 - Revert change where opacity:0 makes subtrees invisible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D66296

--HG--
extra : moz-landing-system : lando
2020-03-10 22:35:51 +00:00
Morgan Reschenberg 7d0b534f27 Bug 1618716: Return the value associated with the aria-invalid attribute instead of relying on the state flag alone. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D66297

--HG--
extra : moz-landing-system : lando
2020-03-10 21:50:54 +00:00
Eitan Isaacson b7659c3136 Bug 1618712 - Unsupport e10s xpcAccessible::GroupPosition in Windows. a=fix
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D66293

--HG--
extra : amend_source : 5b69ae37a030ed889b116d3d1a5619a8a3286c80
2020-03-10 22:00:36 +02:00
Eitan Isaacson 9e27b2cdde Bug 1618712 - Use GroupPosition for heading levels in mac. r=morgan,nika
We were using the wrong Accessible method to get the level. We also need to swap IPDL methods to use the right one.

Differential Revision: https://phabricator.services.mozilla.com/D65645

--HG--
extra : moz-landing-system : lando
2020-03-10 18:32:38 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Thal 557a0e222d Bug 1620596 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D65865

--HG--
extra : moz-landing-system : lando
2020-03-07 14:43:42 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
James Teh d6c7ae81f0 Bug 1620510: Set the last a11y focus when queuing a focus event instead of when processing it. r=MarcoZ
Previously, the following scenario was possible:

1. aria-activedescendant is used on a menupopup to set a11y focus. When the event is processed, FocusManager::mLastFocus gets set accordingly.
2. aria-activedescendant on the menupopup is changed, so a focus event gets queued.
3. Before that focus event can be processed, the Accessible in (1) gets unbound from the a11y tree.
4. DocAccessible::UnbindFromDocument checks whether the Accessible is the last focus. As per (1), it is.
5. It then tells FocusManager to reset the active item, causing it to throw away the active item set in (2) and fire focus on the DOM focus (which is not the menupopup).

This breaks the new select dropdown implementation.

To fix this, we now set mLastFocus in DispatchFocusEvent (when the event is queued) instead of ProcessFocusEvent.
This way, we don't override a pending new focus change unintentionally.

Differential Revision: https://phabricator.services.mozilla.com/D65706

--HG--
extra : moz-landing-system : lando
2020-03-06 11:56:39 +00:00
Mirko Brodesser 4be580237d Bug 1619617: part 1) Annotate `RemoveRangeAndUnselectFramesAndNotifyListeners` with `MOZ_CAN_RUN_SCRIPT`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65511

--HG--
extra : moz-landing-system : lando
2020-03-06 12:03:23 +00:00
Marco Zehe 912a8ce3e9 Bug 1619383 - Calculate group position information correctly for ARIA grids, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D65160

--HG--
extra : moz-landing-system : lando
2020-03-04 06:44:22 +00:00
Marco Zehe 0d52b506df Bug 1455066 - Take into account wrapping div or section elements when calculating table indexes for grid rows, r=Jamie
When looking to see if a row has a table, now also include generic text container accessibles in addition to row groups.

Also, when iterating through rows from a table, take into account that rows may be wrapped in generic text container accessibles.

Differential Revision: https://phabricator.services.mozilla.com/D65158

--HG--
extra : moz-landing-system : lando
2020-03-04 06:25:01 +00:00
Eitan Isaacson bc77e9f52d Bug 1616468 - Indicate required field in hint string. r=Jamie
Android does not currently have anything similar to a 'required' state
to indicate that a field or input is required before submission. In this
patch we append a localized "required" string onto the node's hint.

The hint typically has the description of the node. If the node is an
entry the hint will have its label followed by the description.

Differential Revision: https://phabricator.services.mozilla.com/D65215

--HG--
extra : moz-landing-system : lando
2020-03-04 00:00:44 +00:00
Eitan Isaacson fefb04c15e Bug 1619458 - Don't create OSX accessibles for XUL tooltips. r=morgan
Depends on D65038

Differential Revision: https://phabricator.services.mozilla.com/D65039

--HG--
extra : moz-landing-system : lando
2020-03-03 17:47:09 +00:00
Eitan Isaacson 3ea5342b3a Bug 1619458 - Add Accessible::IsXULTooltip. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D65038

--HG--
extra : moz-landing-system : lando
2020-03-03 01:42:46 +00:00
Eitan Isaacson 01c6855e5e Bug 1619438 - Don't get dom node id from accessible with no associated content. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D65029

--HG--
extra : moz-landing-system : lando
2020-03-03 17:45:15 +00:00
Eitan Isaacson 282a75d913 Bug 1619442 - Style inactive status panel with visibility: hidden. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D65035

--HG--
extra : moz-landing-system : lando
2020-03-03 16:39:06 +00:00
James Teh 193e22639f Bug 1555228: When window emulation is enabled, use the root accessible to answer IAccessible::accChild queries for ids in OOP iframes. r=yzen
When window emulation is enabled, each tab document gets its own HWND.
OOP iframes get the same HWND as their tab document and fire events with that HWND.
However, the root accessible for the HWND (the tab document) can't return accessibles for OOP iframes.
Therefore, we must get the root accessible from the main HWND and call accChild on that instead.

We must do this in the parent process, but the tab document accessible is in the content process.
Although OOP a11y clients talk directly to the content process, the clients that need window emulation are in-process.
All in-process client calls get intercepted by AccessibleHandler, so we can deal with this forwarding in AccessibleHandler.

Differential Revision: https://phabricator.services.mozilla.com/D65054

--HG--
extra : moz-landing-system : lando
2020-03-03 15:48:22 +00:00
Eitan Isaacson f270ef49e9 Bug 1617301 - Fix accessibilityFocusedUIElement to work across processes. r=morgan
This is similar to the fix in bug 1614079 where we need to account
for a descendant that might match past a process boundary.

Differential Revision: https://phabricator.services.mozilla.com/D63974

--HG--
extra : moz-landing-system : lando
2020-03-02 22:10:37 +00:00
Eitan Isaacson ee44ad7d4c Bug 1618040 - Advertise AXScrollToVisible on link. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D64246

--HG--
extra : moz-landing-system : lando
2020-03-02 22:18:11 +00:00
Eitan Isaacson 8ec8f6b45c Bug 1618364 - Add OSX accessible lifecycle notifications. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D64481

--HG--
extra : moz-landing-system : lando
2020-02-27 16:54:59 +00:00
Emilio Cobos Álvarez 6b4b7ae72c Bug 1617084 - Add some simple DOM ancestor iterators. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D63594

--HG--
extra : moz-landing-system : lando
2020-03-02 11:36:42 +00:00
Emilio Cobos Álvarez b874593cd7 Bug 1617472 - Put Servo_GetPropertyValue behind a method in ComputedStyle. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D63813

--HG--
extra : moz-landing-system : lando
2020-03-01 23:49:38 +00:00
Marco Zehe 6d5bea032c Bug 1608961 - Support ARIA 1.3 aria-description property, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D64283

--HG--
extra : moz-landing-system : lando
2020-03-02 10:59:22 +00:00
Marco Zehe df16c0598f Bug 1608969 - Add new ARIA 1.3 comment role, r=Jamie
This adds both the role as well as calculation of the posinset, setsize, and level calculation if not provided by the author.

Differential Revision: https://phabricator.services.mozilla.com/D64590

--HG--
extra : moz-landing-system : lando
2020-03-01 19:35:06 +00:00
Marco Zehe 93ff1614a5 Bug 1608965 Part 2 - Add ARIA suggestion role, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D64546

--HG--
extra : moz-landing-system : lando
2020-03-01 19:37:33 +00:00
Marco Zehe 02b10b3195 Bug 1608965 Part 1 - Add ARIA mark role, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D64545

--HG--
extra : moz-landing-system : lando
2020-03-01 19:38:16 +00:00
Eitan Isaacson aa33282e2d Bug 925209 - Accessibles in opacity:0 subtrees should be invisible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D64479

--HG--
extra : moz-landing-system : lando
2020-02-26 23:22:48 +00:00
Andrew McCreight 4babb2b5ab Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

Differential Revision: https://phabricator.services.mozilla.com/D60197

--HG--
extra : moz-landing-system : lando
2020-02-27 17:39:15 +00:00
Ciure Andrei 00dd87f6f4 Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Mike Hommey d747b65211 Bug 1617794 - Wrap Windows tools with Wine on cross builds. r=dmajor
Windows programs run via Wine don't like Unix absolute paths (they look
like command line arguments), so we need to use relative paths.

Mingw already run fxc2 via wine, but for some reason it doesn't care
about the Unix absolute paths. genshaders does need some adjustements to
run properly with the real fxc.

Now, on actual Windows, because the temporary directory where
tempfile.NamedTemporaryFile creates files by default is not necessarily
on the same drive as where the command runs from, a relative path can't
be constructed. So we also force the temporary file to be created in the
current (obj) directory.

There is no similar concern for other files because we only go from
objdir to srcdir, and the build system already doesn't support both
being on a separate drive.

While here, flush stdout when the genshared script writes to it, so that
the messages are printed out immediately rather than randomly, later,
after output from subprocesses.

Differential Revision: https://phabricator.services.mozilla.com/D64294

--HG--
extra : moz-landing-system : lando
2020-02-27 04:42:57 +00:00
Andrew McCreight b197e1f783 Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

Differential Revision: https://phabricator.services.mozilla.com/D60197

--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
Marco Zehe c8821fff8b Bug 1608883 - Add test for multiple aria-details relations, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D64109

--HG--
extra : moz-landing-system : lando
2020-02-26 00:05:29 +00:00
James Teh 515c09fa73 Bug 1602692: Enable a11y tests for Fission which depend on TakeFocus. r=yzen
nsFocusManager::SetFocus (and thus Accessible::TakeFocus) was fixed for Fission in bug 1556627.
Most of these tests now pass without modification.
browser_caching_value.js needed to be tweaked slightly to synthesize a key in the OOP iframe instead of the top level document.

Differential Revision: https://phabricator.services.mozilla.com/D64254

--HG--
extra : moz-landing-system : lando
2020-02-26 00:36:02 +00:00
Eitan Isaacson 8e38a4587c Bug 1616466 - Support expand/collapse android accessibility actions. r=Jamie,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D63290

--HG--
extra : moz-landing-system : lando
2020-02-25 22:37:00 +00:00
Kris Maglione f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab 73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Noemi Erli 6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione c31aa68fb4 Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.

Differential Revision: https://phabricator.services.mozilla.com/D63962

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00
Kris Maglione e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Simon Giesecke aaf6cb4e75 Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63899

--HG--
extra : moz-landing-system : lando
2020-02-25 17:03:36 +00:00
Eitan Isaacson 9701de3f19 Bug 1614834 - Advertise and implement AXScrollToVisible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D63580

--HG--
extra : moz-landing-system : lando
2020-02-25 00:05:00 +00:00
Dorel Luca 2075a0e4ab Backed out changeset 0a9ee19aaa48 (bug 1614834) for Build bustages on /build/src/accessible/mac/mozAccessible.mm. CLOSED TREE 2020-02-24 21:03:51 +02:00
Eitan Isaacson 54ca0747e1 Bug 1614834 - Advertise and implement AXScrollToVisible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D63580

--HG--
extra : moz-landing-system : lando
2020-02-24 17:30:25 +00:00
Emilio Cobos Álvarez 8d0f4ce3ca Bug 1617472 - Remove kTextDecorationStyleKTable. r=heycam
In a somewhat easy way. There are better ways to do this (moving
text-decoration-style to be a proper cbindgen enum class or such), but this
does the job for now.

Depends on D63794

Differential Revision: https://phabricator.services.mozilla.com/D63795

--HG--
extra : moz-landing-system : lando
2020-02-24 13:30:46 +00:00
Emilio Cobos Álvarez 1ff4460ea3 Bug 1617472 - Remove kTextAlignKTable. r=heycam
Depends on D63793

Differential Revision: https://phabricator.services.mozilla.com/D63794

--HG--
extra : moz-landing-system : lando
2020-02-24 13:30:44 +00:00
Marco Zehe a464412e8e Bug 1616851 - For grouping, calculate name from subtree if requested by other accessible object, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D63619

--HG--
extra : moz-landing-system : lando
2020-02-24 06:52:19 +00:00
James Teh c604c6018c Bug 1616078: Don't use HTMLListBulletAccessible for CSS ::marker content. r=eeejay,emilio,MarcoZ
::marker content gets handled like text from any other CSS pseudo-class.
Therefore, using HTMLListBulletAccessible ends up duplicating the content already exposed in the a11y tree.
Now, we only use HTMLListBulletAccessible for nsBulletFrames instead of all marker frames.

As part of this, remove nsContainerFrame::GetSpokenMarkerContent, since we no longer need it to retrieve ::marker content.
The bulk of its other work was done by nsBulletFrame::GetSpokenContent, which we now call directly.
It also handled producing a default bullet character for list-style-image, but it makes sense for this to live in the a11y code.

Differential Revision: https://phabricator.services.mozilla.com/D63443

--HG--
extra : moz-landing-system : lando
2020-02-21 01:23:37 +00:00
Eitan Isaacson 1e2369f4ca Bug 1615562 - Don't move accessible focus if caret is collapsed or not on focusable. r=Jamie
If a keyboard-focused accessible is removed, the caret jumps to its
nearest ancestor. To avoid arbitrary accessibility focus moves, ignore
caret events that have no selection and are not focusable items.

Differential Revision: https://phabricator.services.mozilla.com/D63541

--HG--
extra : moz-landing-system : lando
2020-02-20 21:49:20 +00:00
Eitan Isaacson 777e8fba2d Bug 1616797 - Check that accessible's frame still exists in scroll dispatcher r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D63546

--HG--
extra : moz-landing-system : lando
2020-02-20 21:12:43 +00:00
Simon Giesecke 9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

Differential Revision: https://phabricator.services.mozilla.com/D62604

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Dorel Luca d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke 59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

Differential Revision: https://phabricator.services.mozilla.com/D62604

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
James Teh ac0a51e32c Bug 1596007: Fire an a11y state change event when an image's size becomes available. r=eeejay,emilio
Differential Revision: https://phabricator.services.mozilla.com/D62871

--HG--
extra : moz-landing-system : lando
2020-02-18 17:22:35 +00:00
Eitan Isaacson 5f6ff669bf Bug 1616146 - Cache accessibility focus boundaries in java. r=Jamie
This allows `performAction` to immediately return false if a boundary is
reached and allow TalkBack to navigate past the web view.

Change viewport cache listener to reorder since it should catch all tree
mutations in the document.

Differential Revision: https://phabricator.services.mozilla.com/D63117

--HG--
extra : moz-landing-system : lando
2020-02-18 21:09:06 +00:00
Mike Shal d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Mirko Brodesser f170973369 Bug 1615581: part 1) Rename `TableSelection` to `TableSelectionMode`. r=jfkthame
See part 2) why this is necessary.

Differential Revision: https://phabricator.services.mozilla.com/D62902

--HG--
extra : moz-landing-system : lando
2020-02-18 12:28:45 +00:00
James Teh 809ba18b5c Bug 1505974: Include the subtree of role="alert" when referenced by aria-labelledby/describedby. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D63037

--HG--
extra : moz-landing-system : lando
2020-02-17 06:39:24 +00:00
James Teh 5fef6bfb48 Bug 1118086: When a menupopup is shown, if aria-activedescendant is set, redirect focus appropriately. r=eeejay
Normally, XUL menupopups contain XUL menuitems, and XUL menuitems fire DOMMenuitemActive events from layout to manage a11y focus.
However, the new parent process select dropdown implementation uses a menulist containing div elements instead of XUL menuitems.
DOMMenuItemActive doesn't work for div elements because we check Accessible::ContainerWidget(), and that doesn't know to return the menupopup for div elements.
Since aria-activedescendant is the more web standard way to handle this, the new select dropdown implementation uses aria-activedescendant.

Differential Revision: https://phabricator.services.mozilla.com/D62677

--HG--
extra : moz-landing-system : lando
2020-02-17 04:06:00 +00:00
Eitan Isaacson a98323bb51 Bug 1611060 - Dispatch a11y scroll events for all DOM scrolls. r=Jamie
Currently, only documents dispatch scroll events when in reality any
element can have scrollable overflows.

Differential Revision: https://phabricator.services.mozilla.com/D62665

--HG--
extra : moz-landing-system : lando
2020-02-17 04:09:34 +00:00
Morgan Reschenberg 7c8049bbaf Bug 1611428: Add accessibilityLabel function to support aria-label on MacOS. r=eeejay,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D62470

--HG--
extra : moz-landing-system : lando
2020-02-14 21:20:27 +00:00
Eitan Isaacson 1fedcb34de Bug 1615502 - Support list items with display:contents. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D62947

--HG--
extra : moz-landing-system : lando
2020-02-14 21:14:02 +00:00
Morgan Reschenberg 2c5b5be3cf Bug 746531: Remove Mac-specific casing in listcontrols focus test. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D62455

--HG--
extra : moz-landing-system : lando
2020-02-13 00:06:46 +00:00
Cosmin Sabou ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Brindusan Cristian e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Mike Shal e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Simon Giesecke b50347f917 Bug 1611415 - Prefer using std::move over forget. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
Eitan Isaacson 809ed89d61 Bug 895323 - Don't create bullet accessible when list style is none. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D62537

--HG--
extra : moz-landing-system : lando
2020-02-12 06:25:29 +00:00
Eitan Isaacson 6bbdeee348 Bug 1614835 - Advertise focusable state to OSX correctly. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D62523

--HG--
extra : moz-landing-system : lando
2020-02-13 00:09:16 +00:00
shindli 91aa0518dd Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE 2020-02-12 20:13:29 +02:00
Simon Giesecke f604a47fa5 Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Simon Giesecke 244019e207 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in accessibility. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62569

--HG--
extra : moz-landing-system : lando
2020-02-12 13:39:21 +00:00
Mirko Brodesser 36437a9d2d Bug 1613378: part 9) Clarify dependency to `mFrameSelection` in `Selection` when adding/removing ranges. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62198

--HG--
extra : moz-landing-system : lando
2020-02-12 12:27:32 +00:00
Eitan Isaacson ff0625bca4 Bug 1614079 - Pass accessibilityHitTest to content process. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D62311

--HG--
extra : moz-landing-system : lando
2020-02-10 23:36:36 +00:00
Eitan Isaacson 697e001179 Bug 1604103 - Instead of pruning links and headings use contentDescription. r=Jamie
Chrome prunes the subtrees of links and headings (with single text leaf
children) and we mimic this in Gecko. The problem is that sometimes a
heading can be a child of a link, and it would be impossible to reach
when navigating by headings.

The main reason we mimiced chrome is because we would getthe name of the
node and its subtree uttered, so you would hear the name of the node
twice. By using contentDescription we can suppress the subtree from
TalkBack's utterance and preserve the node's children for heading
navigation.

Differential Revision: https://phabricator.services.mozilla.com/D61766

--HG--
extra : moz-landing-system : lando
2020-02-06 04:11:47 +00:00
Aaron Klotz e9f01af788 Bug 1613531: Eliminate the a11y telemetry thread in favour of background task; r=Jamie
We replace the a11y telemetry thread with a call to the new
`NS_DispatchBackgroundTask` infrastructure. We use `NS_DISPATCH_EVENT_MAY_BLOCK`
because the task performs some I/O to load the instantiator's version info.

I also took the opportunity to eliminate some redundant copying.

Differential Revision: https://phabricator.services.mozilla.com/D61769

--HG--
extra : moz-landing-system : lando
2020-02-06 00:24:26 +00:00
Yura Zenevich 38f55cdb70 Bug 1429575 - removing test disabling conditions. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D61729

--HG--
extra : moz-landing-system : lando
2020-02-06 00:30:08 +00:00
Kendall Werts a3b87c2eaa Bug 1613250 - Bring long press for new container tab menu back. r=Gijs,flod
Added long press as well as the old tooltip language back
and updated 2 tests.

Differential Revision: https://phabricator.services.mozilla.com/D61717

--HG--
extra : moz-landing-system : lando
2020-02-05 21:50:58 +00:00
Morgan Reschenberg 6d7530b618 Bug 1590216: Test for a EVENT_TEXT_CARET_MOVED when text is selected in the URL bar of a new window. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D56781

--HG--
extra : moz-landing-system : lando
2020-02-04 11:25:01 +00:00