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

2747 Коммитов

Автор SHA1 Сообщение Дата
Iulian Moraru 1e02685f75 Backed out 2 changesets (bug 1706910) for accessibility crashes. CLOSED TREE
Backed out changeset e0769fe4d6fd (bug 1706910)
Backed out changeset 67c05979577e (bug 1706910)
2021-05-05 18:50:58 +03:00
Eitan Isaacson 6f52e37071 Bug 1513447 - Use generated marker elements for list bullet accessibles. r=Jamie
In 1513447 there is a demonstrated instance in which the generated
marker is replaced with another one and throws the list item bullet
state into an unknown state. To remedy this we need to observe when such
elements are removed and added.

Instead of that, I opted to finally make the bullet accessible a real
content-backed accessible. This should help with other issues that pop
up when the list item overrides children management and keeps an
artificial accessible as its first child.

Differential Revision: https://phabricator.services.mozilla.com/D110719
2021-05-04 19:07:59 +00:00
Morgan Reschenberg a0703b0672 Bug 1706910: Introduce testing for AXFrame, accessibilityFrame r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D113185
2021-05-03 23:21:32 +00:00
Markus Stange 1fd143238a Bug 1706750 - Scroll img into view manually if the context menu test is skipped. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D113019
2021-04-21 23:33:43 +00:00
Markus Stange a8034af02e Bug 1706389 - Disable the parts of accessible/tests/mochitest/events/test_focus_general.html that interact with context menus, if native context menus are used. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D112778
2021-04-20 21:22:48 +00:00
Markus Stange fa3a5ecacc Bug 1705240 - Disable accessible/tests/mochitest/events/test_contextmenu.html when native context menus are used. r=Jamie
This test checks accessibility properties of a non-native context menu and sends
synthetic keyboard events to it.
With native context menus, accessibility and keyboard interaction are handled
natively and cannot be tested, so this test can be disabled in that configuration.

Differential Revision: https://phabricator.services.mozilla.com/D112107
2021-04-16 22:42:45 +00:00
Mark Striemer 9286d21658 Bug 1704868 - fix tests for lazy notificationbox creation r=florian
Depends on D111891

Differential Revision: https://phabricator.services.mozilla.com/D112359
2021-04-16 22:32:30 +00:00
Markus Stange d025eeaf2f Bug 1705253 - Partially disable accessible/tests/browser/mac/browser_app.js when native context menus are used. r=morgan
This test has a part where it expects AXMenuOpened events for context menus, which are not observable for us when native context menus are used.

It also has a part where it inspects the accessibility-exposed contents of a context menu. This is not testable with native context menus either, so that part of the test needs to be disabled.

Differential Revision: https://phabricator.services.mozilla.com/D112122
2021-04-15 19:58:16 +00:00
Markus Stange 96eefed115 Bug 1705245 - When native context menus are used, do not use keyboard events to interact with the URL bar context menu in accessible/tests/browser/events/browser_test_focus_urlbar.js. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D112112
2021-04-14 23:42:52 +00:00
James Teh 2a8e178211 Bug 1703600 part 5: Create mMathMLMarkupMap and use it for MathML elements. r=eeejay
Now, MathML elements (as well as XUL and SVG elements) will never use the HTML markup map.

Differential Revision: https://phabricator.services.mozilla.com/D111365
2021-04-14 04:11:18 +00:00
Mark Striemer 909ff1f4d9 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-10 19:56:10 +00:00
Dorel Luca 26ac39c8d5 Backed out 9 changesets (bug 1702330) for Mochitest failures in toolkit/components/url-classifier/tests/mochitest/test_reporturl.html. CLOSED TREE
Backed out changeset f84605e6fc8b (bug 1702330)
Backed out changeset 79c63bf11b29 (bug 1702330)
Backed out changeset 5425a2312f6e (bug 1702330)
Backed out changeset d76516e0d07d (bug 1702330)
Backed out changeset 3b75ffae171a (bug 1702330)
Backed out changeset 4bb6ceb6adb3 (bug 1702330)
Backed out changeset 607be325b4e8 (bug 1702330)
Backed out changeset 4b345ea924cc (bug 1702330)
Backed out changeset c7f0de372b21 (bug 1702330)
2021-04-10 07:48:08 +03:00
Mark Striemer 4119d385db Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-10 00:30:39 +00:00
Gijs Kruitbosch 31b94c10ab Bug 1704096 - fix test_visibility.xhtml with proton enabled, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D111418
2021-04-09 15:43:33 +00:00
Dorel Luca 7c6d9844e5 Backed out 8 changesets (bug 1702330)for Browser-chrome failures in est/popups/browser_popup_blocker.js. CLOSED TREE
Backed out changeset b81511f8e157 (bug 1702330)
Backed out changeset 15f60f1d3f14 (bug 1702330)
Backed out changeset 809af1f94b4b (bug 1702330)
Backed out changeset 63cec3eadb4f (bug 1702330)
Backed out changeset b9964fb4dd70 (bug 1702330)
Backed out changeset 1e5ccb47056e (bug 1702330)
Backed out changeset 65faaeeb2339 (bug 1702330)
Backed out changeset e72fb8b52609 (bug 1702330)
2021-04-09 20:21:35 +03:00
Mark Striemer 71680c44e5 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-09 15:26:24 +00:00
Alexandru Michis b40e464292 Backed out 5 changesets (bug 1702330) for causing failures in browser_aboutNewTab_defaultBrowserNotification.js
CLOSED TREE

