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

7831 Коммитов

Автор SHA1 Сообщение Дата
Eitan Isaacson 16eb76a3c5 Bug 1565728 - Introduce PDocAccessiblePlatformExt for Android. r=Jamie
Ultimately Batch from PDocAccessible would be moved to here as well.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 16:55:05 +00:00
Eitan Isaacson 0293722fcc Bug 1565728 - Introduce PDocAccessiblePlatformExt. r=Jamie
This is an extension protocol that can be used for platform specific
API (ie. AccessibleWrap methods).

I'm not thrilled with the seperate constructor for the sub-protocol.
This means that the parent won't have the actor upon DocAccessibleParent
construction, and some timing bugs can arise because of the extra round
trip. It would be cool if both actors could be co-created, but that
would require ManagedEndpoint, and for PBrowser to manage them both. I
don't want to expose this to PBrowser.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 16:55:01 +00:00
Morgan Reschenberg 0b76713b25 Bug 1563598: Display 'container-live' attribute on descendents of implicitly-live elements. r=Jamie
Depends on D45402

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

--HG--
extra : moz-landing-system : lando
2019-09-13 16:43:58 +00:00
Morgan Reschenberg 8a64fb0963 Bug 1563598: Change output elements to have statusbar role instead of section role. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D45402

--HG--
extra : moz-landing-system : lando
2019-09-13 16:43:49 +00:00
Masayuki Nakano f521a40385 Bug 1574852 - part 104: Move `TextEditRules::WillInsertText()` to `TextEditor` and make `HTMLEditor::WillInsertText()` override it r=m_kato
And also this patch moves `TextEditRules::HandleNewLines()` and
`TextEditRules::DontEchoPassword()` to `TextEditor`.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 02:40:09 +00:00
Dorel Luca c7aad775a7 Backed out 2 changesets (bug 1565728) for License failure. CLOSED TREE
Backed out changeset 6c30dad5259b (bug 1565728)
Backed out changeset 4369b7203266 (bug 1565728)
2019-09-13 03:16:23 +03:00
Eitan Isaacson a058d4e8bc Bug 1565728 - Introduce PDocAccessiblePlatformExt for Android. r=Jamie
Ultimately Batch from PDocAccessible would be moved to here as well.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 23:02:01 +00:00
Eitan Isaacson 35496390cd Bug 1565728 - Introduce PDocAccessiblePlatformExt. r=Jamie
This is an extension protocol that can be used for platform specific
API (ie. AccessibleWrap methods).

I'm not thrilled with the seperate constructor for the sub-protocol.
This means that the parent won't have the actor upon DocAccessibleParent
construction, and some timing bugs can arise because of the extra round
trip. It would be cool if both actors could be co-created, but that
would require ManagedEndpoint, and for PBrowser to manage them both. I
don't want to expose this to PBrowser.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 23:01:59 +00:00
Dão Gottwald a355f15d53 Bug 1580822 - a11y focus lost when selecting the first one-off search button or the search settings button. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D45692

--HG--
extra : moz-landing-system : lando
2019-09-12 21:07:39 +00:00
Dorel Luca f6c45cc8c1 Backed out 2 changesets (bug 1563598) for Mochitest failures on accessible/tests/mochitest/tree/test_formctrl.html. CLOSED TREE
Backed out changeset 968ef845dc64 (bug 1563598)
Backed out changeset d647bd5b0b29 (bug 1563598)
2019-09-13 00:11:58 +03:00
Dorel Luca 7f5e96335e Backed out 2 changesets (bug 1565728) for License failure. CLOSED TREE
Backed out changeset 0d08e4b02c17 (bug 1565728)
Backed out changeset 4fe176e80602 (bug 1565728)
2019-09-12 23:48:50 +03:00
Morgan Reschenberg 5523b6c1ff Bug 1563598: Display 'container-live' attribute on descendents of implicitly-live elements. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D45609

--HG--
extra : moz-landing-system : lando
2019-09-12 20:01:50 +00:00
Morgan Reschenberg dd9d61742f Bug 1563598: Change output elements to have statusbar role instead of section role. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D45402

