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

8280 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez d36c96ab4c Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika
We need it to live in BrowsingContext instead of WindowContext, because
we need to preserve the zoom level across same-origin navigation.

It'd be nice if it only lived in the top BC, but that's not possible at
the moment because a lot of tests rely on zooming only iframes. Some of
them can be adjusted for scaling the top instead, but not sure it's
worth it's worth fixing them and moving the zoom to be top-only, as it'd
be a bunch of effort, and the complexity and overhead of propagating the
zoom is not so big.

The print-preview-specific code in nsContentViewer is from before we did
the document cloning setup, and it seems useless. I've tested print
preview scaling before and after my patch and both behave the same.

The rest is just various test changes to use the SpecialPowers APIs or
BrowsingContext as needed instead of directly poking at the content
viewer.

I named the pres context hook RecomputeBrowsingContextDependentData, as
more stuff should move there like overrideDPPX and other media emulation
shenanigans.

I also have some ideas to simplify or even remove ZoomChild and such,
but that's followup work.

Differential Revision: https://phabricator.services.mozilla.com/D71969
2020-04-22 19:32:52 +00:00
James Teh 99f2b37464 Bug 1632467: Clear eGroupInfoDirty flag when creating AccGroupInfo. r=MarcoZ
When the tree is mutated, we set eGroupInfoDirty regardless of whether there is GroupInfo.
Previously, we cleared eGroupInfoDirty when updating GroupInfo, but not when creating it.
This meant that the flag was often still set, causing the cache to not be used a lot of the time.

Differential Revision: https://phabricator.services.mozilla.com/D72139
2020-04-23 13:21:32 +00:00
Csoregi Natalia 448f2f3c76 Backed out 16 changesets (bug 1607984) for leaks on browser_ext_webRequest.js. CLOSED TREE
Backed out changeset 6c6ffa908c06 (bug 1607984)
Backed out changeset e973911e67e6 (bug 1607984)
Backed out changeset 28af6418ac16 (bug 1607984)
Backed out changeset 9a15a605f91a (bug 1607984)
Backed out changeset 52566b3564ba (bug 1607984)
Backed out changeset 142148a95181 (bug 1607984)
Backed out changeset 108e2cb6b2a9 (bug 1607984)
Backed out changeset 77fda525ee12 (bug 1607984)
Backed out changeset 980067f3ac1d (bug 1607984)
Backed out changeset 12b82a39c910 (bug 1607984)
Backed out changeset 7657023a763b (bug 1607984)
Backed out changeset 1ab8758802a6 (bug 1607984)
Backed out changeset 35f22d0817e1 (bug 1607984)
Backed out changeset b8c6277207d8 (bug 1607984)
Backed out changeset 244d3cb006be (bug 1607984)
Backed out changeset 9fc1a237829c (bug 1607984)
2020-04-23 11:49:51 +03:00
Jean-Yves Avenard 013d7a3a84 Bug 1607984 - P15. Wait for the load to start before setting the event handler. r=Jamie
addA11yLoadEvent gets the contentWindow and wait for the document from that window to fire the load event.

Enabling the DocumentChannel for parent process load (or here in non-e10s mode) we have one extra event loop before the load starts.
So the window passed to addAllyLoadEvent would have been of the about:blank page.

The current code was based on an observable behaviour which was that the load was occuring synchronously.

DocumentChannel broke that assumption.

Differential Revision: https://phabricator.services.mozilla.com/D70799
2020-04-23 00:58:02 +00:00
James Teh 4f5d44905a Bug 1629078 part 2: Make date/time inputs labellable by an ancestor HTML label and expose text-input-type attribute. r=MarcoZ
In order for a form control to be labelled by an ancestor HTML label, its Accessible must return true for isWidget().
Also, HTML AAM says the text-input-type attribute should be exposed.