Backed out changeset 365fd1bb6dde (bug 1702330)
Backed out changeset eba73c72be18 (bug 1702330)
Backed out changeset e1277c21543f (bug 1702330)
Backed out changeset 907e4fcda266 (bug 1702330)
Backed out changeset eb2a8569ed02 (bug 1702330)
2021-04-09 03:34:23 +03:00
James Teh 1e3921cd84 Bug 1703169: Support XUL buttons labelled by text children. r=morgan
Previously, text children were excluded from the a11y tree, so they weren't considered when computing name from subtree.

Differential Revision: https://phabricator.services.mozilla.com/D111029
2021-04-08 22:59:43 +00:00
James Teh cc19c08fbf Bug 1703171: Support a11y exposure of accessKey for elements in shadow DOM. r=morgan
Previously, when determining the modifier, the code used the uncomposed document, which will be null for an element inside shadow DOM.

Differential Revision: https://phabricator.services.mozilla.com/D111033
2021-04-08 22:58:34 +00:00
Mark Striemer 0201d62878 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-08 22:25:04 +00:00
Morgan Reschenberg c5b80c6ab7 Bug 1699053: Ensure popup custom DOM events cause content insertion/removal on XUL panels. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D109558
2021-04-07 13:48:27 +00:00
David Parks 4176faa40b Bug 1682030 - Remove NPAPI plugin support from accessible. r=eeejay
Removes NPAPI plugin support from accessible/, as part of removing all of NPAPI plugin support.  This was the only reason for HTMLWin32ObjectAccessible was needed, so we get rid of that, too.

Differential Revision: https://phabricator.services.mozilla.com/D107143
2021-04-06 19:28:11 +00:00
Mark Striemer e86b291995 Bug 1702327 - Fix accessible/.../mac/browser_app.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110865
2021-04-06 04:26:35 +00:00
Csoregi Natalia d68661e2cc Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks a6245e18b9 Bug 1682030 - Remove NPAPI plugin support from accessible. r=eeejay
Removes NPAPI plugin support from accessible/, as part of removing all of NPAPI plugin support.  This was the only reason for HTMLWin32ObjectAccessible was needed, so we get rid of that, too.

Differential Revision: https://phabricator.services.mozilla.com/D107143
2021-04-05 23:48:35 +00:00
Morgan Reschenberg 21cc205fff Bug 1701412: Use bookmark instead of visit for autofill r=eeejay
Previously we relied on adding a visit to prompt the URL bar to autofill, that worked because nightly and release shipped with bookmarks to addons.moz. Beta, however, does not, so we should modify this test to populate the bookmark on all releases.

Differential Revision: https://phabricator.services.mozilla.com/D110571
2021-04-01 22:59:54 +00:00
Butkovits Atila 526110d900 Bug 1492259 - disable browser_test_focus_urlbar.js on Win10_QR for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D109578
2021-03-26 06:52:27 +00:00
James Teh 599e149915 Bug 1700845: Make accessible/tests/mochitest/events/test_focus_listcontrols.xhtml click the menulist at the centre, not the top left. r=morgan
Clicking at the top left previously worked, but doesn't work with browser.proton.enabled.

1. Support a { where: "center" } argument to synthClick in events.js.
2. Use that in the test.

Differential Revision: https://phabricator.services.mozilla.com/D109689
2021-03-25 23:08:35 +00:00
Florian Quèze 79b045fc1f Bug 1596165 - add back timers for tests that permafail without the waitForCondition initial timer, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D109646
2021-03-25 18:30:07 +00:00
Brindusan Cristian 53931c7cda Backed out 2 changesets (bug 1596165) for bc failures in browser_bookmarkProperties_folderSelection.js and browser_doorhanger_submit_telemetry.js. CLOSED TREE
Backed out changeset 4eccbb3d6549 (bug 1596165)
Backed out changeset 7d8fb53c8fcb (bug 1596165)
2021-03-25 00:48:01 +02:00
Florian Quèze c27883eea9 Bug 1596165 - add back timers for tests that permafail without the waitForCondition initial timer, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D109646
2021-03-24 20:46:14 +00:00
Eitan Isaacson 2d9c6808c4 Bug 1699680 - Add HyperText interface to remote docs. r=morgan
Depends on D109384

