Commit Graph

910314 Commits

Author SHA1 Message Date
James Teh
e9194b79e4 Bug 1886618 part 2: Implement UIA focus event and properties. r=nlapre
Differential Revision: https://phabricator.services.mozilla.com/D205284
2024-03-25 11:55:32 +00:00
James Teh
db2987a0a1 Bug 1886618 part 1: Teach the test harness how to listen for UIA events. r=nlapre
Differential Revision: https://phabricator.services.mozilla.com/D205283
2024-03-25 11:55:31 +00:00
Olli Pettay
21c5917a34 Bug 1887615 - Micro-optimize PointerEventHandler::ReleaseIfCaptureByDescendant, r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D205547
2024-03-25 11:22:13 +00:00
stransky
74592b2a81 Bug 1886802 [Linux] Init XWindow for GLX context early r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D205441
2024-03-25 11:22:13 +00:00
Emilio Cobos Álvarez
ae5d29ea42 Bug 1887522 - Make a test reliable by waiting for font loads. r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D205543
2024-03-25 10:59:02 +00:00
Jan Varga
c8d94a1647 Bug 934640 - Save current database versions for already touched databases before GetDatabaseOp gets unblocked by an existing factory operation; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D190199
2024-03-25 10:54:34 +00:00
Jan Varga
68a3d3927f Bug 934640 - Add a way to get all database file managers for given persistence type and origin; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D191050
2024-03-25 10:54:33 +00:00
Jan Varga
ecf77eba94 Bug 934640 - Fix formatting in IndexedDatabaseManager.cpp; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D191057
2024-03-25 10:54:33 +00:00
Jan Varga
504e95b43b Bug 934640 - Implement IDBFactory.databases() to enumerate IndexedDB databases; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D190053
2024-03-25 10:54:33 +00:00
Jan Varga
bf65876240 Bug 934640 - Add methods for checking origin and client directory existence; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D191048
2024-03-25 10:54:32 +00:00
Jan Varga
bb9b3669eb Bug 934640 - Add database version to database file managers; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D190052
2024-03-25 10:54:32 +00:00
Jan Varga
c50517443b Bug 934640 - Add a way to get database file managers by database file path; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D190049
2024-03-25 10:54:31 +00:00
Jan Varga
113e2c7522 Bug 934640 - Extract persistence type deduction into a separate function; r=dom-storage-reviewers,jari
GetPersistenceType will be also called from IDBFactory::Databases.

Differential Revision: https://phabricator.services.mozilla.com/D190018
2024-03-25 10:54:31 +00:00
Jan Varga
28b80c6924 Bug 934640 - Extract background actor creation into a separate function; r=dom-storage-reviewers,jari
EnsureBackgroundActor will be also called from IDBFactory::Databases.

Differential Revision: https://phabricator.services.mozilla.com/D190017
2024-03-25 10:54:31 +00:00
Jan Varga
a798d1a573 Bug 934640 - Add support for factory operations which are not tied up with a specific database; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D188979
2024-03-25 10:54:30 +00:00
Jan Varga
797904b0e3 Bug 934640 - Create a new base for factory operations communicating using PBackgroundIDBFactoryRequest; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D188975
2024-03-25 10:54:30 +00:00
Jan Varga
1113d3070a Bug 934640 - Added IDBFactory.databases function to webidl; r=dom-storage-reviewers,webidl,smaug,aiunusov,jari
Differential Revision: https://phabricator.services.mozilla.com/D54141
2024-03-25 10:54:29 +00:00
Tom Schuster
6e138875be Bug 1884693 - Collect "Block pop-up windows" pref. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D204886
2024-03-25 10:24:28 +00:00
Tom Schuster
0755b1f41b Bug 1884693 - Collect zooming prefs. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D204885
2024-03-25 10:24:27 +00:00
Tom Schuster
db12007fa1 Bug 1884693 - Collect DNT and GPC prefs. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D204250
2024-03-25 10:24:27 +00:00
Alexandre Lissy
b5edd8ceb2 Bug 1887538 - Update QA PDF test selection screenshot r=benchatt,?mboldan!
Differential Revision: https://phabricator.services.mozilla.com/D205530
2024-03-25 10:17:39 +00:00
Natalia Csoregi
fe78d1c515 Backed out changeset 71c813e27dff (bug 1885167) for causing linting failures on AbstractFetchDownloadService.kt. CLOSED TREE 2024-03-25 12:14:14 +02:00
Emilio Cobos Álvarez
524094c6d2 Bug 1885933 - Fix logic inversion typo.
MANUAL PUSH: Trivial fix CLOSED TREE
2024-03-25 10:52:20 +01:00
pollymce
3c620a353d Bug 1885167 - fix onward journey from completed download notification r=android-reviewers,boek,kaya
Content intent of completed DownloadNotification now uses a PendingIntent which launches an Activity directly.
Previously, we launched the Activity indirectly from a BroadcastReceiver, which is less performant and is prohibited by the OS since Android 12.
The download notification test has been modified to mock out the file opening behaviour, as this test is just checking the visuals of the notification rather than the onward journeys.

