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

2391 Коммитов

Автор SHA1 Сообщение Дата
Harry Twyford f9ae9c43a1 Bug 1648468 - Part 6 - Resolve a11y focus issue causing a failure in browser_test_focus_urlbar.js. r=adw
The line that adds `suggestedIndex` in the test should also fix bug 1652138.

Differential Revision: https://phabricator.services.mozilla.com/D83244
2020-07-12 21:55:25 +00:00
James Teh eee112f8f9 Bug 1647666: test_doc_busy.html: Handle the case where the busy change and not-busy change events are coalesced out of existence. r=yzen
Also removed debug logging, as well as about:blank check which turned out not to be the cause of the timeout.

Differential Revision: https://phabricator.services.mozilla.com/D82137
2020-07-12 14:56:23 +00:00
Csoregi Natalia af5cff556a Backed out 6 changesets (bug 1648468) for failures on test_keywords.js. CLOSED TREE
Backed out changeset 918db5010acb (bug 1648468)
Backed out changeset 91a4b5b593bf (bug 1648468)
Backed out changeset 3bded27be98e (bug 1648468)
Backed out changeset 60a36d4424df (bug 1648468)
Backed out changeset 1edf02398318 (bug 1648468)
Backed out changeset ebac9fb9da0d (bug 1648468)
2020-07-12 09:03:53 +03:00
Harry Twyford daefa9ecc0 Bug 1648468 - Part 6 - Resolve a11y focus issue causing a failure in browser_test_focus_urlbar.js. r=adw
The line that adds `suggestedIndex` in the test should also fix bug 1652138.

Differential Revision: https://phabricator.services.mozilla.com/D83244
2020-07-12 02:28:07 +00:00
Razvan Maries 911baac099 Backed out 6 changesets (bug 1648468) for perma failures on browser_test_focus_urlbar.js. CLOSED TREE
Backed out changeset 60b6915e8037 (bug 1648468)
Backed out changeset fc7a6b8f84a2 (bug 1648468)
Backed out changeset 97c7475abf85 (bug 1648468)
Backed out changeset bb37a0821844 (bug 1648468)
Backed out changeset 10447a3e04ff (bug 1648468)
Backed out changeset 69a210ce0e9a (bug 1648468)
2020-07-12 01:31:42 +03:00
Harry Twyford ed82a86096 Bug 1648468 - Part 6 - Resolve a11y focus issue causing a failure in browser_test_focus_urlbar.js. r=adw
The line that adds `suggestedIndex` in the test should also fix bug 1652138.

Differential Revision: https://phabricator.services.mozilla.com/D83244
2020-07-11 21:32:19 +00:00
Butkovits Atila 7c20974c02 Backed out changeset 54aff812a50b (bug 1650462) as requested by jya. 2020-07-11 15:46:30 +03:00
James Teh 8512a122d8 Bug 1650462: Don't include group descendants when calculating the acc name of treeitems. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D83042
2020-07-10 07:34:31 +00:00
Dorel Luca 2e8d3a633e Bug 1648813 - disable browser_webarea.js on macos opt builds. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82254
2020-07-07 14:05:52 +00:00
Eitan Isaacson 8b130be2bb Bug 1226473 - Support AXSelectedTextMarkerRange. r=morgan
To do this well we need to cache the text selection in the top level process.

Differential Revision: https://phabricator.services.mozilla.com/D82111
2020-07-06 17:32:45 +00:00
Eitan Isaacson 7b241c8028 Bug 1649575 - Part 6: Introduce browser test for basic text API. r=morgan.
Differential Revision: https://phabricator.services.mozilla.com/D81762
2020-07-02 21:24:58 +00:00
Eitan Isaacson 65ed33dc4e Bug 1649217 - Part 4: Update caret move event tests to support isSelectionCollapsed. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D81914
2020-07-02 17:43:24 +00:00
James Teh c598f2c2a3 Bug 1647666: test_doc_busy.html: Log a11y events to help debug the intermittent timeout. r=MarcoZ
It seems the window location isn't the issue here at all.
Rather, we never get the expected a11y events.
So, let's try to find out what events we *do* get.

Differential Revision: https://phabricator.services.mozilla.com/D81478
2020-06-29 05:26:59 +00:00
James Teh bb33c7f919 Bug 1648341: Handle eHasValueMinMaxIfFocusable correctly in Accessible::Value. r=MarcoZ
Previously, this returned a value if the ARIA value rule was not eNoValue, which covered eHasValueMinMaxIfFocusable.
However, eHasValueMinMaxIfFocusable needs the focusable state to be checked.
Rather than checking the value rule directly, just use HasNumericValue(), which already knows how to handle this.