Differential Revision: https://phabricator.services.mozilla.com/D109385
2021-03-22 20:39:54 +00:00
Eitan Isaacson 2df0de041b Bug 1700166 - Clean up obsolete remote iface enum and add iface test. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D109384
2021-03-22 20:39:54 +00:00
Eitan Isaacson 30b42bba1c Bug 1415960 - Use flattened tree parent when returning GetContainerAccessible. r=Jamie
This fixes an inconsistency where CacheChildrenInSubtree uses the
flattened tree via DOM child iterators, but ProcessInvalidationList uses
GetContainerAccessible that doesn't currently use the flattened tree.

Differential Revision: https://phabricator.services.mozilla.com/D108980
2021-03-22 16:21:08 +00:00
Olli Pettay 4e87b5392e Bug 1675356 - Fix browser_test_focus_browserui.js for Fission r=nika
Depends on D109218

Differential Revision: https://phabricator.services.mozilla.com/D109219
2021-03-21 19:40:50 +00:00
James Teh e8fb40cbc2 Bug 1698097: Null check parent content when checking whether a tr should use ARIARowAccessible. r=morgan
We assumed parent content wasn't null because we've already checked that there is a parent table accessible, suggesting there's also parent content.
However, if the tr is at the top level of a shadow root (but the table is not), parent content will be null, causing a crash.
Before the fix for bug 1686123, this was fine because the frame for a shadow root is null and we didn't continue for a null frame.
Now that we do continue for a null frame, we must null check parent content.

Differential Revision: https://phabricator.services.mozilla.com/D108777
2021-03-18 00:18:29 +00:00
Sam Foster 6ba985b5a8 Bug 1690567 - Hide some sync context menu items when not signed in. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D104746
2021-03-17 04:22:50 +00:00
Christian M. Macy a0adf7ccba Bug 1633570 - Add setter for AXValue (incrementables only) r=morgan
This commit adds an AXValue setter to incremental accessibles, as well
as tests to validate that setter on both a range and number input.

Differential Revision: https://phabricator.services.mozilla.com/D106333
2021-03-16 16:17:53 +00:00
Marcos Cáceres 64499177a9 Bug 1407167 - Make ARIA in HTML mapping case insensitive r=Jamie
I removed the functor and used a lambda instead.

To the tests, I added a "_mixed" case version of each role, to make sure they are all thoroughly tested.

Differential Revision: https://phabricator.services.mozilla.com/D108139
2021-03-12 05:55:17 +00:00
Erica Wright d8f60239ef Bug 1692666 - Move 'Search... for...' to a dedicated section. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107255
2021-03-11 21:26:15 +00:00
Morgan Reschenberg e0b192a05f Bug 1694717: Add probes to log foreground and background colors when HCM is on r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D107563
2021-03-09 22:31:32 +00:00
Morgan Reschenberg 78d79399ab Bug 1695716: Use ink overflow rect to calculated relative bounds when frame area is zero r=Jamie,emilio
Depends on D107001

Differential Revision: https://phabricator.services.mozilla.com/D106384
2021-03-09 21:01:37 +00:00
Morgan Reschenberg 9888565597 Bug 1696023: Report accessible's position even when bounds rect is empty r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D107001
2021-03-09 21:01:37 +00:00
Alexandru Michis df8238361e Backed out 2 changesets (bug 1695716, bug 1696023) for causing bc failures in browser_zero_area.js
CLOSED TREE

Backed out changeset 08322b1067aa (bug 1695716)
Backed out changeset 1ab658549265 (bug 1696023)
2021-03-09 20:30:18 +02:00
Morgan Reschenberg af1f74102c Bug 1695716: Use ink overflow rect to calculated relative bounds when frame area is zero r=Jamie,emilio
Depends on D107001

Differential Revision: https://phabricator.services.mozilla.com/D106384
2021-03-09 16:47:30 +00:00
Morgan Reschenberg c28c7e9c7a Bug 1696023: Report accessible's position even when bounds rect is empty r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D107001
2021-03-09 16:47:29 +00:00
James Teh cf3391de9a Bug 1686123: Fall back to ARIAGrid*Accessible for HTML table/tbody/thead/tr/td/th elements with no frame. r=morgan
display: contents means there is no frame, which means we can't use HTMLTable*Accessible.
However, we can (and should) use ARIAGrid*Accessible in this case.

Differential Revision: https://phabricator.services.mozilla.com/D107407
2021-03-09 00:27:44 +00:00
Gijs Kruitbosch a43252c04e Bug 1695942 - fix context menu tests for beta, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107534
2021-03-08 23:04:22 +00:00
Butkovits Atila 006007c9fe Backed out 2 changesets (bug 1695716, bug 1696023) for causing failure at browser_zero_area.js. CLOSED TREE
Backed out changeset a95a4a2b140a (bug 1695716)
Backed out changeset 318e51f44e8b (bug 1696023)
2021-03-08 20:56:45 +02:00
Morgan Reschenberg 50e94d569d Bug 1695716: Use ink overflow rect to calculated relative bounds when frame area is zero r=Jamie,emilio
Depends on D107001

Differential Revision: https://phabricator.services.mozilla.com/D106384
2021-03-08 17:50:37 +00:00