Add notification trampoline test case that fails before the fix was made & passes after, to cover this bug.

Fix lint errors + add trailing comma to keep linter happy

Differential Revision: https://phabricator.services.mozilla.com/D205042
2024-03-25 09:22:47 +00:00
Marco Bonardo
44d36e40c1 Bug 1886975 - Places Migration v76 was not invoked, so move it to v77. r=daisuke,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205458
2024-03-25 09:05:17 +00:00
Natalia Csoregi
2e16fac1cb Backed out changeset 05e59b9d620c (bug 1886953) for causing build bustages on nsStandardURL.h CLOSED TREE 2024-03-25 10:42:38 +02:00
Henri Sivonen
cbf2fc3ab9 Bug 1886953 - Introduce deCOMtaminated IDNA functions and benchmark them r=necko-reviewers,valentin
The plan is to replace the implementations of these functions with an
ICU4X/Rust back end and then make the XPCOM versions call into these.

Migrating existing C++ callers is out of scope for this changeset.

Differential Revision: https://phabricator.services.mozilla.com/D205420
2024-03-25 07:24:57 +00:00
Mozilla Releng Treescript
edd0f70b47 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
eu -> cab65392fc726aecc384b8da6c6990e53584e1a4
lv -> 1a4613d9ca7b36a60c51105c9436977561ca4219
nn-NO -> 2a0f4552e79b7b03423d0efd28bf68864019934c
pt-PT -> 9a4c41c30635bc4e2c866c796c78977f19cb4f74
tg -> 75454a4d6eae57794cb17d9279babbc34bb1ccd7
zh-CN -> 4d7ea7199581ffbbf6124d9601612c3fceda6da0
2024-03-25 06:59:06 +00:00
Hiroyuki Ikezoe
11f6900750 Bug 1806400 - Defer element activation on touch-start on environments where double-tap-to-zoom is allowed. r=botond
NOTE: The main part of this change is the call site of
NotifyAPZStateChange(eStartTouch) in AsyncPanZoomController::OnTouchStart.
Other parts are just renaming.

Differential Revision: https://phabricator.services.mozilla.com/D204705
2024-03-25 06:08:31 +00:00
Hiroyuki Ikezoe
f314705666 Bug 1806400 - Activate the target element in ProcessSingleTap() on the first tap if double-tap didn't happen. r=dlrobertson,botond
On environments where double-tap-to-zoom is allowed, we don't immediately send
a single tap event when a touch-end happens, we later send a single tap event
when we are sure that the touch-end is not followed by double-tapping. Thus
when ActiveElementManager got the touch-end notification from an APZC, we need
to differentiate the situation to activate an element when ActiveElementManager
finally got a single tap event. This change introduces a tri-state to differentiate
the situation.

`helper_bug1806400-3.html` in this change is a subset of
`helper_touch_synthesized_mouseevents.html?scrollable=true`.