Differential Revision: https://phabricator.services.mozilla.com/D81483
2020-06-29 05:22:00 +00:00
Morgan Reschenberg 4891a7b86e Bug 1630292: Enusre we don't create accessibles for linebreaks. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D80986
2020-06-26 18:04:39 +00:00
Morgan Reschenberg 117fa600ac Bug 1642707: Add web area class and attributes r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D80473
2020-06-26 04:00:49 +00:00
James Teh 9fff2a353f Bug 1647666: test_doc_busy.html: Log the window location so we can try to figure out why this is failing intermittently. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D80997
2020-06-25 04:27:01 +00:00
James Teh a047283d38 Bug 1647666: test_doc_busy.html: Handle the case where we get a load event for about:blank before the download prompt itself. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D80828
2020-06-24 09:30:14 +00:00
Eitan Isaacson ccdf272301 Bug 1647483 - Add a TextRange getter to text selection change events. r=Jamie
This includes 3 changes:
1. Add a lazy ranges getter to AccTextSelChangeEvent.
2. Create an XPCOM interface for testing purposes.
3. Add IPDL bindings for passing ranges in e10s.

Differential Revision: https://phabricator.services.mozilla.com/D80556
2020-06-23 18:52:42 +00:00
Gijs Kruitbosch fca766666b Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-23 14:04:49 +00:00
James Teh 15c8945c91 Bug 1626851 part 2: Close the download prompt before finishing the test. r=MarcoZ
This is the actual fix.
Previously, we opened a download prompt, but we didn't close it.
This download prompt could sometimes get focus and prevent subsequent tests from getting focus.
Explicitly closing it should prevent this from happening.

Differential Revision: https://phabricator.services.mozilla.com/D80590
2020-06-23 05:45:47 +00:00
James Teh e378731208 Bug 1626851 part 1: Rewrite test_doc_busy.html to use promises. r=MarcoZ
It's just too difficult/confusing to mix a11y and non-a11y async stuff using eventQueue.
This patch should be functionally equivalent; it doesn't fix the bug.

Differential Revision: https://phabricator.services.mozilla.com/D80589
2020-06-23 05:43:30 +00:00
Dorel Luca d4c820fa0f Backed out changeset 3671a57712e4 (bug 1646780) for Browser-chrome failures in webrtc/browser_devices_get_user_media_tear_off_tab.js 2020-06-19 04:22:23 +03:00
Gijs Kruitbosch f457ccd655 Bug 1646780 - use a template to wrap the identity popup while it's not needed, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D78894
2020-06-19 00:02:11 +00:00
Eitan Isaacson 29f8f3833e Bug 1645817 - Use overlay scrollbars win browser resolution test. r=kats
Using overlay scrollbars will avoid the need to account for the trimmed
space that is introduced after an overflowing zoom caused by scrollbars.

Differential Revision: https://phabricator.services.mozilla.com/D80102
2020-06-18 11:21:41 +00:00
James Teh 02ae717477 Bug 1630208 part 4: Re-enable accessible/tests/browser/hittest/browser_test_zoom_text.js. r=yzen
The intermittent leak has been fixed, so we can now re-enable this.

Differential Revision: https://phabricator.services.mozilla.com/D79782
2020-06-17 18:42:48 +00:00
Kris Maglione 3bda67deab Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-17 17:17:16 +00:00
Marco Zehe 1bb00164a8 Bug 1330659 - Expose the HTML dialog element to accessibility APIs, r=Jamie
This patch exposes the dialog element as a HyperTextAccessible with role DIALOG and enables the test after flipping the pref temporarily. Once the pref is on by default, the if block should be removed and the test run always.

