Commit Graph
70 Commits
Author SHA1 Message Date
Daniel Holbert b4e4f5d2f5 Bug 2038733: Use MakeRefPtr to do allocation for local RefPtr variables, in accessible/. r=accessibility-platform-reviewers,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D299763
2026-05-12 07:20:02 +00:00
Sylvestre Ledru eafe8b152d Bug 2023419 - Remove Emacs/Vim modelines from accessible/ r=emilio
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287834
2026-03-18 10:29:47 +00:00
Serban Stanca 5a709d4a9a Revert "Bug 2023419 - Remove Emacs/Vim modelines from accessible/ r=emilio" for causing mochitests failures in browser_action.js.
This reverts commit 2fa4815c8d.
2026-03-17 15:34:26 +00:00
Sylvestre Ledru 2fa4815c8d Bug 2023419 - Remove Emacs/Vim modelines from accessible/ r=emilio
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287834
2026-03-17 09:21:51 +00:00
Eitan Isaacson 2ef785703f Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan
Mark Name() as final in LocalAccessible and RemoteAccessible, and rely
on DirectName for overriding name calculation in local accessibles.

Depends on D271310

Differential Revision: https://phabricator.services.mozilla.com/D271311
2025-11-21 19:10:04 +00:00
Cristina Horotan 5e77cab491 Revert "Bug 1998242, 1998255: apply code formatting via Lando" for causing wpt failures on /comp_tooltip.html DONTBUILD
This reverts commit 7b7f37ff69.

Revert "Bug 1998255 - P4: Calculate labeled names remotely. r=morgan"

This reverts commit 7265cce8b1.

Revert "Bug 1998255 - P3: Return eNameFromRelations when name was exclusively calculated from relations. r=morgan"

This reverts commit dbe3c2b954.

Revert "Bug 1998255 - P2: Have GetTextEquivFromIDRefs return true if it used hidden content or referenced itself. r=morgan"

This reverts commit f30cc8c2c8.

Revert "Bug 1998255 - P1: Intro and use ArrayAccIterator. r=morgan"

This reverts commit 312430263f.

Revert "Bug 1998242 - P5: Perform subtree name calculation in RemoteAccessible::Name. r=morgan"

This reverts commit 4deac16ef9.

Revert "Bug 1998242 - P4: Break up name calculation to allow remote subtree calc. r=morgan"

This reverts commit ab72073e90.

Revert "Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan"

This reverts commit 6f8ce31065.

Revert "Bug 1998242 - P2: Don't rely on NativeName override to suppress subtree name calc. r=morgan"

This reverts commit 1fbfdefcef.

Revert "Bug 1998242 - P1: Factor out tooltip calculation. r=morgan"

This reverts commit 695b65952f.
2025-11-21 11:15:27 +00:00
Eitan Isaacson 6f8ce31065 Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan
Mark Name() as final in LocalAccessible and RemoteAccessible, and rely
on DirectName for overriding name calculation in local accessibles.

Depends on D271310

Differential Revision: https://phabricator.services.mozilla.com/D271311
2025-11-21 06:40:23 +00:00
iulian moraru f06208ee3f Revert "Bug 1998242, Bug 1998255 1998255: apply code formatting via Lando" for causing dt failures on browser_accessibility_print_to_json.js.
This reverts commit d42283eaec.

Revert "Bug 1998255 - P4: Calculate labeled names remotely. r=morgan"

This reverts commit 4684fdbfa0.

Revert "Bug 1998255 - P3: Return eNameFromRelations when name was exclusively calculated from relations. r=morgan"

This reverts commit 15919fad2f.

Revert "Bug 1998255 - P2: Have GetTextEquivFromIDRefs return true if it used hidden content or referenced itself. r=morgan"

This reverts commit 2b6d3df0da.

Revert "Bug 1998255 - P1: Intro and use ArrayAccIterator. r=morgan"

This reverts commit c6454665b0.

Revert "Bug 1998242 - P5: Perform subtree name calculation in RemoteAccessible::Name. r=morgan"

This reverts commit 0629edfc29.

Revert "Bug 1998242 - P4: Break up name calculation to allow remote subtree calc. r=morgan"

