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

2803 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca 41530b2055 Backed out 3 changesets (bug 1722396) for Linting failure in accessible/tests/browser/mac/browser_aria_expanded.js. CLOSED TREE
Backed out changeset 86fc719a7a94 (bug 1722396)
Backed out changeset 02dea4423d5d (bug 1722396)
Backed out changeset 22f85fd34b27 (bug 1722396)
2021-08-03 02:48:13 +03:00
Eitan Isaacson b1dff1168e Bug 1722396 - P3: Compare old state bits with new ones to determine state change events. r=morgan
Needed to tweak tests a bit because the code is now more descerning
wheter to fire an event or not. Will do so only if the state actually
changes.

Depends on D120901

Differential Revision: https://phabricator.services.mozilla.com/D120902
2021-08-02 22:51:50 +00:00
Narcis Beleuzu acb7240df4 Backed out changeset 3564b76b9334 (bug 1720334) for bc failure on browser_outline.js . CLOSED TREE 2021-08-02 23:22:00 +03:00
Morgan Reschenberg f57cc30276 Bug 1720334: Represent checked/unchecked state with AXValue for treeitems r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D121215
2021-08-02 19:41:21 +00:00
James Teh f2a0bfe104 Bug 1722621: Fix detection of autocomplete popups in XULListboxAccessible after recent DOM changes. r=morgan
Previously, we used GetFlattenedTreeParent from the list box to find the autocomplete popup.
After bug 1708735, this now returns a slot instead of the panel.
We now use GetParentElement instead, which works as expected and is consistent with other code in this class anyway.

I also added a new test so this doesn't regress yet again.
We already have test_focus_autocomplete.xhtml which is supposed to test this, but that test is broken, was thus disabled and is complicated enough that I don't think we're going to fix it any time soon, if ever.

The new test was triggering an assertion on Windows when trying to handle a caret event, so HyperTextAccessible::GetCaretRect had to be tweaked slightly to fix this.

Differential Revision: https://phabricator.services.mozilla.com/D121163
2021-07-30 18:03:04 +00:00
Noemi Erli d68b5533d1 Backed out 4 changesets (bug 1722396) for causing multiple failures CLOSED TREE
Backed out changeset 3fcd2aa75f63 (bug 1722396)
Backed out changeset 52cc9f22fbd8 (bug 1722396)
Backed out changeset 20b2120a002a (bug 1722396)
Backed out changeset e2cf9edf5d73 (bug 1722396)
2021-07-30 01:39:18 +03:00
Csoregi Natalia 23c2e310ac Bug 1722396 - Fix eslint. r=lint-fix CLOSED TREE 2021-07-30 01:03:47 +03:00
Eitan Isaacson f2ee930b01 Bug 1722396 - P3: Compare old state bits with new ones to determine state change events. r=morgan
Needed to tweak tests a bit because the code is now more descerning
wheter to fire an event or not. Will do so only if the state actually
changes.

Depends on D120901

Differential Revision: https://phabricator.services.mozilla.com/D120902
2021-07-29 20:22:27 +00:00
Dorel Luca 481b88403e Backed out 3 changesets (bug 1722396) for Devtools failures in devtools/server/tests/browser/browser_accessibility_node_events.js. CLOSED TREE
Backed out changeset cda26075ae09 (bug 1722396)
Backed out changeset d953dc56b027 (bug 1722396)
Backed out changeset a1cbf6bbf0c3 (bug 1722396)
2021-07-29 01:47:13 +03:00
Eitan Isaacson 5318f826b9 Bug 1722396 - P3: Compare old state bits with new ones to determine state change events. r=morgan
Needed to tweak tests a bit because the code is now more descerning
wheter to fire an event or not. Will do so only if the state actually
changes.

Depends on D120901

Differential Revision: https://phabricator.services.mozilla.com/D120902
2021-07-28 22:04:19 +00:00
Christoph Kerschbaumer 4a6250387f Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 19:16:16 +00:00
Sandor Molnar 68cdec0548 Backed out changeset 7eb8945dd8e3 (bug 1719272) for causing bustages in gecko decision task. CLOSED TREE 2021-07-28 19:47:06 +03:00
Christoph Kerschbaumer bb716f0701 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 16:08:07 +00:00
Morgan Reschenberg 180c20349b Bug 1721390: Add moxExpanded to mozAccessible r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D121003
2021-07-27 22:47:36 +00:00
Iulian Moraru a4ec557be4 Bug 1652192 - disable browser_test_visibility.js on windows_10_64_qr for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D120786
2021-07-26 19:04:50 +00:00
Butkovits Atila d44caab816 Bug 1484212 - disable browser_test_focus_dialog.js on Win_64_qr_opt for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D120205
2021-07-21 22:55:38 +00:00
Morgan Reschenberg 5c59e82313 Bug 1716828: Notify VoiceOver of announcements from a11yUtils with AXAnnouncementRequested r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D119300
2021-07-15 19:12:09 +00:00
Harry Twyford 93961ec313 Bug 1717509 - Part 1 - Hook up UrlbarProviderPlaces and fix various lint issues. r=adw,preferences-reviewers
UnifiedComplete must stick around to serve as an mozIPlacesAutoComplete implementation for XUL consumers like search.js and privacy.js.