Differential Revision: https://phabricator.services.mozilla.com/D72080
2020-04-23 04:48:53 +00:00
James Teh bb39797e35 Bug 1629078 part 1: For eNameFromSubtreeIfReqRule, don't walk into the descendants of the Accessible for which the text equiv is being calculated. r=MarcoZ
We already skipped descendants for eNameFromSubtreeIfReqRule when the element wasn't labelled by something else; i.e. when calling GetNameFromSubtree.
However, when such an element is labelled/described by an ancestor, we compute the text equiv for the label using AppendTextEquivFromContent.
Previously, when descending from the ancestor down into the element itself, we would descend into its subtree despite eNameFromSubtreeIfReqRule.
This meant that groupings labelled/described by ancestor would include the content of the grouping itself in its label/description.
This was causing problems for time inputs (once those can accept an ancestor label in the next patch).

Differential Revision: https://phabricator.services.mozilla.com/D72079
2020-04-23 04:38:19 +00:00
Andreea Pavel cac786a35c Backed out 16 changesets (bug 1607984) for multiple test failures e.g test timeouts on a CLOSED TREE
Backed out changeset 4509808243f5 (bug 1607984)
Backed out changeset 0cb21bedf65f (bug 1607984)
Backed out changeset 4e5d89f68293 (bug 1607984)
Backed out changeset 0c0169ed4f04 (bug 1607984)
Backed out changeset ce527a6ffba4 (bug 1607984)
Backed out changeset 63175f596762 (bug 1607984)
Backed out changeset 107be8f3737d (bug 1607984)
Backed out changeset d7600d4d3528 (bug 1607984)
Backed out changeset e11b1b0ecfbf (bug 1607984)
Backed out changeset bed3f6bee79e (bug 1607984)
Backed out changeset abe692da4556 (bug 1607984)
Backed out changeset e02b12515d60 (bug 1607984)
Backed out changeset 7a2ef225a41e (bug 1607984)
Backed out changeset c173bde5106b (bug 1607984)
Backed out changeset dc8b37e10dc7 (bug 1607984)
Backed out changeset 09a651daf344 (bug 1607984)
2020-04-23 03:47:24 +03:00
Jean-Yves Avenard 8ed0970932 Bug 1607984 - P15. Wait for the load to start before setting the event handler. r=Jamie
addA11yLoadEvent gets the contentWindow and wait for the document from that window to fire the load event.

Enabling the DocumentChannel for parent process load (or here in non-e10s mode) we have one extra event loop before the load starts.
So the window passed to addAllyLoadEvent would have been of the about:blank page.

The current code was based on an observable behaviour which was that the load was occuring synchronously.

DocumentChannel broke that assumption.

Differential Revision: https://phabricator.services.mozilla.com/D70799
2020-04-22 10:27:31 +00:00
Noemi Erli 6cf19c2464 Backed out 3 changesets (bug 1625864) for causing mochitest failures in test_update.html
Backed out changeset cf3caf6f708c (bug 1625864)
Backed out changeset 0a4a66240a9f (bug 1625864)
Backed out changeset 20bcd150f92c (bug 1625864)
2020-04-20 22:31:26 +03:00
Eitan Isaacson 39cd9ad540 Bug 1625864 - Rename mac link test. r=morgan
I want to generalize it for other link stuff. Need a separate commit or
it is not recognized as a move, and won't retain history. For some reason.

Differential Revision: https://phabricator.services.mozilla.com/D71259
2020-04-20 17:59:17 +00:00
Eitan Isaacson 7fac737410 Bug 1625864 - Fire state change event on LINKED change. r=Jamie,morgan
Also stop recreating any accessible that has href modified.

Differential Revision: https://phabricator.services.mozilla.com/D71258
2020-04-20 17:59:09 +00:00
Eitan Isaacson 3d7faad085 Bug 1625864 - Promisify state change events test. r=Jamie
We will probably be adding a lot to this. So let's make it nice to use.

Differential Revision: https://phabricator.services.mozilla.com/D71257
2020-04-20 17:59:02 +00:00
pbz e118843a3a Bug 1615588 - Updated prompt tests. r=marionette-reviewers,johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66450
2020-04-16 14:44:56 +00:00
Eitan Isaacson 14c42949a0 Bug 1629162 - Scrollability changed should fire accessible FOCUSABLE changes. r=morgan,Jamie
When an element with overflow:auto becomes scrollable, either by a style change or growing children, it should become focusable and fire a state change. Same in the inverse.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 22:33:55 +00:00
Eitan Isaacson d5a790643e Bug 1629162 - Attribute changes should cause FOCUSABLE state change events. r=morgan,Jamie
Changes to attributes such as disabled, contenteditable, and tabindex should cause FOCUSABLE
state changes to be fired when indeed the accessible gains or loses focusability.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 22:33:48 +00:00
Eitan Isaacson a0e9e925ab Bug 1629771 - When collapsed caret moves in focusable element, don't pivot to it. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D71109