This reverts commit 24e6864b25.

Revert "Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan"

This reverts commit 63a23a03e0.

Revert "Bug 1998242 - P2: Don't rely on NativeName override to suppress subtree name calc. r=morgan"

This reverts commit 95638bb76c.

Revert "Bug 1998242 - P1: Factor out tooltip calculation. r=morgan"

This reverts commit 25a9efa9b2.
2025-11-21 01:23:56 +00:00
Eitan Isaacson 63a23a03e0 Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan
Mark Name() as final in LocalAccessible and RemoteAccessible, and rely
on DirectName for overriding name calculation in local accessibles.

Depends on D271310

Differential Revision: https://phabricator.services.mozilla.com/D271311
2025-11-20 20:07:41 +00:00
Atila Butkovits 3f6df22bce Revert "Bug 1998242, Bug 1998255: apply code formatting via Lando" for causing failures at browser_selectables.js.
This reverts commit d0c68a8888.

Revert "Bug 1998255 - P4: Calculate labeled names remotely. r=morgan"

This reverts commit 3bfddbb990.

Revert "Bug 1998255 - P3: Return eNameFromRelations when name was exclusively calculated from relations. r=morgan"

This reverts commit a66669765f.

Revert "Bug 1998255 - P2: Have GetTextEquivFromIDRefs return true if it used hidden content or referenced itself. r=morgan"

This reverts commit 99158f058d.

Revert "Bug 1998255 - P1: Intro and use ArrayAccIterator. r=morgan"

This reverts commit 5d3dbed390.

Revert "Bug 1998242 - P5: Perform subtree name calculation in RemoteAccessible::Name. r=morgan"

This reverts commit 68053ff36f.

Revert "Bug 1998242 - P4: Break up name calculation to allow remote subtree calc. r=morgan"

This reverts commit 0d01bdd7e0.

Revert "Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan"

This reverts commit 9ee273d6c6.

Revert "Bug 1998242 - P2: Don't rely on NativeName override to suppress subtree name calc. r=morgan"

This reverts commit 55dc166a46.

Revert "Bug 1998242 - P1: Factor out tooltip calculation. r=morgan"

This reverts commit 602b768450.
2025-11-20 06:39:20 +00:00
Eitan Isaacson 9ee273d6c6 Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan
Mark Name() as final in LocalAccessible and RemoteAccessible, and rely
on DirectName for overriding name calculation in local accessibles.

Depends on D271310

Differential Revision: https://phabricator.services.mozilla.com/D271311
2025-11-20 03:55:38 +00:00
Alexandru Marc 284c082177 Revert (Bug 1998242, Bug 1998255) for causing build bustages @ nsTextEquivUtils.cpp
This reverts commit 7c76213cf0.

Revert "Bug 1998255 - P4: Calculate labeled names remotely. r=morgan"

This reverts commit ebe32a1bcc.

Revert "Bug 1998255 - P3: Return eNameFromRelations when name was exclusively calculated from relations. r=morgan"

This reverts commit f4a05b1359.

Revert "Bug 1998255 - P2: Have GetTextEquivFromIDRefs return true if it used hidden content or referenced itself. r=morgan"

This reverts commit bbd365ae27.

Revert "Bug 1998255 - P1: Intro and use ArrayAccIterator. r=morgan"

This reverts commit 4cf9fc73f1.

Revert "Bug 1998242 - P5: Perform subtree name calculation in RemoteAccessible::Name. r=morgan"

This reverts commit 5a3dff09a7.

Revert "Bug 1998242 - P4: Break up name calculation to allow remote subtree calc. r=morgan"

This reverts commit 69925bd2e6.

Revert "Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan"

This reverts commit a0cf5d9cd6.

Revert "Bug 1998242 - P2: Don't rely on NativeName override to suppress subtree name calc. r=morgan"

This reverts commit a4155e38e4.

Revert "Bug 1998242 - P1: Factor out tooltip calculation. r=morgan"