Differential Revision: https://phabricator.services.mozilla.com/D119306
2021-07-09 23:52:37 +00:00
Butkovits Atila 65d5ae500e Bug 1714067 - disable browser_test_selection_urlbar.js on Win_opt for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118893
2021-07-09 14:42:12 +00:00
Eitan Isaacson 6c4ded1bb1 Bug 1638500 - Consume initial menu item focus event. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D119320
2021-07-08 16:33:00 +00:00
Butkovits Atila 20567015a7 Bug 1638500 - disable browser_popupbutton.js on Mac_WR_opt for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118892
2021-07-06 17:33:41 +00:00
Hiroyuki Ikezoe 66148df97a Bug 1717726 - Remove browser_deck_has_out_of_process_iframe.js. r=tnikkel
We are going to disallow having any remote <browser>s or <iframe>s inside
nsDeckFrame, so this test is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D119066
2021-07-06 07:38:06 +00:00
James Teh 165b6e2e26 Bug 1598750: Make browser_nested_iframe.js wait for doc load complete if the nested iframe doc accessible isn't present yet. r=morgan
For OOP iframes, a doc load complete event on the embedder document doesn't necessarily mean the iframe document has finished loading yet.
We already checked for the busy state on the nested iframe doc and waited for a doc load complete event in that case.
However, depending on timing, it might be possible there is no document at all (even a busy one), so we should wait for doc load complete in that case too.
This is a speculative fix; I wasn't able to reproduce this myself.

Differential Revision: https://phabricator.services.mozilla.com/D118123
2021-06-22 23:11:25 +00:00
Kagami Sascha Rosylight 8bbe7f3f11 Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie
Doing so prevents confusion when detecting selection change.

Differential Revision: https://phabricator.services.mozilla.com/D116303
2021-06-18 00:36:53 +00:00
Ryan VanderMeulen a337a14382 Backed out 5 changesets (bug 1713334) for causing bug 1716714.
Backed out changeset bd1c37ce2c61 (bug 1713334)
Backed out changeset 876ed18c5126 (bug 1713334)
Backed out changeset 5a4f4514d99a (bug 1713334)
Backed out changeset 7d7feef654c7 (bug 1713334)
Backed out changeset 61e15374e617 (bug 1713334)
2021-06-17 10:57:32 -04:00
Eitan Isaacson 848bbe1cb6 Bug 1691813 - Use TreeWalker to find accessible descendants. r=Jamie
This speeds up reflows on pages like view source that have a single
giant container. But this maybe slows down other cases? I'm not 100%
sure.

Differential Revision: https://phabricator.services.mozilla.com/D117948
2021-06-16 18:05:13 +00:00
Butkovits Atila 8378288f6c Backed out changeset af44502e176a (bug 1691813) for causing build bustages on DocAccessible.cpp. CLOSED TREE 2021-06-16 20:43:03 +03:00
Eitan Isaacson ac98d85fc6 Bug 1691813 - Use TreeWalker to find accessible descendants. r=Jamie
This speeds up reflows on pages like view source that have a single
giant container. But this maybe slows down other cases? I'm not 100%
sure.

Differential Revision: https://phabricator.services.mozilla.com/D117948
2021-06-16 16:42:47 +00:00
Kagami Sascha Rosylight 52d022e717 Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie
Doing so prevents confusion when detecting selection change.

Differential Revision: https://phabricator.services.mozilla.com/D116303
2021-06-14 19:56:22 +00:00
Csoregi Natalia 85bb87115a Backed out 5 changesets (bug 1713334) for failures on test_texteditor_keyevent_handling.html. CLOSED TREE
Backed out changeset ab7b2061f5e8 (bug 1713334)
Backed out changeset f4032094748d (bug 1713334)
Backed out changeset 858410646bf7 (bug 1713334)
Backed out changeset 875b520387b8 (bug 1713334)
Backed out changeset 78b0cdebc890 (bug 1713334)
2021-06-14 20:58:37 +03:00
Kagami Sascha Rosylight b327288d9d Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie
Doing so prevents confusion when detecting selection change.

Differential Revision: https://phabricator.services.mozilla.com/D116303
2021-06-14 13:08:32 +00:00
Mats Palmgren a8cb28ae2c Bug 1542807 part 7 - Update a11y tests. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D114129
2021-06-14 01:22:07 +00:00
Ed Lee 9930a18c9b Bug 1633883 - TelemetryTestUtils.assertScalar assumes Number (so behaves odd for boolean, strings) r=chutten
Split assertScalar to assertScalarUnset to allow the former to plain check the value including strings, false and 0.