--HG--
extra : moz-landing-system : lando
2020-04-15 22:16:34 +00:00
Eitan Isaacson d09e5861c1 Bug 1628922 - Support landmark navigation in GeckoView. r=Jamie
Added a traversal rule and piped through xml-roles as role descriptions.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 22:12:37 +00:00
Stefan Hindli fb36126f61 Backed out 15 changesets (bug 1607984) for causing very frequent reftest faiures CLOSED TREE
Backed out changeset 5497c90b03de (bug 1607984)
Backed out changeset 71dffa590c10 (bug 1607984)
Backed out changeset fdacabac2c54 (bug 1607984)
Backed out changeset 5f9fe17e46b8 (bug 1607984)
Backed out changeset 8f9058eb821d (bug 1607984)
Backed out changeset 025af7792f2a (bug 1607984)
Backed out changeset c7edd070b2f3 (bug 1607984)
Backed out changeset 8e7c95d322e8 (bug 1607984)
Backed out changeset e51f6b7a745c (bug 1607984)
Backed out changeset 979d99eb12d1 (bug 1607984)
Backed out changeset f554d4ce6718 (bug 1607984)
Backed out changeset fe84e5c64b4e (bug 1607984)
Backed out changeset 05d2032060db (bug 1607984)
Backed out changeset 07ce7b11fee9 (bug 1607984)
Backed out changeset 718d89be09d2 (bug 1607984)
2020-04-15 18:33:24 +03:00
Jean-Yves Avenard 3270a01575 Bug 1607984 - P15. Wait for the load to start before setting the event handler. r=Jamie
addA11yLoadEvent gets the contentWindow and wait for the document from that window to fire the load event.

Enabling the DocumentChannel for parent process load (or here in non-e10s mode) we have one extra event loop before the load starts.
So the window passed to addA11yLoadEvent would have been of the about:blank page.

The current code was based on an observable behaviour which was that the load was occuring synchronously.

DocumentChannel broke that assumption.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 08:57:31 +00:00
aarushivij 5a709f46e1 Bug 1519099 - removeFromDb parameter of nsIAutoCompleteResult::RemoveValueAt is always true r=mak
Differential Revision: https://phabricator.services.mozilla.com/D70704

--HG--
extra : moz-landing-system : lando
2020-04-15 10:05:12 +00:00
Yura Zenevich a9bdb68e38 Bug 1595979 - add zoom text hittest b-c test. Implement OffsetAtPoint for XPCOM on Windows with e10s. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D69824

--HG--
extra : moz-landing-system : lando
2020-04-14 23:57:42 +00:00
Yura Zenevich fa747c2765 Bug 1595979 - add hittest b-c tests (general, shadowroot, zoom). Fix an e10s bug where must prune check was done on the parent side instead of deferring to childAtPoint method. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D69823

--HG--
extra : moz-landing-system : lando
2020-04-14 23:57:34 +00:00
Yura Zenevich bf4f49a410 Bug 1595979 - migtate browser and canvas hittest tests to b-c that test e10s and fission. Fix a bug with incorrect ID returned for document accessibles when getting a child at point over IPC. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D69822

--HG--
extra : moz-landing-system : lando
2020-04-14 23:57:26 +00:00
Yura Zenevich e05c569d5b Bug 1595979 - move common utilities into shared-head and remove unsused ones. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D69821

--HG--
extra : moz-landing-system : lando
2020-04-14 23:57:19 +00:00
Emilio Cobos Álvarez 60fdfe51e1 Bug 1629838 - Don't flush reentrantly from XUL a11y construction. r=Jamie
This code has pretty much always been broken, we've started to flush
more because we fixed a bug that was not looking at XUL trees inside
shadow DOM in bug 1625991.