This reverts commit 8c278d8b8f.
2025-11-20 00:22:53 +00:00
Eitan Isaacson a0cf5d9cd6 Bug 1998242 - P3: Introduce DirectName() to be used by Name(). r=morgan
Mark Name() as final in LocalAccessible and RemoteAccessible, and rely
on DirectName for overriding name calculation in local accessibles.

Depends on D271310

Differential Revision: https://phabricator.services.mozilla.com/D271311
2025-11-19 23:47:37 +00:00
Eitan Isaacson d263fd4451 Bug 1970234 - Add new eNameFromRelations name flag. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D252414
2025-06-09 18:04:37 +00:00
Atila Butkovits 98e0256221 Revert "Bug 1970235 - Don't show AXTitleUIElement in some conditions. r=morgan" for causing failures at browser_label_title.js.
This reverts commit 48db718d40.

Revert "Bug 1781153 - Simplify use of AXTitle/AXDescription. r=morgan"

This reverts commit 14eb8560c7.

Revert "Bug 1970234 - Add new eNameFromRelations name flag. r=morgan"

This reverts commit 799312555c.
2025-06-07 04:06:12 +00:00
Eitan Isaacson 799312555c Bug 1970234 - Add new eNameFromRelations name flag. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D252414
2025-06-07 02:12:16 +00:00
James Teh eb0f0a9790 Bug 1961832: When queuing an event, don't append it to the array at all if it is a duplicate and duplicates aren't allowed. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D246400
2025-04-23 23:46:12 +00:00
Morgan Rae Reschenberg 1d72c8036a Bug 1919688: Add perfstats marker for EventQueue::CoalesceEvents funciton r=bdekoz
Differential Revision: https://phabricator.services.mozilla.com/D237649
2025-02-13 23:39:49 +00:00
Nathan LaPre 93ff9682eb Bug 1774918: Consolidate accessibility mutation events in fewer IPC messages, r=Jamie,geckoview-reviewers,m_kato
This revision modifies the way that ProcessMutationEvents works. Rather than
firing mutation events immediately, it instead causes them to be queued on
DocAccessibleChild via HandleAccEvent. The code then fires the events in batches
with a new IPC method, SendMutationEvents. The net effect of this change is a
significant reduction in pressure on the IPC system, in favor of fewer, larger
messages. For pages that generate many mutation events often, this represents a
big win for performance. Without this, the IPC queue can get backed up, failing
to keep up with the amount of accessibility IPC messages as they flood in.

The method of batching is carefully written to maximize the amount of
accessibles that can be touched in a mutation event batch without going
over the IPC message size limit. This revision does not implement size
tracking, but does make a reasonable approximation. With these changes,
heterogenous mutation event types can sit together in batches, including
sub-batches of show events. A side effect of this change is that initial
page load is further amalgamated; multiple document children that
produce separate calls to InsertIntoIpcTree now use this queueing
mechanism and can have their show events sent together.

Some messages may fire differently from their former ordering with this change,
particularly EVENT_MENUPOPUP_END for content processes. However, that event
appears to have been fired out of order with the existing code, meaning
that this change represents a fix to that ordering issue as well.

Finally, this revision makes a slight modification to an Android test
for clarity and correctness. I discovered this issue while debugging
event ordering and realized it was valuable to fix.

Differential Revision: https://phabricator.services.mozilla.com/D229842
2024-12-18 20:53:52 +00:00
Eitan Isaacson b635145c89 Bug 1919087 - Defer PushNameOrDescriptionChange to WillRefresh tick. r=Jamie
Since the method is deferred we need to do extra guesswork for possible
situtations where the name has changed because we don't have the
privilege to calculate the name in-line when content is deleted.

I tried to account for all cases as we have in our test coverage. I
hope that if there are edge cases they are false positives, and we are
firing extra name changes and not the opposite.

Differential Revision: https://phabricator.services.mozilla.com/D223877
2024-10-17 04:46:20 +00:00
Stanca Serban f08d898483 Backed out changeset cbbe203e630b (bug 1919087) for causing build bustages in EventQueue.cpp. CLOSED TREE 2024-10-16 00:51:51 +03:00
Eitan Isaacson 9fafa7208a Bug 1919087 - Defer PushNameOrDescriptionChange to WillRefresh tick. r=Jamie
Since the method is deferred we need to do extra guesswork for possible
situtations where the name has changed because we don't have the
privilege to calculate the name in-line when content is deleted.