Differential Revision: https://phabricator.services.mozilla.com/D117457
2021-06-11 21:06:26 +00:00
Butkovits Atila ed3da455ae Backed out 7 changesets (bug 1542807) for causing failures at inert-retargeting-iframe.tentative.html. CLOSED TREE
Backed out changeset e9ef32fa2f2e (bug 1542807)
Backed out changeset 8fa0cb199975 (bug 1542807)
Backed out changeset 38daf64afe59 (bug 1542807)
Backed out changeset e3aee052c495 (bug 1542807)
Backed out changeset a71056d4c7cc (bug 1542807)
Backed out changeset cf91e7d0a37f (bug 1542807)
Backed out changeset eee949e5fd67 (bug 1542807)
2021-06-12 01:38:25 +03:00
Mats Palmgren 084b2c17dd Bug 1542807 part 7 - Update a11y tests. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D114129
2021-06-11 18:10:40 +00:00
Eitan Isaacson 349592fb91 Bug 1714390 - P6: Make more attribute keys static atoms. r=Jamie
Keys should be static atoms whenever possible.

Differential Revision: https://phabricator.services.mozilla.com/D116787
2021-06-10 23:07:07 +00:00
Morgan Reschenberg 1acb4f3f8c Bug 1713015: Default browser.display.document_color_use to 0 on MacOS r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D116046
2021-06-03 20:31:22 +00:00
Andrew Halberstadt b395296f0c Bug 1713885 - Remove skip-if annotation in accessible/tests/browser/bounds/browser_test_zoom.js, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D116760
2021-06-03 19:29:10 +00:00
Andrew Halberstadt f84d5f3016 Bug 1694824 - [ci] Annotate browser-chrome manifests for new fission failures, r=jmaher,extension-reviewers,preferences-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D116276
2021-06-02 19:22:25 +00:00
Butkovits Atila 351a58451d Bug 1636476 - disable browser_test_scrolling.js on Win_64_opt for frequent failures. r=intermittent-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D116507
2021-06-02 04:03:43 +00:00
Joel Maher 2e841d22cb Bug 1704640 - Move mochitest browser-chrome / media from osx 10.14 to osx 10.15. r=ahal,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D115951
2021-05-27 16:06:03 +00:00
James Teh 6b416cec94 Bug 1712182: Test aria-owning an ancestor which isn't created yet with an iframe in the subtree. r=eeejay
The actual fix for this is in bug 1387308.
However, triggering this bug with an iframe in a remote document caused a crash in the parent process because the parent process was never sent the OuterDoc.
Given the added complexity here, I thought it worth having a separate test.

Differential Revision: https://phabricator.services.mozilla.com/D115812
2021-05-27 00:49:23 +00:00
James Teh e1f5c9ff7c Bug 1387308: When aria-owning a node which doesn't have an accessible yet, check that the owned child isn't an ancestor of the owner via relocation. r=eeejay
Previously, we only checked whether the owner was a DOM descendant of the owned child.
However, the owner could be in a different DOM subtree, but an a11y descendant due to aria-owns relocation.
Now, we walk the a11y ancestors, doing the DOM descendant check again whenever the DOM lineage changes due to relocation.

Differential Revision: https://phabricator.services.mozilla.com/D115811
2021-05-27 00:49:23 +00:00
Morgan Reschenberg 5e6ca85357 Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D115841
2021-05-26 21:31:42 +00:00
Noemi Erli 6401ad3ad0 Backed out changeset f8b8dd8a7814 (bug 1710751) for causing windows build bustages CLOSED TREE 2021-05-26 02:23:23 +03:00
Morgan Reschenberg bef9fad1db Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D115841
2021-05-25 23:06:42 +00:00
Morgan Reschenberg 7bc169515a Bug 1710748: Return button menus when form controls are queried from rotor r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D115429
2021-05-24 17:02:46 +00:00
Morgan Reschenberg 288a4006cf Bug 1710742: Modify VO checkbox search key to work with quick nav r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D115430
2021-05-24 17:02:31 +00:00
James Teh ed1d421ba9 Bug 1710975: Fix child/sibling functions regarding top level remote documents. r=eeejay
1. OuterDocAccessible::ChildCount was previously Windows only. Implement it for all platforms.
2. OuterDocAccessible::ChildAt included  code for Windows which isn't necessary because it calls AccessibleWrap::LocalChildAt, not OuterDocAccessible::LocalChildAt (where the Windows specific RemoteAccessibleWrap stuff is implemented).
3. LocalAccessible::ChildAtPoint previously expected LocalChildAt() to succeed if ChildCount > 1. As per 1), this is no longer true for OuterDocAccessibles containing a remote document. Adjust accordingly.
4. IndexInParent on a top level remote document was previously returning -1. Implement DocAccessibleParent::IndexInParent to fix this.
5. Doing 4) means that RemoteNext/PrevSibling broke for top level documents because they use IndexInParent, but there is no remote parent. Add a specific early return for documents there.

Differential Revision: https://phabricator.services.mozilla.com/D115045
2021-05-21 06:18:19 +00:00
James Teh a8a9eee88d Bug 1700708: Don't insert the browser for unselected browser tabs when calling getRelatedElement. r=Gijs,dao
Otherwise, callers might end up unintentionally binding the browser for lazy background tabs.
This was happening when a11y queried the LABEL_FOR relation while building the a11y tree, causing all lazy tabs to be loaded.
All callers of this method only need it to insert a browser when the tab is selected anyway.

Differential Revision: https://phabricator.services.mozilla.com/D114566
2021-05-21 05:17:56 +00:00