We cannot flush layout from a11y tree construction.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 01:01:12 +00:00
Eitan Isaacson 2edb3fea1a Bug 1619752 - Use AXSelected=false to tell VoiceOver about link groups. r=morgan
I really don't understand why this is what VoiceOver needs, but it seems to do the trick.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 17:15:07 +00:00
Chris Peterson 086922958e Bug 1629316 - Replace MOZ_MUST_USE with [[nodiscard]] in accessible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D70630

--HG--
extra : moz-landing-system : lando
2020-04-14 03:09:06 +00:00
Morgan Reschenberg 8e22125381 Bug 1629167: Use PlaceTestUtils instead of manually visiting site to wipe history after runs. r=eeejay
Depends on D70095

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

--HG--
extra : moz-landing-system : lando
2020-04-13 20:20:03 +00:00
Noemi Erli 28f02fa444 Bug 1627765 - Fix lint failure r=fix 2020-04-11 00:02:56 +03:00
Eitan Isaacson 295f35f3f8 Bug 1627832 - Prune all invisible children of root window accessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D69881

--HG--
extra : moz-landing-system : lando
2020-04-09 23:19:55 +00:00
Eitan Isaacson ca37dab5ab Bug 1627765 - Remove mac heirarchy cache. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D69880

--HG--
extra : moz-landing-system : lando
2020-04-10 17:52:58 +00:00
Eitan Isaacson 8f333badf3 Bug 1627765 - Use REORDER event to invalidate table column accessibles. r=morgan
We need to do this because we can't rely on the main children cache invalidation.
Also, I don't think this really worked before with cell additions to a row, since only
the row's children would be invalidated, and the table's children would remain untouched.

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

--HG--
extra : moz-landing-system : lando
2020-04-10 17:53:41 +00:00
Eitan Isaacson 17f84615a2 Bug 1627765 - Rename firePlatformEvent to handleAccessibleEvent. r=morgan
The latter seems more accurate to what that method does, since we don't necessarily
forward that event to the OS, but might instead use it to update cached properties.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 22:57:47 +00:00
Csoregi Natalia 954b969608 Backed out 5 changesets (bug 1615588) for browser-chrome failures e.g. browser_beforeunload_duplicate_dialogs.js. CLOSED TREE
Backed out changeset 751cca7566a8 (bug 1615588)
Backed out changeset 474aca043834 (bug 1615588)
Backed out changeset 7839b95ef76c (bug 1615588)
Backed out changeset 32bb87f48b13 (bug 1615588)
Backed out changeset 264e642042b1 (bug 1615588)

--HG--
extra : rebase_source : 41ed149c97382bc1cf823abc56811b382cae0207
2020-04-10 21:19:15 +03:00
Morgan Reschenberg 2e7598ddac Bug 1624964: Add visited attribute to links, state caching for TRAVERSED. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D70095

--HG--
extra : moz-landing-system : lando
2020-04-10 15:54:15 +00:00
pbz b296ec16c4 Bug 1615588 - Updated prompt tests. r=marionette-reviewers,johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66450

--HG--
extra : moz-landing-system : lando
2020-04-10 16:45:36 +00:00
James Teh 47aa8b6b4d Bug 1619506 part 2: Don't expose NODE_CHILD_OF relation for OOP iframe documents. r=yzen
For OOP iframe documents, we can't support NODE_CHILD_OF in the usual way, since the iframe resides in a different process.
Previously, we incorrectly returned the application accessible.
This was breaking focus ancestry walking for JAWS.
Instead, don't expose NODE_CHILD_OF at all in this case.
This is fine because the client will then request the parent instead, which will be correctly handled by platform/AccessibleOrProxy code.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:30:01 +00:00
James Teh fa30324c84 Bug 1619506 part 1: Implement QueryService to SID_IAccessibleContentDocument for OOP iframes. r=yzen
For OOP iframes, the top level document lives in a different process.
Previously, we incorrectly returned the top level document in the same process.
This was causing JAWS to incorrectly identify OOP iframe documents as separate tab documents.
To fix this, we must send the real top level document down from the parent process and return that when requested in the content process.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:28:08 +00:00
Tim Nguyen f4024ef912 Bug 1624482 - Adapt menupopup accessible to query the correct parent element when slotted. r=emilio
D67954 starts using shadow DOM for menulist and slots the menulist children. This causes GetFlattenedTreeParent to return the slot instead of the parent menulist. This patch fixes it.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 19:48:30 +00:00
Eitan Isaacson 5d8f189fab Bug 1627899 - Focus selected tatb only if nott already focused. r=MarcoZ
Not sure how this could happen, but perhaps the tab is already focused so waiting
for a focus change event causes a timeout.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 04:51:22 +00:00
Morgan Reschenberg 883afead1b Bug 1627763: Adjust coordinates of layout point for launching context menu. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D69874