I tried to account for all cases as we have in our test coverage. I
hope that if there are edge cases they are false positives, and we are
firing extra name changes and not the opposite.

Differential Revision: https://phabricator.services.mozilla.com/D223877
2024-10-15 20:21:06 +00:00
Sylvestre Ledru a3ea006705 Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato
This new version of clang 17 also slightly changed the formatting.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D215914
2024-07-17 11:15:31 +00:00
Daniel Holbert c93b025913 Bug 1867358 part 1: Fix up unbraced single-line if-statements in NotificationController and its superclass. r=eeejay
This patch has no functional change; it's just some trivial fixups to align
with with Mozilla C++ coding style.

Differential Revision: https://phabricator.services.mozilla.com/D195040
2023-12-01 17:18:22 +00:00
Natalia Csoregi 291f10e001 Backed out 3 changesets (bug 1867358) as per request. CLOSED TREE
Backed out changeset 0ce8fcf63e62 (bug 1867358)
Backed out changeset 6d9bf8dfbb4d (bug 1867358)
Backed out changeset e995a2b2ff4d (bug 1867358)
2023-11-30 07:09:25 +02:00
Daniel Holbert b8a9cf8bd1 Bug 1867358 part 1: Fix up unbraced single-line if-statements in NotificationController and its superclass. r=eeejay
This patch has no functional change; it's just some trivial fixups to align
with with Mozilla C++ coding style.

Differential Revision: https://phabricator.services.mozilla.com/D195040
2023-11-29 23:32:22 +00:00
James Teh f60bbbed62 Bug 1661923: Expose file input as a button in the a11y tree rather than a group. r=eeejay
A file input contains two native anonymous children: the Browse button and the file name label.
Previously, we exposed the file input as a group in the a11y tree and its anonymous children as children of that group.
While this is semantically correct, it causes several problems for screen readers.
First, if the author provides a label or description, that gets exposed on the group.
Some screen readers ignore either one or the other depending on the screen reader, what the author specified and how the user navigated there.
Second, the file name label isn't focusable and wasn't associated to the group in any way aside from being a child.
This meant that a screen reader user might not perceive it in some cases.

Since most users understand a file input as a single control anyway, we now just expose the input as a simple button containing two text leaves.
However, unlike most buttons, we need to append the text to the name even if the author specifies a name.
As a bonus, this simplifies some code, since we no longer need to redirect focus or events.

An additional problem was that the file input previously returned false for LocalAccessible::IsWidget, which meant that a wrapping HTML label wasn't associated correctly.
This has been fixed as well, although this fix could have applied just as easily to the previous group implementation.

Differential Revision: https://phabricator.services.mozilla.com/D191264
2023-10-23 23:38:13 +00:00
James Teh a650302d14 Bug 1843540: Ensure that EventQueue::PushNameOrDescriptionChange never queues events for an Accessible outside its document. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D184070
2023-07-21 23:20:50 +00:00
Nathan LaPre 22e4c96a2b Bug 1840732 Part 1: Remove unnecessary includes from accessible/base, r=Jamie
This revision removes unnecessary include directives from cpp files in the
accessible/base directory. These suggestions came from the Include What You Use
tool.

Differential Revision: https://phabricator.services.mozilla.com/D182288
2023-07-07 03:22:07 +00:00
James Teh 16aa5c42a9 Bug 1833313: Remove all remaining a11y cache checks and non-caching code except for Mac specific bits. r=morgan,geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D178146
2023-05-28 23:42:12 +00:00
Sandor Molnar d1c4b13412 Backed out changeset dbb7e27f8464 (bug 1833313) for causing android gv-junit crashes. CLOSED TREE 2023-05-24 14:08:03 +03:00
James Teh de23c323b0 Bug 1833313: Remove all remaining a11y cache checks and non-caching code except for Mac specific bits. r=morgan,geckoview-reviewers,calu
Differential Revision: https://phabricator.services.mozilla.com/D178146
2023-05-24 10:10:46 +00:00
James Teh ddfdb64368 Bug 1821955 part 5: Change all CtW pref checks to use a11y::IsCacheActive. r=eeejay,taskgraph-reviewers,bhearsum
This was done using the following script:

```
matchingFiles=`git grep -l accessibility_cache_enabled`
sed -i 's/StaticPrefs::accessibility_cache_enabled_AtStartup/a11y::IsCacheActive/' $matchingFiles
for f in $matchingFiles; do
  usesA11yPref=
  grep -q StaticPrefs::accessibility_ $f && usesA11yPref=1
  hasA11yInclude=
  grep -q 'nsAccessibilityService.h' $f && hasA11yInclude=1
  if [ -z $usesA11yPref ] && [ -z $hasA11yInclude ]; then
    sed -i 's,mozilla/StaticPrefs_accessibility.h,nsAccessibilityService.h,' $f
  elif [ -z $usesA11yPref ] && [ $hasA11yInclude ]; then
    sed -i '/"mozilla.StaticPrefs_accessibility.h"/d' $f
  elif [ $usesA11yPref ] && [ -z $hasA11yInclude ]; then
    sed -i '/"mozilla.StaticPrefs_accessibility.h"/a#include "nsAccessibilityService.h"' $f
  fi
done
```

Differential Revision: https://phabricator.services.mozilla.com/D177722
2023-05-19 02:56:48 +00:00
James Teh ac48571ce8 Bug 1823294: Make PushNameOrDescriptionChange fire a name change event on the target itself if appropriate. r=eeejay
Previously, PushNameOrDescriptionChange wouldn't consider the target itself as a candidate for a name change event.
If the text of a text leaf changes without replacing the leaf, the only event we will get is text inserted on its parent.
If that parent calculated its name from its subtree, this meant that we wouldn't fire a name change in this case.
We address this by allowing this function to fire on the target itself in this case.

Differential Revision: https://phabricator.services.mozilla.com/D172953
2023-03-24 00:37:34 +00:00
James Teh 8ad87b7ef8 Bug 1800755: Don't send selection changes for defunct Accessibles. r=morgan
When a selection event is dropped due to coalescence, we still include the impacted Accessible in the SelectedAccessiblesChanged notification we send to the parent process.
Although we skip events with defunct targets, we weren't skipping defunct items referenced by selection events.
This meant that if an Accessible was selected/unselected but was shut down before we sent SelectedAccessiblesChanged, the notification would include a dead Accessible.
This was causing an assertion in the parent process.
To fix this, we now ignore defunct items in selection events.

Differential Revision: https://phabricator.services.mozilla.com/D162551
2022-11-22 02:24:28 +00:00
James Teh 8b3632b219 Bug 1781536 part 1: Support base Accessible in Relation. r=morgan
Previously, Relation::Next returned a LocalAccessible.
Now, it returns an Accessible so that it can support RemoteAccessible as well.
Relation::LocalNext has been added as a convenience to return a LocalAccessible when the caller is certain that only LocalAccessible is relevant.
Callers have either been updated to use LocalNext or to handle an Accessible returned from Next.
ia2AccessibleRelation now holds an array of MsaaAccessible, as we need to hold references and we can't hold references to RemoteAccessible.

Differential Revision: https://phabricator.services.mozilla.com/D152957
2022-08-03 23:58:50 +00:00
Eitan Isaacson 48638d5b8f Bug 1755377 - Send list of accessibles that are un/selected to parent cache. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D149313
2022-06-15 17:08:38 +00:00
James Teh f229a99662 Bug 1192108: Fire focus events after mutation events but before any other events. r=eeejay
It's critical that we fire mutation events first because our RemoteAccessible tree is created thus and we can't fire events on RemoteAccessibles we haven't created yet.
Beyond that, though, focus events are of primary importance.
See the comments in EventQueue::ProcessEventQueue for the reasons.

