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

9110 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 301532bc94 Bug 1581859: Part 2b - Add LOAD_FLAGS_IS_REFRESH to all navigations triggered by meta refreshes. r=nika
The extension framework needs to set specific flags on navigations triggered
by meta refresh headers. Adding this to the load type of all navigations
triggered by meta refreshes allows it to do this without tracking docshells on
which refreshes are attempted so that it can make inferences.

Differential Revision: https://phabricator.services.mozilla.com/D108726
2021-03-25 19:47:01 +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
Simon Giesecke 613e20d136 Bug 1184468 - Use nsBaseHashtable::Values. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D108587
2021-03-24 17:56:49 +00:00
Simon Giesecke 4a308827e3 Bug 708901 - Migrate to nsTHashSet in ipc. r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D109322
2021-03-24 17:56:48 +00:00
Csoregi Natalia f54ee076ae Backed out 13 changesets (bug 708901, bug 1184468) for causing build bustage on GeckoViewHistory.cpp. CLOSED TREE
Backed out changeset b1e4c01e63b8 (bug 708901)
Backed out changeset 37b52cce83c0 (bug 708901)
Backed out changeset eee75f33f060 (bug 708901)
Backed out changeset 479bf64c7986 (bug 708901)
Backed out changeset 15a8fb94d15d (bug 708901)
Backed out changeset be31ccd9a61d (bug 708901)
Backed out changeset fc54f4eaedd5 (bug 708901)
Backed out changeset 03c3a56c3d13 (bug 708901)
Backed out changeset 73f11d3c1298 (bug 708901)
Backed out changeset aed22fd80893 (bug 708901)
Backed out changeset 74d8249fbe7e (bug 708901)
Backed out changeset acb725eb3c1d (bug 1184468)
Backed out changeset 70f3ea6efec4 (bug 1184468)
2021-03-24 19:26:20 +02:00
Simon Giesecke b07f34785d Bug 708901 - Migrate to nsTHashSet in ipc. r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D109322
2021-03-24 16:59:00 +00:00
Eitan Isaacson f4238ee721 Bug 1691930 - Check that FocusedChild is bound to a doc in RecvFocusedChild. r=Jamie
Added an assert in focus manager. Hopefully fuzzers will help us find
cases where the active item is defunct, if that is indeed what is
happening.

Differential Revision: https://phabricator.services.mozilla.com/D109403
2021-03-24 16:24:47 +00:00
Csoregi Natalia 024e0b2323 Backed out 10 changesets (bug 1581859) for causing hazard failures. CLOSED TREE
Backed out changeset 93fe6801a5e2 (bug 1581859)
Backed out changeset 0a33cb185fb3 (bug 1581859)
Backed out changeset 9ceaad6dab5b (bug 1581859)
Backed out changeset ee611f0839ca (bug 1581859)
Backed out changeset 4199963fe477 (bug 1581859)
Backed out changeset b4c5ace21b9e (bug 1581859)
Backed out changeset 6003469dc449 (bug 1581859)
Backed out changeset 826c62b783c0 (bug 1581859)
Backed out changeset e1d7851295fd (bug 1581859)
Backed out changeset 9796577af27a (bug 1581859)
2021-03-24 08:48:00 +02:00
Kris Maglione 94b544ff0f Bug 1581859: Part 2b - Add LOAD_FLAGS_IS_REFRESH to all navigations triggered by meta refreshes. r=nika
The extension framework needs to set specific flags on navigations triggered
by meta refresh headers. Adding this to the load type of all navigations
triggered by meta refreshes allows it to do this without tracking docshells on
which refreshes are attempted so that it can make inferences.

Differential Revision: https://phabricator.services.mozilla.com/D108726
2021-03-23 23:57:10 +00:00
Simon Giesecke 485ec92560 Bug 708901 - Migrate to nsTHashSet in accessible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D108589
2021-03-23 10:36:32 +00:00
Cosmin Sabou 7eba371387 Backed out 10 changesets (bug 1581859) for causing hazard failures on ExtensionsParent.cpp.
Backed out changeset 6020ec7d7f32 (bug 1581859)
Backed out changeset 07901e457839 (bug 1581859)
Backed out changeset e23389fc98b5 (bug 1581859)
Backed out changeset 4287eebc2c77 (bug 1581859)
Backed out changeset eeff6f501cfc (bug 1581859)
Backed out changeset 22db36f7d16d (bug 1581859)
Backed out changeset 16831d45d0ed (bug 1581859)
Backed out changeset 816643de7694 (bug 1581859)
Backed out changeset 6fd5aa7895e3 (bug 1581859)
Backed out changeset 2b68d2eee18e (bug 1581859)
2021-03-23 05:48:27 +02:00
Mike Hommey 4d8e18962b Bug 1699375 - Move WalkTheStack to mozglue. r=nika
A long standing issue is that MOZ_ASSERT and related don't print stack
traces in debug builds when they're directly or indirectly emitted from
non-libxul code. Moving WalkTheStack to mozglue alleviates the problem.