--HG--
extra : moz-landing-system : lando
2020-04-06 22:07:25 +00:00
Morgan Reschenberg 945f2ee931 Bug 1618705: Construct column containers and list them as children of our table accessible. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67900

--HG--
extra : moz-landing-system : lando
2020-04-06 16:51:11 +00:00
Morgan Reschenberg 1407b0c42b Bug 1627311: Remove actions from mozLinkAccessible to avoid duplication in mozAccessible. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D69601

--HG--
extra : moz-landing-system : lando
2020-04-03 21:58:01 +00:00
Sylvestre Ledru 0aa6f03cf3 Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-04-05 13:34:58 +00:00
Eric Rahm 357069ff58 Bug 1626455 - Remove nsAutoPtr usage from accessible/. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D69126

--HG--
extra : moz-landing-system : lando
2020-04-03 21:05:35 +00:00
Eitan Isaacson 99fcfa7336 Bug 1626638 - Add subrole of AXTabButtton to page tabs. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D69212

--HG--
extra : moz-landing-system : lando
2020-04-02 05:47:52 +00:00
Eitan Isaacson cd6b27feeb Bug 1626036 - Cache SELECTED state in Mac. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D69133

--HG--
extra : moz-landing-system : lando
2020-04-02 16:44:33 +00:00
Eitan Isaacson 9d0aad6f8b Bug 1626036 - Cache CURRENT state in Mac. r=morgan
This allows us to not pull in attributes for every accessible.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 16:44:24 +00:00
Eitan Isaacson df0924d72a Bug 1626036 - Initial Mac state caching. r=morgan
Here I added caching for all the toggle states, and expanded.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 16:42:46 +00:00
Eitan Isaacson df6032b2ba Bug 1626036 - Add a stateWithMask method to mozAccessible. r=morgan
Having this kind of method will let us know what the states of interest are.
If all the states are cached we can return them without inquiring the full state.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 05:47:43 +00:00
Eitan Isaacson fdedd0e534 Bug 1626639 - Use mozCheckboxAccessible class for radio buttons. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D69215

--HG--
extra : moz-landing-system : lando
2020-04-02 20:28:06 +00:00
Eitan Isaacson b2c4484df1 Bug 1626036 - Introduce more mochitests for mac accessibility. r=morgan
In this patch set I'll introduce state caching, so I thought it's a good idea
to first add a bunch of tests to features that will be touched.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 16:41:43 +00:00
Morgan Reschenberg bb48588461 Bug 1625832: Feed mouse synthesizer gecko coordinates instead of Mac coordinates. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D69035

--HG--
extra : moz-landing-system : lando
2020-04-01 05:07:53 +00:00
James Teh 5d7440007c Bug 1626802 part 2: Implement HandlerProvider::IsInterfaceMaybeSupported for a11y. r=aklotz,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D69286

--HG--
extra : moz-landing-system : lando
2020-04-02 04:09:20 +00:00
Christoph Kerschbaumer 4b9c5814af Bug 1571461 - Change accessibility of search widget to look for all event handlers and remove hack to hide.r=surkov,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D68023

--HG--
extra : moz-landing-system : lando
2020-03-31 11:06:38 +00:00
Marco Zehe 038d0f0c06 Bug 1626137 - Account for tables that are display:block; when looking for the table of a row accessible, r=Jamie
When checking if a parent of a table row counts for a table, take into account that a table might be an ARIAGridAccessible, which remains a generic hyperText, but is still a valid table. Tables with display: block; are such candidates.

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