--HG--
extra : moz-landing-system : lando
2019-09-12 16:13:19 +00:00
Eitan Isaacson 28c79c116e Bug 1565728 - Introduce PDocAccessiblePlatformExt for Android. r=Jamie
Ultimately Batch from PDocAccessible would be moved to here as well.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 20:10:55 +00:00
Eitan Isaacson 82aa8a18ca Bug 1565728 - Introduce PDocAccessiblePlatformExt. r=Jamie
This is an extension protocol that can be used for platform specific
API (ie. AccessibleWrap methods).

I'm not thrilled with the seperate constructor for the sub-protocol.
This means that the parent won't have the actor upon DocAccessibleParent
construction, and some timing bugs can arise because of the extra round
trip. It would be cool if both actors could be co-created, but that
would require ManagedEndpoint, and for PBrowser to manage them both. I
don't want to expose this to PBrowser.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 20:10:51 +00:00
Yura Zenevich 10b6f4b09f Bug 1503084 - added a wait for NAME_CHANGE event after aria-label removal. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D45361

--HG--
extra : moz-landing-system : lando
2019-09-12 19:29:26 +00:00
Hiroyuki Ikezoe 6f114d0542 Bug 1541705 - Try to see whether the target frame is scrolled out of view in out-of-process iframe if we couldn't walk up the frame tree. r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D44423

--HG--
extra : moz-landing-system : lando
2019-09-12 08:12:49 +00:00
Morgan Reschenberg 107633cba4 Bug 1277201: Fire a STATE_CHANGE event when a details element is opened or closed. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D44872

--HG--
extra : moz-landing-system : lando
2019-09-10 16:16:53 +00:00
Mike Shal f8f5fce637 Bug 1496746 - Remove VPATH; r=glandium
Having a full VPATH for the srcdir sometimes causes make to grab the
wrong prerequisite for a rule, in particular if we have a file in the
srcdir and also generate a file of the same name in the objdir. We don't
really need VPATH anymore though, since most of the information comes
from mozbuild, where we can explicitly list the path to the srcdir or
objdir as necessary.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 17:44:47 +00:00
Toshihito Kikuchi 18aab300b5 Bug 1576697 - Use LauncherResult in WinHeaderOnlyUtils.h instead of WindowsErrorResult. r=aklotz
`WindowsErrorResult` is a class to hold either a value or a Windows error
code based on the `Result` template.  We also have `LauncherResult` for the
same purpose, which was introduced as a part of the launcher process feature
afterward.  The difference is `LauncherResult` holds a filename and line
number along with an error code.

This patch integrates LauncherResult.h into WinHeaderOnlyUtils.h so that we
can use `LauncherResult` more broadly.

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

--HG--
extra : moz-landing-system : lando
2019-09-07 18:17:45 +00:00
Eitan Isaacson 0bf1f3d15c Bug 1578282 - Use flattened tree parent when getting inserted node container. r=Jamie
This assures that a node that has already been inserted in a shadow root
subtree does not get erroneously reinserted into the top container.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 00:24:21 +00:00
James Teh 0b797e7d2e Bug 1578604: accessible/tests/mochitest/actions/test_general.xul: Don't require the focus event on menulist to be unique. r=eeejay
focusChecker expects a unique focus event.
However, there might still be pending focus events not caught by previous tests.
Therefore, we specify our own checker so we can disable the uniqueness requirement.
This is a little ugly, but it's rather difficult to work around this within this declarative framework without potentially breaking other tests.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 20:38:32 +00:00
James Teh 43953a25a3 Bug 1578311: Don't prune a trailing HTML br child from the accessibility tree. r=eeejay
Pruning these meant that `<span><br></span>` wasn't represented in the tree or rendered text at all.
This meant that lines were merged together in NVDA browse mode; e.g. in CI build logs on Gitlab.