Differential Revision: https://phabricator.services.mozilla.com/D79798
2020-06-17 05:22:05 +00:00
Morgan Reschenberg 10236aef18 Bug 1630391: Add telemetry test for backplate and a11y theme scalars. r=chutten,yzen
Differential Revision: https://phabricator.services.mozilla.com/D72184
2020-06-12 17:02:45 +00:00
Eitan Isaacson 31b2dc735d Bug 1643168 - block moxSetFocused: on non-focusable accessibles. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D78160
2020-06-10 17:34:30 +00:00
Bogdan Tara 2c49516739 Backed out changeset b1ea583f8cb8 (bug 1630391) for browser_HCM_telemetry.js failures CLOSED TREE 2020-06-11 01:06:00 +03:00
Morgan Reschenberg ea3409c4f8 Bug 1630391: Add telemetry test for backplate and a11y theme scalars. r=chutten,yzen
Differential Revision: https://phabricator.services.mozilla.com/D72184
2020-06-10 20:40:33 +00:00
Csoregi Natalia 81b315c91b Backed out changeset c15ccd143f32 (bug 1630391) for failures on browser_HCM_telemetry.js. CLOSED TREE 2020-06-10 03:07:24 +03:00
Morgan Reschenberg 564e7c4295 Bug 1630391: Add telemetry test for backplate and a11y theme scalars. r=chutten,yzen
Differential Revision: https://phabricator.services.mozilla.com/D72184
2020-06-09 21:56:01 +00:00
Dorel Luca 31ee7a3080 Backed out changeset 498dee65dcf8 (bug 1643168) for Browser-chrome failures browser/mac/browser_focus.js. CLOSED TREE 2020-06-08 20:28:05 +03:00
Eitan Isaacson 97fb862d37 Bug 1643168 - block moxSetFocused: on non-focusable accessibles. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D78160
2020-06-08 15:47:11 +00:00
James Teh b1c5fca60f Bug 1547657: Null check frame in HyperTextAccessible::TextBounds. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D78631
2020-06-08 05:11:23 +00:00
James Teh 58a574a9c2 Bug 1642568: accessible/tests/mochitest/role/test_aria.html: Wait for a11y load when opening the chrome window. r=MarcoZ
Even though we previously waited for the DOM load event, the a11y tree probably wasn't ready yet.

Differential Revision: https://phabricator.services.mozilla.com/D78630
2020-06-08 05:06:39 +00:00
James Teh c45ca37cf4 Bug 1151648: Construct accessible objects for SVG elements which have title or desc. r=MarcoZ,yzen
According to SVG Accessibility API Mappings, an SVG element which has title or desc element must be exposed.
https://w3c.github.io/svg-aam/#include_elements
Previously, we didn't expose <g> elements at all even if they had a title/desc, and we unconditionally exposed some other SVG elements even when they didn't.

This removes the Dev Tools A11y Panel code which explicitly allowed unlabelled descendants of role="img" <svg> elements, since we don't create descendants if they don't have a label now anyway.
The associated tests had to be tweaked as well, since now we don't create unlabelled descendants.

Original patch by Takeshi Kurosawa.

Differential Revision: https://phabricator.services.mozilla.com/D77763
2020-06-03 13:18:38 +00:00
Eitan Isaacson ccfae4a0f0 Bug 1642030 - Support testing of parameterized attributes in Mac mochitests. r=morgan
Depends on D77559

Differential Revision: https://phabricator.services.mozilla.com/D77562
2020-06-02 04:20:38 +00:00
Csoregi Natalia 88d27d2500 Backed out changeset f2da1b325e97 (bug 1151648) for failures on browser_accessibility_text_label_audit.js. CLOSED TREE 2020-06-02 13:17:30 +03:00
James Teh bfaf8c5057 Bug 1151648: Construct accessible objects for SVG elements which have title or desc. r=MarcoZ
According to SVG Accessibility API Mappings, an SVG element which has title or desc element must be exposed.
https://w3c.github.io/svg-aam/#include_elements
Previously, we didn't expose <g> elements at all even if they had a title/desc, and we unconditionally exposed some other SVG elements even when they didn't.

Original patch by Takeshi Kurosawa.

Differential Revision: https://phabricator.services.mozilla.com/D77763
2020-06-02 06:59:31 +00:00
James Teh d82ab85438 Bug 1642258: Allow role="alert" on the body of chrome documents (but not content documents). r=MarcoZ
Also fixes a typo in an existing test that meant we weren't actually testing as intended.

Differential Revision: https://phabricator.services.mozilla.com/D77628
2020-06-02 05:53:52 +00:00
Razvan Maries a36bb7751f Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Kris Maglione b3fcd970ec Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-01 17:59:01 +00:00
Eitan Isaacson 6d5ab04a9d Bug 1641960 - Introduce some Mac selection tests for inputs. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D77531
2020-05-29 22:58:54 +00:00
Eitan Isaacson d5c9522fec Bug 1641960 - Support NSRange getting and setting in XPCOM mac a11y interface. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D77530
2020-05-29 22:58:44 +00:00
Morgan Reschenberg d93dd3ccbb Bug 1624909: Create and maintain radio siblings array for position information. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D72751
2020-05-29 17:37:46 +00:00
Eitan Isaacson 11a255caf4 Bug 1641654 - Remove NSAccessibility methods from mozHTMLAccessible classes. r=morgan
A casualty of this is the ability to change listed attribute names on the fly.
I think this is the right choice in general and doesn't seem to affect VO.
If we run into a case where it does we should reconsider.

Differential Revision: https://phabricator.services.mozilla.com/D77341
2020-05-28 22:41:21 +00:00
Narcis Beleuzu 0bb36c9ac1 Backed out changeset d2b10235d8ac (bug 1624909) for bustages on Pivot.h . CLOSED TREE 2020-05-29 07:05:21 +03:00