--HG--
extra : moz-landing-system : lando
2020-03-31 06:32:15 +00:00
James Teh 979d04b401 Bug 1625396: AccessibleOrProxy::ChildAtPoint: Accessible::ChildAtPoint can return null, so don't try to check for a remote child doc in that case. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D68739

--HG--
extra : moz-landing-system : lando
2020-03-30 13:19:15 +00:00
Tim Nguyen 66d337e655 Bug 1625314 - Follow up: Temporarily hack around search-textbox a11y failures. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D68899

--HG--
extra : amend_source : 61e287fc550a40c6cbce2dc34205f7abf9cb2003
2020-03-30 21:34:38 +00:00
Botond Ballo 672a7de4ff Bug 1626021 - Remove non-ASCII characters from comments in Accessible.cpp. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D68847

--HG--
extra : moz-landing-system : lando
2020-03-30 17:33:19 +00:00
Morgan Reschenberg 48fa33b966 Bug 1618706: Adjust role of grid cells from group to table-cell. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D68618

--HG--
extra : moz-landing-system : lando
2020-03-27 20:37:24 +00:00
James Teh c48bee7775 Bug 1598299 part 2: Remove ProxyAccessible::AccessibleAtPoint. r=yzen,nika
This wasn't useful cross-platform.
ATK was the only consumer of this and it now uses ProxyAccessible::ChildAtPoint.
This also means the related aNeedsScreenCoords functionality in PDocAccessible::AccessibleAtPoint is no longer needed and has thus been removed.
Finally, this renames PDocAccessible::AccessibleAtPoint to PDocAccessible::ChildAtPoint for consistency with Accessible::ChildAtPoint now that the functionality is mirrored.

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

--HG--
extra : moz-landing-system : lando
2020-03-29 23:08:44 +00:00
James Teh ef9d9e1d06 Bug 1598299 part 1: Make atk_component_ref_accessible_at_point return the deepest child instead of the direct child. r=yzen
This changes the ATK code to use AccessibleOrProxy::ChildAtPoint, since that already handles walking into OuterDocAccessibles appropriately.
Previously, atk_component_ref_accessible_at_point didn't work at all on OuterDocAccessibles.
Also, for ProxyAccessibles, we no longer adjust the coordinates for ATK_XY_WINDOW in the content process, as this depends on stuff that doesn't exist cross-platform and thus can't be used with AccessibleOrProxy.
Instead, we now handle this in the parent process before making the IPC call.

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

--HG--
extra : moz-landing-system : lando
2020-03-26 15:27:45 +00:00
Drew Willcoxon 5739954280 Bug 1616752 - Part 2: Add payload schemas for each result type and validate payloads against them. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D64300

--HG--
extra : moz-landing-system : lando
2020-03-26 15:27:12 +00:00
Morgan Reschenberg 53fcf5a7d2 Bug 1617311: Add details/summary attributes and values. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67233

--HG--
extra : moz-landing-system : lando
2020-03-27 22:08:40 +00:00
Eitan Isaacson bc2cae2059 Bug 1624729 - Introduce some initial mac mochitests. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68128

--HG--
extra : moz-landing-system : lando
2020-03-27 20:19:56 +00:00
Eitan Isaacson 14ca656c7f Bug 1624729 - Notify observer service of mac accessibility events. r=morgan,yzen
Differential Revision: https://phabricator.services.mozilla.com/D68127

--HG--
extra : moz-landing-system : lando
2020-03-27 17:11:44 +00:00
Eitan Isaacson 0ade2fd945 Bug 1624729 - Refactor event firing and encapsulate it in mozAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68126

--HG--
extra : moz-landing-system : lando
2020-03-27 17:12:33 +00:00
Eitan Isaacson a89dd56577 Bug 1624729 - Map NSAccessible properties and action methods to attributes and action lists. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68125