Differential Revision: https://phabricator.services.mozilla.com/D145319
2022-05-06 23:59:43 +00:00
Narcis Beleuzu 7562214981 Backed out changeset 337ded6c2bfd (bug 1192108) for geckoview failures on testMoveCaretAccessibilityFocus . CLOSED TREE 2022-05-05 04:17:34 +03:00
James Teh b5da8098cc Bug 1192108: Fire focus events after mutation events but before any other events. r=eeejay
It's critical that we fire mutation events first because our RemoteAccessible tree is created thus and we can't fire events on RemoteAccessibles we haven't created yet.
Beyond that, though, focus events are of primary importance.
See the comments in EventQueue::ProcessEventQueue for the reasons.

Differential Revision: https://phabricator.services.mozilla.com/D145319
2022-05-04 20:35:14 +00:00
Eitan Isaacson ad7a8c8b91 Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie
Changed the browser and mochitest name tests to rely exclusively on name change
events. To make this happen, I fixed all the cases where we were
event-deficient in the code:

* Examine target in PushNameOrDescriptionChange if it has eNameFromSubtreeRule.
  Fixes cases where a text change event happens with the subtree name root as target.
* Change in aria-labelledby should always result in a name change event because
  that attribute has highest prescedence.
* Add eHasNameDependent/eHasDescriptionDependent context flags when dependee accessible
  is added after dependent accessible to tree.
* Handle value attribute change in HTML buttons and determine if they should trigger a
  name changed event.
* Use accessible tree instead of content tree when calculating HTMLSelectOptionAccessible
  name, this keeps the PushNameOrDescriptionChange sees in name flags consistent with
  the actual tree.
* Handle label attribute change in select options and determine if they should trigger
  a name changed event.
* Determine if s summary attribute change on a table triggers a name change event.
* If a title attribute is changed, reliably fire a name change event if
  it is used in name calculation.

Differential Revision: https://phabricator.services.mozilla.com/D121580
2021-08-05 23:04:17 +00:00
Eitan Isaacson c1ef28b8c2 Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D105670
2021-02-19 23:14:32 +00:00
Eitan Isaacson dd2f95aa73 Bug 1693607 - [Linux] Add braces around statements. r=morgan
This is a collaboration between clang-tidy and clang-format.

clang-tidy uses compiled code paths, so this patch is linux specific.

Differential Revision: https://phabricator.services.mozilla.com/D105669
2021-02-19 23:14:32 +00:00
Eitan Isaacson 7babc2c4be Bug 1692523 - P1: Prefix local heirarchy functions with 'Local'. r=Jamie
Parent -> LocalParent
GetChildAt -> LocalChildAt
FirstChild -> LocalFirstChild
LastChild -> LocalLastChild
NextSibling -> LocalNextSibling
PrevSibling -> LocalPrevSibling

Differential Revision: https://phabricator.services.mozilla.com/D105034
2021-02-16 20:05:10 +00:00
James Teh 19d2631d7d Bug 493683 part 3: When an Accessible mutates, fire description change events on an Accessible described by it (or an ancestor thereof) via a relation. r=eeejay
This uses a similar approach to HasNameDependent, introducing a new HasDescriptionDependent.
However, we don't fire events on ancestors, since a description is never computed from an Accessible's own subtree without an explicit described by relation.

Differential Revision: https://phabricator.services.mozilla.com/D102678
2021-01-27 00:39:08 +00:00
James Teh 69b4e0da34 Bug 493683 part 2: When an Accessible mutates, fire name change events on an Accessible labelled by it (or an ancestor thereof) via a relation. r=eeejay
HasNameDependent is now set on an Accessible (and thus its descendants) which has A LABEL_FOR relation.
When text mutations occur on such an Accessible, EventQueue::PushNameChange now queues a name change for the Accessible being labelled.

Differential Revision: https://phabricator.services.mozilla.com/D102677
2021-01-27 00:34:21 +00:00
James Teh 4cf681be40 Bug 493683 part 1: Rename HasNameDependentParent to HasNameDependent due to upcoming broader usage. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D102676
2021-01-25 00:39:39 +00:00
Bas Schouten 73771dfc18 Bug 1669256 - Part 1: Remove AbstractEventQueue and de-templatize ThreadEventQueue. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92709
2020-10-09 17:56:34 +00:00
Simon Giesecke 1fbb2b245e Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Noemi Erli c5adcfe981 Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00