`helper_bug1806400-4.html` is anocher variant of `helper_bug1806400-2.html`

Differential Revision: https://phabricator.services.mozilla.com/D202384
2024-03-25 06:08:31 +00:00
Hiroyuki Ikezoe
3e02553afc Bug 1806400 - Move the CancelTask call in HandleTouchEndEvent() into MaybeChangeActiveState(). r=botond
This fixes a regression in D199027. The regression is that element activation
happened even on double-tapping.

The regression scenario happens on environments where double-tap-zoom is allowed
and where the target APZC is pannable. When the APZC received the first
touch-end event the APZC doesn't send a single tap event immediately. In the
meantime the ActiveElementManager tries to generate a `SetActiveTask` after both
of touch-start event and start touch notification received, but sometimes the
first touch-end event arrives to the ActiveElementManager before the touch-start
event (this case is handled in D199282), thus the CancelTask in
HandleTouchEndEvent() got called first, then a `SetActiveTask` was generated.

Differential Revision: https://phabricator.services.mozilla.com/D204577
2024-03-25 06:08:31 +00:00
Hiroyuki Ikezoe
d096452d7e Bug 1806400 - A mochitest for :active state change with touchstart event listener. r=dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D199029
2024-03-25 06:08:30 +00:00
Hiroyuki Ikezoe
4bfa7e8768 Bug 1806400 - Reset mCanBePanSet to false after both of APZStateChange::eStartTouch and eTouchStart event have been handled. r=dlrobertson
There's a race condition where APZStateChange notifications and touch-start
event happen in the following order;

1) APZStateChange::eStartTouch
2) APZStateChange::eEndTouch
3) touch-start event

Thus in 2) `mCanBePanSet ` was reset before using the flag at 3).

Differential Revision: https://phabricator.services.mozilla.com/D199282
2024-03-25 06:08:30 +00:00
Hiroyuki Ikezoe
bbe343fff1 Bug 1806400 - Ensure to invoke DelayedClearElementActivation::MarkSingleTapProcessed even if DelayedClearElementActivation hasn't yet been created. r=dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D199028
2024-03-25 06:08:29 +00:00
Hiroyuki Ikezoe
3dfcacfb4f Bug 1806400 - Activate both on touchend event or on touchend notification only if the touch event is pannable. r=dlrobertson
If it's not pannable, the activation should have been done in
ActiveElementManager::TriggerElementActivation().

Differential Revision: https://phabricator.services.mozilla.com/D199027
2024-03-25 06:08:29 +00:00
Hiroyuki Ikezoe
8edc113973 Bug 1806400 - Reset mEndTouchIsClick after both of APZStateChange::eEndTouch and eTouchEnd event have been handled. r=dlrobertson
`APZStateChange::eEndTouch` notification arrives after `eTouchEnd` event in some
cases, thus in such cases setting `mEndTouchIsClick` only on
`APZStateChange::eEndTouch` notification causes a situation that the previous
`mEndTouchIsClick` is used on the next `eTouchEnd` event.

Also `APZStateChange::eStartTouch` notification and `eTouchStart` event arrive
after either `APZStateChange::eEndTouch` notification arrives after `eTouchEnd`
in some cases.

Differential Revision: https://phabricator.services.mozilla.com/D199025
2024-03-25 06:08:29 +00:00
Hiroyuki Ikezoe
c7e83fe6a7 Bug 1806400 - Change active state either on APZStateChange::eEndTouch or eTouchEnd. r=dlrobertson
Similar to the situation between `APZStateChange::eStartTouch` and `eTouchStart` event,
`APZStateChange::eEndTouch` can happen after `eTouchEnd` event.