The reason we started pruning these is that they were causing invalid line offsets to be returned for affected lines (bug 899433).
This patch also fixes this problem in HyperTextAccessible::FindOffset.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 23:41:36 +00:00
Gerald Squelart 95f77c2409 Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum
All calls to `profiler_add_marker()` (outside of the profilers code) are
now replaced by either:
- `PROFILER_ADD_MARKER(name, categoryPair)`
- `PROFILER_ADD_MARKER_WITH_PAYLOAD(name, categoryPair, TypeOfMarkerPayload,
                                    (payload, ..., arguments))`

This makes all calls consistent, and they won't need to prefix the category pair
with `JS::ProfilingCategoryPair::`.

Also it will make it easier to add (and later remove) internal-profiling
instrumentation (bug 1576550), and to replace heap-allocated payloads with
stack-allocated ones (bug 1576555).

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

--HG--
extra : moz-landing-system : lando
2019-09-04 07:56:51 +00:00
James Teh 187e20b6ae Bug 1578140: Use nsXULElement::Click for DoAction on XULLabelAccessible so it works for labels inside buttons. r=eeejay
For labels inside buttons, The base implementation of DispatchClickEvent doesn't fire a command event on the button.
To fix this, override DispatchClickEvent to use nsXULElement::Click, which does fire a command event on the button.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 19:11:35 +00:00
Tom Ritter 7a1a59b4a2 Bug 1577288 - Re-enable the ally tests by backing out ff9a610b3793 r=jmaher
Depends on D43822

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:26:12 +00:00
James Teh 49d8452868 Bug 1574286: When adding a remote child document, if the parent proxy doesn't exist yet, defer adding until it does. r=eeejay
For OOP iframes, sometimes, AddChildDoc gets called before the embedder sends us the OuterDocAccessible.
Previously, we crashed when this occurred.
Now, we add the child when the OuterDocAccessible proxy gets created later.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 03:32:55 +00:00
Eitan Isaacson 1a3b5051f6 Bug 1576549 - Use bounds in bundle argument instead of getter method. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D44041

--HG--
extra : moz-landing-system : lando
2019-08-30 01:29:31 +00:00
Emilio Cobos Álvarez a98a4dc71b Bug 1577258 - Explicitly flush layout in an a11y test. r=eeejay
We have an optimization to avoid an expensive reflow from SetFullZoom, see
mSuppressResizeReflow[1].

That was done because we used to do a full synchronous reflow right after. We no
longer do that, but due to that member we also don't invalidate!

My second patch in this bug changes the behavior of that flag so that we don't
synchronously reflow, but we do invalidate. So in turn this test before the
change wasn't really testing the zoomed code-path since it was using the clean
layout from before the zoom operation.

a11y getBounds and co. don't flush layout (they probably should), but since with
my patch we dirty the frame tree, and dirty frames return bogus offsets, the
test starts failing.

Flush layout explicitly to ensure we're testing the zoomed code path.

[1]: https://searchfox.org/mozilla-central/rev/325c1a707819602feff736f129cb36055ba6d94f/layout/base/nsPresContext.cpp#952

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

--HG--
extra : moz-landing-system : lando
2019-08-29 21:25:12 +00:00
Eitan Isaacson c7e39034b6 Bug 1576690 - Prune de-slotted accessibles, or relocate them to new slot. r=Jamie,emilio
This patch does several things:
 1. If there is a change to a host or a slot, check the slottable
    elements to see if they are rendered in the tree. Remove them if not.
 2. Check slot elements' fallback content if it is rendered and remove if
    not.
 3. Allow accessibles to be reinserted into a different parent or index.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 16:14:48 +00:00
Maliha Islam f35ba542fb Bug 1357071 - Implement support for implicit values for aria-value* attributes for scrollbar and slider roles, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43293

--HG--
extra : moz-landing-system : lando
2019-08-29 06:39:28 +00:00
Maliha Islam 829cc15e27 Bug 1522383 - Assign gridcell role to cells inside a table with grid role, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43858