--HG--
extra : moz-landing-system : lando
2020-03-27 17:13:39 +00:00
Eitan Isaacson d3ae7576c0 Bug 1624729 - Implement attributes and actions getters in xpcAccessibleMacInterface. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68124

--HG--
extra : moz-landing-system : lando
2020-03-27 17:15:18 +00:00
Eitan Isaacson 95c476b280 Bug 1624729 - Introduce nsIAccessibleMacInterface as mac native xpc interface. r=yzen,morgan
Differential Revision: https://phabricator.services.mozilla.com/D68123

--HG--
extra : moz-landing-system : lando
2020-03-27 17:15:31 +00:00
Eitan Isaacson 325f958e21 Bug 1624729 - Add a nativeInterface attribute to nsIAccessible. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D68122

--HG--
extra : moz-landing-system : lando
2020-03-27 00:53:31 +00:00
Eitan Isaacson 5ff55aadfc Bug 1625293 - Populate mParallelView in mozRootAccessible when initializing. r=morgan
This makes it possible to get the `representedView` even after the accessible goes away on shutdown.

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

--HG--
extra : moz-landing-system : lando
2020-03-27 20:26:40 +00:00
Eitan Isaacson 9c101448f7 Bug 1407724 - Provide role of TEXT_CONTAINER to descendants of "strong" aria roles. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D66793

--HG--
extra : moz-landing-system : lando
2020-03-27 16:00:09 +00:00
Morgan Reschenberg 9e89b53321 Bug 1623402: Add ShowMenu to action names, perform action. r=eeejay
Depends on D67200

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

--HG--
extra : moz-landing-system : lando
2020-03-27 17:08:58 +00:00
Marco Zehe 0948ee96fa Bug 1625153 - Implement the WAI-ARIA 1.2 code role, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D68432

--HG--
extra : moz-landing-system : lando
2020-03-26 21:26:15 +00:00
James Teh a3a5a8ee35 Bug 1616829: Don't remove ATK_STATE_EDITABLE from list items in editors. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D68327

--HG--
extra : moz-landing-system : lando
2020-03-26 20:54:02 +00:00
James Teh 25c7a7bb42 Bug 1622699 part 3: Remove accessibility.xpcom.traverse_outerdoc pref. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D68304

--HG--
extra : moz-landing-system : lando
2020-03-26 18:01:37 +00:00
James Teh cc07441b96 Bug 1622699 part 1: Add nsIAccessible::GetDeepestChildAtPointInProcess. r=yzen
Dev Tools A11y Panel interacts with accessibles in the process in which they reside.
It does not (and cannot) deal with ProxyAccessibles.
However, GetDeepestChildAtPoint now walks into the ProxyAccessible tree if appropriate, which is what we want for tests and what normally makes sense.
This patch introduces GetDeepestChildAtPointInProcess, which Dev Tools will use instead.

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

--HG--
extra : moz-landing-system : lando
2020-03-26 18:00:59 +00:00
Razvan Maries 3ee91b8422 Backed out changeset 0bf2517f7a99 (bug 1623402) for build bustages. CLOSED TREE 2020-03-26 19:25:30 +02:00
Morgan Reschenberg 791753ad49 Bug 1623402: Add ShowMenu to action names, perform action. r=eeejay
Depends on D67200

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

--HG--
extra : moz-landing-system : lando
2020-03-25 22:10:27 +00:00
Morgan Reschenberg 9aa0ae8a10 Bug 1624434: Remove description attribute for table elements. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67928

--HG--
extra : moz-landing-system : lando
2020-03-26 15:45:04 +00:00
Morgan Reschenberg 70cc6039b1 Bug 1616679: Map accessible actions to Mac actions based on action name. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67200

--HG--
extra : moz-landing-system : lando
2020-03-25 22:09:59 +00:00
Eitan Isaacson 9de7172c6b Bug 1623399 - Hide chrome invisible alerts and dialogs. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D68272

--HG--
extra : moz-landing-system : lando
2020-03-25 21:29:43 +00:00
Cosmin Sabou 88a9cd318e Backed out changeset 570f25f87e0a (bug 1616679) for bustages on mozAccessible.mm. CLOSED TREE 2020-03-25 19:26:48 +02:00
Morgan Reschenberg 2856a68236 Bug 1616679: Map accessible actions to Mac actions based on action name. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67200