It's also not printing stack traces when emitted from C code (and for
some C third party libraries, we do redirect assert to MOZ_ASSERT),
which we solve by making the corresponding API available without C++
(which WalkTheStack being a static method of the nsTraceRefCnt class
didn't allow, or the use of a closure on Android).

This requires some adjustements to headers that indirectly assume that
Assertions.h includes ErrorList.h through nsError.h through nscore.h
through nsTraceRefcnt.h.

We also remove TestStackCrawl.cpp because it hasn't been built since
bug 158528, 19 years ago.

Differential Revision: https://phabricator.services.mozilla.com/D108913
2021-03-22 21:25:30 +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
Kris Maglione 1095dd88b9 Bug 1581859: Part 2b - Add LOAD_FLAGS_IS_REFRESH to all navigations triggered by meta refreshes. r=nika
The extension framework needs to set specific flags on navigations triggered
by meta refresh headers. Adding this to the load type of all navigations
triggered by meta refreshes allows it to do this without tracking docshells on
which refreshes are attempted so that it can make inferences.

Differential Revision: https://phabricator.services.mozilla.com/D108726
2021-03-22 20:12:15 +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
Narcis Beleuzu ffb77b2d9a Backed out 9 changesets (bug 1581859) for bustages jsapi.h . CLOSED TREE
Backed out changeset 2a3a77ae1eae (bug 1581859)
Backed out changeset 181c3f29f222 (bug 1581859)
Backed out changeset f7c39feb502e (bug 1581859)
Backed out changeset 9c7d0015c616 (bug 1581859)
Backed out changeset d2b8ee78745d (bug 1581859)
Backed out changeset 92359266d420 (bug 1581859)
Backed out changeset 98ba6b96c900 (bug 1581859)
Backed out changeset 0eb043b5c904 (bug 1581859)
Backed out changeset 55a4c2fc561d (bug 1581859)
2021-03-18 08:26:57 +02:00
Kris Maglione 6f0d80b656 Bug 1581859: Part 2b - Add LOAD_FLAGS_IS_REFRESH to all navigations triggered by meta refreshes. r=nika
The extension framework needs to set specific flags on navigations triggered
by meta refresh headers. Adding this to the load type of all navigations
triggered by meta refreshes allows it to do this without tracking docshells on
which refreshes are attempted so that it can make inferences.

Differential Revision: https://phabricator.services.mozilla.com/D108726
2021-03-18 05:51:06 +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
Daniel Holbert 824ffd6518 Bug 1699029: Switch to use wrapper-API GetCrossDocParentFrameInProcess() in LocalAccessible::VisibilityState(). r=hiro
This patch doesn't change behavior; it's just switching us between two
functions that do the same thing.  (One is literally a trivial wrapper for the
other.)

We're using the new "InProcess" version of this API as a way of annotating
callsites that have been vetted as behaving properly in out-of-process iframes.

In this case in LocalAccessible.cpp, there's an existing code-comment that
indicates that the contextual code already considers & accounts for this
possibility, so it looks like this spot is OK.

Differential Revision: https://phabricator.services.mozilla.com/D108738
2021-03-17 16:09:19 +00:00
Simon Giesecke 6f936dd483 Bug 1695162 - Use ConstIter instead of Iter where possible. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D106643
2021-03-17 15:49:46 +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
Sylvestre Ledru 81b14e2ac7 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
Updated with clang-format version 11.0.1 (taskcluster-B6bdwSKDRF-luRQWXBuzpA)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D108334
2021-03-15 08:45:29 +00:00
Simon Giesecke 91fdeec18c Bug 1695162 - Migrate from custom hashtable iteration to range-based for in accessible, dom/animation, dom/base, dom/localstorage, gfx/thebes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D106895
2021-03-12 16:14:58 +00:00
Alexandru Michis c691800cb0 Backed out changeset fd03162e726d (bug 1695162) for causing bustages in Document.cpp
CLOSED TREE
2021-03-12 17:10:02 +02:00
Simon Giesecke 2fb6095f16 Bug 1695162 - Migrate from custom hashtable iteration to range-based for in accessible, dom/animation, dom/base, dom/localstorage, gfx/thebes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D106895
2021-03-12 14:54:08 +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
Simon Giesecke ad01a10a3b Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin
Note that this patch only transforms the use of the nsDataHashtable type alias
to a directly equivalent use of nsTHashMap. It does not change the specification
of the hash key type to make use of the key class deduction that nsTHashMap
allows for in some cases. That can be done in a separate step, but requires more
attention.

Differential Revision: https://phabricator.services.mozilla.com/D106008
2021-03-10 10:47:47 +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
Eitan Isaacson d6a5ece8c2 Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D104927
2021-03-09 04:09:03 +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
Morgan Reschenberg 750392fbde Bug 1696023: Report accessible's position even when bounds rect is empty r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D107001
2021-03-08 17:50:36 +00:00
Cosmin Sabou 84170de8f6 Backed out changeset fd254f9f8ae1 (bug 1695765) for causing xpcAccessible related bustages. CLOSED TREE 2021-03-05 08:51:53 +02:00
Eitan Isaacson 89b8c80806 Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D104927
2021-03-05 05:47:16 +00:00
Neil Deakin 0a6f2c6e96 Bug 1691860, move code that hides separators in the content area context menu into a single place that just hides duplicates, r=Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D104615
2021-03-04 00:16:16 +00:00
Butkovits Atila 9ca372253f Backed out changeset 858bc4755aae (bug 1695765) for causing failures at xpcAccessibleGeneric.h. CLOSED TREE 2021-03-04 02:17:36 +02:00
Eitan Isaacson a02fa2061c Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D104927
2021-03-03 22:56:45 +00:00
Simon Giesecke 4ff9d15889 Bug 1634281 - Use nsBaseHashtable::GetOrInsertNew where possible. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D106491
2021-03-03 08:58:52 +00:00
Eitan Isaacson 38989e5335 Bug 1694566 - P4: Introduce polymorphic ChildAtPoint that returns remote or local accessibles. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D106680
2021-03-03 06:10:02 +00:00
Eitan Isaacson ffd5c8b856 Bug 1694566 - P3: Rename ChildAtPoint to LocalChildAtPoint. r=Jamie
This is in preparation for the next patch the virtualizes ChildAtPoint
in the Accessible class. LocalChildAtPoint allows us to house local-only
child at point implementations.

Differential Revision: https://phabricator.services.mozilla.com/D106679
2021-03-03 06:10:01 +00:00
Eitan Isaacson d6fb8b1903 Bug 1694566 - P2: Make EWhichChildAtPoint an enum class and put it in Accessible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D106678
2021-03-03 06:10:01 +00:00
Eitan Isaacson 38da6a85c6 Bug 1694566 - P1: Allow seamless parent/child retrieval across processes. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D106677
2021-03-03 06:10:00 +00:00
Eitan Isaacson cf02f92cd1 Bug 1694565 - Implement IsRemote/IsLocal and AsRemote/AsLocal. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D104917
2021-03-02 16:32:24 +00:00
Eitan Isaacson bafd5e712b Bug 1694203 - P9: Have RemoteAccessible inherit from Accessible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D104915
2021-03-02 16:32:24 +00:00
Eitan Isaacson 457ba6f552 Bug 1694203 - P8: Rename ChildrenCount to ChildCount in RemoteAccessible. r=Jamie
This will allow us to make this an override when inheriting from Accessible.

Differential Revision: https://phabricator.services.mozilla.com/D106005
2021-03-02 16:32:23 +00:00
Eitan Isaacson 645b284877 Bug 1694203 - P7: Define IsLink as a virtual method in Accessible. r=Jamie
This will allow us to have differing implementations for remote and
local accessibles.

Differential Revision: https://phabricator.services.mozilla.com/D104926
2021-03-02 16:32:23 +00:00
Eitan Isaacson ad5ecf5c43 Bug 1694203 - P6: Virtualize Role() and implment in LocalAccessible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D106004
2021-03-02 16:32:23 +00:00
Eitan Isaacson a3cc29ac54 Bug 1694203 - P5: Add and implement virtual hierarchy functions. r=Jamie
This allows us to use polymorphism when retrieving children/parents from
local or remote accessibles.

Differential Revision: https://phabricator.services.mozilla.com/D104924
2021-03-02 16:32:22 +00:00
Eitan Isaacson b5f10ca9cb Bug 1694203 - P4: Move IsTextRole from HyperTextAccessible to base class. r=Jamie
This will allow us to more easily query IsTextRole in remote case.

Differential Revision: https://phabricator.services.mozilla.com/D104925
2021-03-02 16:32:22 +00:00
Eitan Isaacson 20493d25f7 Bug 1694203 - P3: Move type "Is" methods to Accessible base class. r=Jamie
This will allow remote accessibles to use them as well.

Differential Revision: https://phabricator.services.mozilla.com/D106003
2021-03-02 16:32:21 +00:00
Eitan Isaacson e082620ccf Bug 1694203 - P2: Add eNumericValue and eAction to generic types for use in proxy. r=Jamie
eHasNumericValue should probably not be a state anyway. We need both of
these types because we currently send eHasNumericValue and
ActionCount != 0 as interface flags when creating proxies.

Differential Revision: https://phabricator.services.mozilla.com/D104914
2021-03-02 16:32:21 +00:00
Eitan Isaacson 8e9308e810 Bug 1694203 - P1: Add Accessible and have LocalAccessible inherit from it. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D104913
2021-03-02 16:32:21 +00:00
Eitan Isaacson 4f4b2106c4 Bug 1420773 - Only return HTML captions as HTML table captions. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D106528
2021-03-01 18:06:11 +00:00
Simon Giesecke 1a4038f6e7 Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in accessible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D106093
2021-03-01 09:59:30 +00:00
Jens Stutte 1e19379853 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-27 14:38:14 +00:00
Butkovits Atila bb3fe218a4 Backed out changeset be43a81b35f9 (bug 1689953) for causing failure at test_terminator_record.js. CLOSED TREE 2021-02-27 05:03:11 +02:00
Jens Stutte f6d52040b9 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-26 21:33:29 +00:00
Simon Giesecke 0b443059fd Bug 1693306 - Simplify some uses of LookupOrInsertWith by GetOrInsertNew. r=xpcom-reviewers,necko-reviewers,dragana,nika
Differential Revision: https://phabricator.services.mozilla.com/D105479
2021-02-26 09:22:54 +00:00
Simon Giesecke 9af107a839 Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika
This makes the naming more consistent with other functions called
Insert and/or Update. Also, it removes the ambiguity whether
Put expects that an entry already exists or not, in particular because
it differed from nsTHashtable::PutEntry in that regard.

Differential Revision: https://phabricator.services.mozilla.com/D105473
2021-02-26 09:11:46 +00:00
Simon Giesecke 4f75368dcb Bug 1691913 - Rename nsBaseHashtable::GetOrInsert(With) to LookupOrInsert(With). r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika
The functions should be called "Lookup" rather than "Get" because they return
a DataType& (rather than UserDataType).

Differential Revision: https://phabricator.services.mozilla.com/D105472
2021-02-26 09:11:45 +00:00
Masayuki Nakano ef2253b4a1 Bug 1691622 - part 9: Make `nsIWidget::SynthesizeNativeMouseEvent` take an XP button ID and abstract message value r=smaug,geckoview-reviewers,agi,m_kato
Currently, it takes a raw native message value, but it makes JS content too
complicated.  And on Linux, it cannot synthesize non-primary button events
because GDK has only button press and release messages which dont' include
mouse button information.

For solving these problems, this patch creates a new abstract native message
as `nsIWidget::NativeMouseMessage` and makes each widget converts it to
a platform native message.

Additionally, this patch adds an argument to make it possible its callers
to specify pressing or releasing mouse button with a DOM mouse button value.

Note that the following patch adds new argument to
`synthesizeNativeEventMouse*` for mochitests and which will be tested by
new tests.

Differential Revision: https://phabricator.services.mozilla.com/D105763
2021-02-24 01:27:10 +00:00
Masayuki Nakano b63882dde8 Bug 1691622 - part 4: Make `synthesizeNativeMouseClick*()` aware of modifiers r=smaug,geckoview-reviewers,m_kato
Surprisingly, they don't take modifiers, and
`nsIWidget::SynthesizeNativeMouseEvent()` which are implementations of
`nsIDOMWindowUtils::SendNativeMouseEvent()` treat given modifier flags
are native's ones, and handle modifiers only on macOS.  Therefore, this
patch makes them handle native modifiers of Gecko.

Unfortunately, I'm not so familiar with Android API, and in the short
term, I don't need the support on Android.  Therefore, this patch just
adds a TODO comment on Android widget.

Additionally, we don't have a simple way to set modifier only while
posting a mouse input on Windows too.  It requires complicated code.
Therefore, I don't add the support for it on Windows too.

Differential Revision: https://phabricator.services.mozilla.com/D105758
2021-02-24 01:27:07 +00:00
James Teh 7050157edf Bug 1693411: Make sure an a11y node is removed when visibility: hidden is set but the layout frame is reconstructed; e.g. position: fixed. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D105934
2021-02-23 01:48:15 +00:00
Emilio Cobos Álvarez 15ff419df0 Bug 1694059 - Rename various nnt prefs. r=spohl,mstange
As per feedback in D105931.

Differential Revision: https://phabricator.services.mozilla.com/D105991
2021-02-22 20:05:35 +00:00
Stephen A Pohl 2703d6691b Bug 1693895: Adjust default font size expectations in our accessibility tests on macOS with the non-native theme enabled. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D105827
2021-02-22 13:08:43 +00:00
Simon Giesecke 7c931c97c4 Bug 1689218 - Rename nsBaseHashtable::GetAndRemove to Extract. r=necko-reviewers,dragana
First, it should be called "Lookup" rather than "Get" because it returns
DataType (rather than UserDataType), but that would still be confusing,
since as opposed to other Lookup* methods, it does not return a DataType&
(and obviously, it can't). So "Extract" seems to be a better name, cf.
mozilla::Maybe::extract.

Differential Revision: https://phabricator.services.mozilla.com/D105471
2021-02-22 12:07:48 +00:00
Simon Giesecke c5f7800f35 Bug 1691913 - Rename nsClassHashtable::LookupOrAdd to GetOrInsertNew. r=xpcom-reviewers,nika
It should be called "Get" rather than "Lookup" because it returns
UserDataType. "Add" is called "Insert" in the other methods.

Differential Revision: https://phabricator.services.mozilla.com/D105470
2021-02-22 12:07:47 +00:00
Eitan Isaacson 6e8749d0da Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D105671
2021-02-19 23:14:33 +00:00
Eitan Isaacson 6e49732365 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 f48f468cb7 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
Morgan Reschenberg e71c1fa4ff Bug 1648813: Verify acc description when waiting for load/layout event r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D105373
2021-02-18 18:04:59 +00:00
Alexis Beingessner 07f2f659c6 Bug 1686616 - make StringBundle use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105531
2021-02-18 13:26:32 +00:00
Alexis Beingessner ade0725530 Bug 1686616 - make GfxInfo use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105522
2021-02-18 13:26:29 +00:00
Emilio Cobos Álvarez 5d7295db79 Bug 1693429 - Fix some typos in a11y mochitests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D105549
2021-02-18 04:23:40 +00:00
Morgan Reschenberg 9343b6370d Bug 1460378: Verify role, role description mapping for meter element on mac r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D104760
2021-02-17 15:58:31 +00:00
Morgan Reschenberg 588e12696e Bug 1460378: Introduce meter role and HTMLMeterAccessible class. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D104759
2021-02-17 15:58:31 +00:00
Markus Stange 355baf5b39 Bug 1692391 - Rename NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK macros, replacing ABORT with IGNORE. These macros just log the exception and move on, without aborting. r=haik
This patch was generated automatically, using the following commands:

```
rg -l 'NS_OBJC_BEGIN_TRY_ABORT_BLOCK' . | xargs sed -i '' -e 's/NS_OBJC_BEGIN_TRY_ABORT_BLOCK/NS_OBJC_BEGIN_TRY_IGNORE_BLOCK/g'
rg -l 'NS_OBJC_END_TRY_ABORT_BLOCK' . | xargs sed -i '' -e 's/NS_OBJC_END_TRY_ABORT_BLOCK/NS_OBJC_END_TRY_IGNORE_BLOCK/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D104960
2021-02-16 22:55:21 +00:00
Markus Stange 9bc888af4a Bug 1692391 - Replace NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NIL with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(nil). r=haik
This patch was generated automatically, using the following commands:

```
rg -l 'NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NIL' . | xargs sed -i '' -e 's/NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NIL/NS_OBJC_BEGIN_TRY_BLOCK_RETURN/g'
rg -l 'NS_OBJC_END_TRY_ABORT_BLOCK_NIL' . | xargs sed -i '' -e 's/NS_OBJC_END_TRY_ABORT_BLOCK_NIL/NS_OBJC_END_TRY_BLOCK_RETURN(nil)/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D104959
2021-02-16 22:55:21 +00:00
Markus Stange 56051da2d0 Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik
This patch was generated with the commands:

```
rg -l 'NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT' . | xargs sed -i '' -e 's/NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT/NS_OBJC_BEGIN_TRY_BLOCK_RETURN/g'
rg -l 'NS_OBJC_END_TRY_ABORT_BLOCK_NSRESULT' . | xargs sed -i '' -e 's/NS_OBJC_END_TRY_ABORT_BLOCK_NSRESULT/NS_OBJC_END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE)/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D104957
2021-02-16 22:55:20 +00:00
Markus Stange 5257db6695 Bug 1692391 - Remove the word ABORT from the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_RETURN macros, because these macros don't abort. r=haik,necko-reviewers
This patch was generated automatically with the commands below:

```
rg -l 'NS_OBJC_BEGIN_TRY_ABORT_BLOCK_RETURN' . | xargs sed -i '' -e 's/NS_OBJC_BEGIN_TRY_ABORT_BLOCK_RETURN/NS_OBJC_BEGIN_TRY_BLOCK_RETURN/g'
rg -l 'NS_OBJC_END_TRY_ABORT_BLOCK_RETURN' . | xargs sed -i '' -e 's/NS_OBJC_END_TRY_ABORT_BLOCK_RETURN/NS_OBJC_END_TRY_BLOCK_RETURN/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D104955
2021-02-16 22:55:20 +00:00
Sylvestre Ledru 4fe9680965 no bug - Remove a pylint warning - variable 'text' is unused r=mstange DONTBUILD
Depends on D105299

Differential Revision: https://phabricator.services.mozilla.com/D105300
2021-02-16 21:10:33 +00:00
Eitan Isaacson ff59e176e4 Bug 1692523 - P2: Prefix remote heirarchy functions with 'Remote'. r=Jamie
Parent -> RemoteParent
ChildAt -> RemoteChildAt
FirstChild -> RemoteFirstChild
LastChild -> RemoteLastChild
NextSibling -> RemoteNextSibling
PrevSibling -> RemotePrevSibling

Differential Revision: https://phabricator.services.mozilla.com/D105035
2021-02-16 20:05:11 +00:00
Eitan Isaacson 8c842a59e3 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
Simon Giesecke 338908171d Bug 1692846 - Remove redundant nullptr checks of return value of infallible new in accessible/. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D105174
2021-02-16 08:43:57 +00:00
Gerald Squelart 2416d881e2 Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian
There are no code changes, only #include changes.
It was a fairly mechanical process: Search for all "AUTO_PROFILER_LABEL", and in each file, if only labels are used, convert "GeckoProfiler.h" into "ProfilerLabels.h" (or just add that last one where needed).
In some files, there were also some marker calls but no other profiler-related calls, in these cases "GeckoProfiler.h" was replaced with both "ProfilerLabels.h" and "ProfilerMarkers.h", which still helps in reducing the use of the all-encompassing "GeckoProfiler.h".

Differential Revision: https://phabricator.services.mozilla.com/D104588
2021-02-16 04:44:19 +00:00
Simon Giesecke 780a1636a9 Bug 1691894 - Replace several suboptimal uses of Put after Get by GetOrInsertWith or WithEntryHandle. r=xpcom-reviewers,necko-reviewers,kmag,valentin,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D104849
2021-02-15 15:12:17 +00:00
smolnar 1afbbe67e1 Backed out 5 changesets (bug 1691894) for causing hazard failures in nsXULPrototypeCache. CLOSED TREE
Backed out changeset 22dc870ee609 (bug 1691894)
Backed out changeset 58c31e9d6ae3 (bug 1691894)
Backed out changeset 7483e84149d8 (bug 1691894)
Backed out changeset f977d6cfa973 (bug 1691894)
Backed out changeset db4503476f34 (bug 1691894)
2021-02-15 16:43:23 +02:00
Simon Giesecke 8973094ec1 Bug 1691894 - Replace several suboptimal uses of Put after Get by GetOrInsertWith or WithEntryHandle. r=xpcom-reviewers,necko-reviewers,kmag,valentin,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D104849
2021-02-15 10:04:45 +00:00
James Teh a7a374a0cd Bug 1652192: Enable event logging for accessible/tests/browser/states/browser_test_visibility.js. r=yzen
I can't reproduce this on try, so I'm landing this so I can get (hopefully) useful info next time it fails.

Differential Revision: https://phabricator.services.mozilla.com/D104942
2021-02-14 22:14:03 +00:00
james 16060f0cc4 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 23:33:51 +00:00
Narcis Beleuzu ed6880e281 Backed out changeset b3fcb4fcea64 (bug 1691274) for bc failures on browser_pointerlock_warning.js . CLOSED TREE 2021-02-13 21:46:51 +02:00
james 8069ab6165 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 18:11:18 +00:00
Mark Banner 263d555274 Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
Eitan Isaacson 5d2f41bc6e Bug 1691623 - Wait for text attr change event that precedes misspelled attribute. r=morgan.
Differential Revision: https://phabricator.services.mozilla.com/D104727
2021-02-10 20:04:41 +00:00
Morgan Reschenberg 1fe81c2358 Bug 1691502: Don't attempt to invalidate table cache on outlines r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D104432
2021-02-10 18:29:36 +00:00
Morgan Reschenberg 8a85843ede Bug 1648813: Wait for AXLoadComplete on spawned tab based on label r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D104553
2021-02-10 18:29:02 +00:00
Eitan Isaacson b8ab9d0b57 Bug 1691345 - Check that focused child doc is a descendant of caller's doc. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D104546
2021-02-10 17:01:22 +00:00
Eitan Isaacson 49dfc2e434 Bug 1691831 - Clamp offsets to character count in HyperTextIterator. r=morgan
I tried to come up with a good test for this, that reproduces the issue in a demonstratable way, but couldn't.

Differential Revision: https://phabricator.services.mozilla.com/D104586
2021-02-10 06:58:40 +00:00
Morgan Reschenberg f4a86a8e84 Bug 1690924: Wait for focus event instead of selected children changed r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D104264
2021-02-09 17:57:04 +00:00
Nika Layzell 661b4db5f0 Bug 1689147 - Part 4: Switch nested and prio to extended attributes, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D103369
2021-02-09 16:50:22 +00:00
Yura Zenevich c72349ac1a Bug 1689445 - revert EventUtils.sendMouseEvent back to being sync. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D104127
2021-02-09 01:30:08 +00:00
James Teh f01ed6dea6 Bug 1646486: Move dom::Document::IsVisibleConsideringAncestors to a11y::nsCoreUtils::IsDocumentVisibleConsideringInProcessAncestors. r=emilio
Renaming the function makes it clear that it only deals with in-process ancestors, which is an important distinction for Fission.
A11y is the only consumer of this and it only cares about in-process ancestors in this case (OOP stuff is handled elsewhere), so the functionality doesn't need to change.
Since a11y is the only consumer, move this into the a11y code.

Differential Revision: https://phabricator.services.mozilla.com/D104341
2021-02-09 00:44:21 +00:00
Eitan Isaacson 0a92b9e380 Bug 1690342 - P5: Use AXTextArea for multiline aria text boxes. r=morgan DONTBUILD
Now that we have attribtued text we don't need to advertise rich text editables as AXTextField.

Differential Revision: https://phabricator.services.mozilla.com/D103803
2021-02-08 23:26:49 +00:00
Eitan Isaacson cb03a1923c Bug 1690342 - P4: Implement IPC attributed text getter. r=morgan DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D103802
2021-02-08 23:26:47 +00:00
Eitan Isaacson b9559d486e Bug 1690342 - P3: Add protocol stubs for mac attributed text. r=Jamie,mccr8,ipc-reviewers DONTBUILD
Created DocAccessibleTypes.ipdlh to put common types so they can be used in platform
extension protocols.

Differential Revision: https://phabricator.services.mozilla.com/D103801
2021-02-08 23:26:39 +00:00
Eitan Isaacson e6912635e0 Bug 1690342 - P2: Populate NSAttributedText attributes with attributes. r=morgan DONTBUILD
A followup patch will make this work in e10s. This current implementation is non-ipc.

Differential Revision: https://phabricator.services.mozilla.com/D103800
2021-02-08 23:26:31 +00:00
Eitan Isaacson 84896a7a88 Bug 1690342 - P1: Introduce moxAncestorSearch for finding ancestors. r=morgan DONTBUILD
It looks like we need to do this often. Adding it to the protocol/base class allows
us to not have to worry each time about typing and traversing past MOX accessibles.

Differential Revision: https://phabricator.services.mozilla.com/D103799
2021-02-08 23:26:24 +00:00
Paul Zuehlcke cbda00d7e1 Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-02-05 13:40:42 +00:00
Tim Nguyen 864f262237 Bug 1691077 - Remove obsolete Fennec special case for nsDeckFrame a11y code. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D104240
2021-02-07 23:03:40 +00:00
Mihai Alexandru Michis 6da97a654e Backed out 2 changesets (bug 1689445) for causing bc failures in browser_search.js
Backed out changeset 2b1ec882c4c1 (bug 1689445)
Backed out changeset bcb4ba398ee0 (bug 1689445)
2021-02-06 05:33:02 +02:00
Yura Zenevich d3beb62c1d Bug 1689445 - revert EventUtils.sendMouseEvent back to being sync. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D104127
2021-02-05 21:26:54 +00:00
James Teh e81436a8a8 Bug 1689936: Move pending a11y content insertions into a temporary data structure before processing them. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D103977
2021-02-05 00:01:59 +00:00
Morgan Reschenberg b6cdc22e2b Bug 1680840: Introduce table style changed event to mac platform, update caching r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D103698
2021-02-04 20:50:12 +00:00
Morgan Reschenberg 1f72fbb6eb Bug 1680840: Fire table styling changed event when style changes that may affect data/layout table classification r=emilio,eeejay
Differential Revision: https://phabricator.services.mozilla.com/D103254
2021-02-04 20:50:05 +00:00
Morgan Reschenberg ced0045bea Bug 1688490: Make GetNativeFromGeckoAccessible null-safe r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D103813
2021-02-04 19:41:30 +00:00
Morgan Reschenberg 6b8df6efbe Bug 1686744: Fire AXMenuItemSelected notification when menu item is pressed r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D103954
2021-02-04 19:41:37 +00:00
James Teh 1b4d4c6a32 Bug 1690456: Don't allow nsAccessibilityService to be shut down while a parent document is still shutting down. r=yzen
DocAccessible::Shutdown calls DocManager::NotifyOfDocumentShutdown, which can shut down nsAccessibilityService if there are no more consumers.
Previously, this could happen even when shutting down child documents.
Since shutting down the service shuts down all documents, this resulted in shutting down the parent document within an outer call to shut down that same document.
Even if that reentry were prevented, the service would have been gone when returning to the outer Shutdown call, which still needs the service to complete its cleanup.

To fix this, DocManager::NotifyOfDocumentShutdown takes an argument specifying whether to allow service shutdown.
This is set to false when shutting down child documents.
The service is thus allowed to shut down when returning to the parent document Shutdown.

In addition, mPresShell is cleared before shutting down child documents to prevent reentry like this.
While this should no longer happen, this should safeguard against similar pain in future.

Differential Revision: https://phabricator.services.mozilla.com/D103966
2021-02-04 01:10:52 +00:00
Morgan Reschenberg 62aed9ef20 Bug 1688730: Cache table layout status on mac, invalidate on reorder, attr changed r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D102994
2021-02-02 21:30:58 +00:00
Morgan Reschenberg 67cee8a3e4 Bug 1688730: Fire relevant object attr changed events when layout table status may have changed r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D102993
2021-02-02 21:10:26 +00:00
Butkovits Atila 2af3edc6b9 Backed out 2 changesets (bug 1688730) for causing mochitest failures. CLOSED TREE
Backed out changeset 677c17ec48ea (bug 1688730)
Backed out changeset a7d0770117c8 (bug 1688730)
2021-02-02 02:04:28 +02:00
Morgan Reschenberg 876affb062 Bug 1688730: Cache table layout status on mac, invalidate on reorder, attr changed r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D102994
2021-02-01 20:23:23 +00:00
Morgan Reschenberg 84efd51514 Bug 1688730: Fire relevant object attr changed events when layout table status may have changed r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D102993
2021-02-01 20:23:17 +00:00
Butkovits Atila e13215fdec Backed out 2 changesets (bug 1688730) for causing build bustage on mozTableAccessible.mm. CLOSED TREE
Backed out changeset bd6d78d36cee (bug 1688730)
Backed out changeset dd03939b850e (bug 1688730)
2021-02-01 21:44:02 +02:00
Morgan Reschenberg 3b5f7255b1 Bug 1688730: Cache table layout status on mac, invalidate on reorder, attr changed r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D102994
2021-02-01 17:54:13 +00:00
Morgan Reschenberg cdce5e2be5 Bug 1688730: Fire relevant object attr changed events when layout table status may have changed r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D102993
2021-02-01 18:30:07 +00:00
Eitan Isaacson d3876360b5 Bug 1688972 - Make FocusedChild work across document/process boundaries. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D103102
2021-02-01 17:54:23 +00:00
Narcis Beleuzu 868935867c Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Nika Layzell bbaf7fbc65 Bug 1682285 - Part 2: Track LOAD_FLAGS_FROM_EXTERNAL separately from LOAD_TYPE, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D103365
2021-01-29 22:06:36 +00:00
Dorel Luca dc191572ea Backed out changeset 4572c1ba670a (bug 1688972) for Browser-chrome failures in accessible/tests/browser/fission/browser_take_focus.js. CLOSED TREE 2021-01-30 01:17:00 +02:00
Eitan Isaacson ba6174e679 Bug 1688972 - Make FocusedChild work across document/process boundaries. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D103102
2021-01-29 20:57:30 +00:00
Emilio Cobos Álvarez 3994678bd5 Bug 1689285 - Fix test_visibility.xhtml to not depend on theme values. r=eeejay
It's relying on the other menuitems being tall enough so that they
overflow 5em. When the non-native theme is enabled, this assumption
breaks because that theme doesn't add padding to XUL menuitems, and we
get the failure:

    wrong state bits for 'mi_file1.2.4' !got '0', expected 'offscreen'

Get what we want to test more explicitly by setting the height of the
menuitems appropriately.

Differential Revision: https://phabricator.services.mozilla.com/D103267
2021-01-29 16:54:21 +00:00
Paul Zuehlcke 3d476753eb Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-01-29 16:11:08 +00:00
James Teh 42351bc1af Bug 1688532: Don't use the cached column header on a previous table cell if that cell starts in a different column. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D103146
2021-01-28 17:21:47 +00:00
Mihai Alexandru Michis 2cf7d8a32b Backed out changeset 7b30dc27f552 (bug 1689285) for causing accessible failures in test_visibility.xhtml
CLOSED TREE
2021-01-29 00:58:11 +02:00
Emilio Cobos Álvarez 924021206c Bug 1689285 - Fix test_visibility.xhtml to not depend on theme values. r=eeejay
It's relying on the other menuitems being tall enough so that they
overflow 5em. When the non-native theme is enabled, this assumption
breaks because that theme doesn't add padding to XUL menuitems, and we
get the failure:

    wrong state bits for 'mi_file1.2.4' !got '0', expected 'offscreen'

Get what we want to test more explicitly by setting the height of the
menuitems appropriately.

Differential Revision: https://phabricator.services.mozilla.com/D103267
2021-01-28 17:19:16 +00:00
Brindusan Cristian e117dc4695 Backed out 2 changesets (bug 1596897) for mochitest failures at browser_setIgnoreCertificateErrors.js. CLOSED TREE
Backed out changeset 00c45a405129 (bug 1596897)
Backed out changeset 61304ccbaada (bug 1596897)
2021-01-28 21:53:46 +02:00
Paul Zuehlcke bbdb4f3b7b Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D99893
2021-01-28 12:14:43 +00:00