--HG--
extra : moz-landing-system : lando
2019-08-29 10:09:48 +00:00
Dorel Luca efca664ecd Backed out changeset 7f1703036acf (bug 1357071) for Browser-chrome failures on accessible/tests/browser/e10s/browser_caching_value.js 2019-08-29 05:49:07 +03:00
Maliha Islam ea886244a0 Bug 1357071 - Implement support for implicit values for aria-value* attributes for scrollbar and slider roles, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43293

--HG--
extra : moz-landing-system : lando
2019-08-29 00:18:08 +00:00
Eitan Isaacson df40116d6f Bug 1572829 - Remove explicit children too when node has a shadow root. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43488

--HG--
extra : moz-landing-system : lando
2019-08-28 23:02:19 +00:00
Eitan Isaacson b62f296126 Bug 1576709 - Add crash test for bug 1572811. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43499

--HG--
extra : moz-landing-system : lando
2019-08-26 23:12:27 +00:00
Eitan Isaacson 8593d6d908 Bug 1576696 - Add a '0x' prefix to hex pointer values in logging nodes. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43485

--HG--
extra : moz-landing-system : lando
2019-08-27 02:02:01 +00:00
kriswright be316b6bf9 Bug 1573992 - Convert 3 ui.key.* prefs to static prefs. r=njn
Converts ui.key.generalAccessKey, ui.key.chromeAccess, and ui.key.contentAccess to static prefs. Updates usages.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +00:00
Emilio Cobos Álvarez f4fb9ab137 Bug 1576194 - Remove kDisplayKTable. r=mats
It doesn't represent anything useful anymore.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 15:52:05 +00:00
Alex Vincent cec0c5cbdb Bug 1508169, Remove performAction* from nsITreeView.idl in mozilla-central. r=peterv, johannh
performAction, performActionOnRow and performActionOnCell are methods of the
nsITreeView interface that are never called.  This is to remove these methods.
A comm-central patch will be along shortly.

Differential Revision: https://phabricator.services.mozilla.com/D39273
2019-08-24 00:49:55 +02:00
Gautham Velchuru 0b2b2ab7b2 Bug 1357100 - change implicit val for aria-level on a heading to 2 r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D35616

--HG--
extra : moz-landing-system : lando
2019-08-23 01:28:13 +00:00
Eitan Isaacson 47656aa608 Bug 1572811 - Don't fire text change events if container accessible has no frame. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D42199

--HG--
extra : moz-landing-system : lando
2019-08-22 20:28:38 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Maliha Islam f6e1118c76 Bug 1540813 - Support new ARIA roles insertion and deletion, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D42911

--HG--
extra : moz-landing-system : lando
2019-08-21 20:36:39 +00:00
Olli Pettay d6e4ed531f Bug 1547176, try to make browser_test_zoom_text.js more resilient to scheduling changes, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D42486

--HG--
extra : moz-landing-system : lando
2019-08-21 15:51:24 +00:00
Samuel Thibault 55522b7f0f Bug 1574950 - atk: Set returned values to -1 in case of errors, as newly documented in atk r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D42515

--HG--
extra : moz-landing-system : lando
2019-08-20 22:42:49 +00:00
Mats Palmgren 2525944e34 Bug 1574994 part 1 - Remove/replace display:-moz-inline-grid and -moz-inline-stack in tests. r=emilio
I replaced the values with -moz-inline-box in the crashtests
rather than removing them.  I think they are still valuable
after replacing the display value.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 21:19:04 +00:00
Dão Gottwald 26f3378b01 Bug 1561533 - Increase quantumbar input size on focus and visually integrate the view. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D42149

--HG--
extra : moz-landing-system : lando
2019-08-20 15:14:25 +00:00
James Teh bda9b87fdb Bug 1574428: IAccessible2_2::relationTargetsOfType: Support 0 for all targets and fix off-by-one error. r=MarcoZ
1. As per the spec, if maxTargets is 0, return all targets.
2. Where maxTargets > 0, fix the loop condition so it doesn't incorrectly fetch one more target than requested.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 05:58:49 +00:00
Noemi Erli 6b80a780ed Backed out changeset 067d47e20a94 (bug 1572811) for causing failures in CharacterData.cpp CLOSED TREE 2019-08-15 20:30:45 +03:00