Differential Revision: https://phabricator.services.mozilla.com/D199026
2024-03-25 06:08:28 +00:00
Hiroyuki Ikezoe
a017b9eaeb Bug 1806400 - Ignore mousedown event by touch to activate element in EventStateManager. r=dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D199024
2024-03-25 06:08:28 +00:00
Hiroyuki Ikezoe
3a39a984ec Bug 1806400 - Wait for :active state change explicitely in helper_touch_synthesized_mouseevents.html. r=dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D199197
2024-03-25 06:08:27 +00:00
Jari Jalkanen
dbf203850e Bug 1878146 - Handle delay between context invalidation and IDB request state. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D203270
2024-03-25 06:04:05 +00:00
James Teh
47a0a01e1f Bug 1886371 part 8: Tweak the test harness so that it uses native UIA when it is enabled. r=nlapre
See the code comments for explanation.

Differential Revision: https://phabricator.services.mozilla.com/D205186
2024-03-25 03:28:06 +00:00
James Teh
d805d7227b Bug 1886371 part 7: Implement UIA ControlType property. r=nlapre
Aside from being a fundamental part of semantics, this is needed for our tests.
These mappings are based on the Core AAM and HTML AAM specs, plus some personal judgement where Gecko roles weren't covered by these specs.
UIA control types are rather limited and they apparently expect us to expose a lot of things using LocalizedControlType, but that isn't implemented for now.
I expect these will need to be revised in future, but this is a starting point.

Differential Revision: https://phabricator.services.mozilla.com/D205185
2024-03-25 03:28:06 +00:00
James Teh
55684ad8e9 Bug 1886371 part 6: Add UIA control types to RoleMap. r=nlapre
The actual ControlType property implementation is the subject of a subsequent patch.

Differential Revision: https://phabricator.services.mozilla.com/D205184
2024-03-25 03:28:05 +00:00
James Teh
a93f20a1ad Bug 1886371 part 5: Implement the UIA AutomationId property. r=nlapre
We need this for our tests so they can find elements they're testing.

Differential Revision: https://phabricator.services.mozilla.com/D205183
2024-03-25 03:28:05 +00:00
James Teh
12770de85d Bug 1886371 part 4: Implement IRawElementProviderFragmentRoot. r=nlapre
This identifies the root of our implementation and allows for focus querying and hit testing.
We also implement IRawElementProviderSimple::get_HostRawElementProvider to connect to UIA's HWND provider.

Differential Revision: https://phabricator.services.mozilla.com/D205182
2024-03-25 03:28:05 +00:00
James Teh
a518e894f6 Bug 1886371 part 3: Implement IRawElementProviderFragment. r=nlapre
This is how UIA traverses the tree.

Differential Revision: https://phabricator.services.mozilla.com/D205181
2024-03-25 03:28:04 +00:00
James Teh
72ff2b7583 Bug 1886371 part 2: Refactor uiaRawElmProvider::QueryInterface. r=nlapre
Our IUnknownImpl macros avoid boilerplate, but they weren't designed to handle the quirky inheritance of our MSAA/UIA implementation.
Among other things, using these macros required us to override AddRef and Release in uiaRawElmProvider, which was a bit confusing.
Rather than perpetuating this weirdness as things get more complex, just implement what we need by hand.

Differential Revision: https://phabricator.services.mozilla.com/D205180
2024-03-25 03:28:04 +00:00
James Teh
0ea4812cf2 Bug 1886371 part 1: Hook up our native UIA tree. r=nlapre,win-reviewers,rkraesig
1. Respond to WM_GETOBJECT with our IRawElementProviderSimple implementation for the root Accessible of the HWND.
2. Don't allow QueryInterface to UIA interfaces if the UIA pref is disabled. This stops WM_GETOBJECT from returning our UIA implementation in this case.
3. Specify the appropriate provider options.

Differential Revision: https://phabricator.services.mozilla.com/D205179
2024-03-25 03:28:03 +00:00
Mozilla Releng Treescript
6589218a3d no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-03-25 00:17:47 +00:00
Neil Deakin
6246b32b12 Bug 1883988, remove unused nsIAutoCompleteSearchDescriptor interface, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D203825
2024-03-24 23:00:05 +00:00