--HG--
extra : moz-landing-system : lando
2020-03-25 17:08:15 +00:00
Mirko Brodesser d5bfd89436 Bug 1623858: part 13) Declare some methods in `HyperTextAccessible` `const`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D68039

--HG--
extra : moz-landing-system : lando
2020-03-25 15:39:37 +00:00
Marco Zehe 834e69c0ae Bug 1624826 - Remove trailing whitespace from accessible name of fieldset element if provided by legend, r=eeejay
This was an oversight in the HTMLGroupBoxAccessible implementation of NativeName, others trim their whitespaces by default.

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

--HG--
extra : moz-landing-system : lando
2020-03-25 15:13:50 +00:00
Brindusan Cristian 907f988362 Backed out changeset 155281fd18fd (bug 1571461) for mochitest failures at test_general.xhtml. CLOSED TREE 2020-03-24 21:27:46 +02:00
Eitan Isaacson c5e8c91afb Bug 1622731 - Make nsCoreUtils tree/column functions null-safe. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D67673

--HG--
extra : moz-landing-system : lando
2020-03-24 19:07:30 +00:00
Eitan Isaacson 98a33541fd Bug 1622731 - In TableAccessible::IsProbablyLayoutTable, check if accessible is defunct. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D67672

--HG--
extra : moz-landing-system : lando
2020-03-24 19:03:39 +00:00
Christoph Kerschbaumer f64b1b7ff8 Bug 1571461 - Change accessibility of search widget to look for all event handlers and remove hack to hide.r=surkov,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D68023

--HG--
extra : moz-landing-system : lando
2020-03-24 17:32:59 +00:00
Eitan Isaacson f8243143b8 Bug 1622731 - Notify of destruction after detaching accessible wrap/proxy. r=morgan
Depends on D67673

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

--HG--
extra : moz-landing-system : lando
2020-03-21 05:26:19 +00:00
Emilio Cobos Álvarez 04828e3a4a Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ
This rejiggers a bit the way selection focus is handled so that focusing a
disabled form control with the mouse handles selection properly, and hides the
document selection and so on.

This matches the behavior of other browsers as far as I can tell.

Given now readonly and disabled editors behave the same, we can simplify a bit
the surrounding editor code.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 13:18:16 +00:00
James Teh 2372f54c8a Bug 1622941: Fire ATK text-attributes-changed events for ProxyAccessibles. r=MarcoZ
Previously, we fired these for Accessibles, but this was never implemented for ProxyAccessibles (remote content documents).

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

--HG--
extra : moz-landing-system : lando
2020-03-18 06:07:45 +00:00
James Teh 6e3cde7338 Bug 1622751: Teach IPDL that PDocAccessible::AccessibleAtPoint can return a null result doc. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67081

--HG--
extra : moz-landing-system : lando
2020-03-17 22:13:55 +00:00
Morgan Reschenberg 852913f515 Bug 1618708: Implement slider class and support required actions, valueDidChange event handling. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D66667

--HG--
extra : moz-landing-system : lando
2020-03-17 17:32:33 +00:00
Eitan Isaacson d014504afb Bug 1617314 - Support aria-current in OSX. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66813

--HG--
extra : moz-landing-system : lando
2020-03-16 22:15:57 +00:00
Eitan Isaacson b70e223767 Bug 1618718 - Support AXToggle subrole and states. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D66841

--HG--
extra : moz-landing-system : lando
2020-03-14 05:39:59 +00:00
Mihai Alexandru Michis 58bc354025 Backed out changeset 9eeee9ec66d9 (bug 253870) for causing failures in browser_bug1261299.js
CLOSED TREE
2020-03-16 22:32:41 +02:00
Emilio Cobos Álvarez 9f28f89085 Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ
This rejiggers a bit the way selection focus is handled so that focusing a
disabled form control with the mouse handles selection properly, and hides the
document selection and so on.

This matches the behavior of other browsers as far as I can tell.

Given now readonly and disabled editors behave the same, we can simplify a bit
the surrounding editor code.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 17:41:07 +00:00