Commit Graph

910298 Commits

Author SHA1 Message Date
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
keithamus
604f17b84d Bug 1887467 - enable customstateset in nightlies r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D205520
2024-03-24 20:15:39 +00:00
Mathew Hodson
0e9ea50a99 Bug 1887537 - Add layout.css.zoom.enabled for clip-path WPT failures r=emilio,longsonr
Differential Revision: https://phabricator.services.mozilla.com/D205532
2024-03-24 20:07:53 +00:00
Mozilla Releng Treescript
d5b644a1ed no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 60d014645ea3099a4f5af8656554d50b7df86de4
fi -> d60e530d98c8b7ca842316ea332a13e0bb5f7230
lv -> cdda11922d7dd66ec143b81c4ef959c7371aa5f0
sk -> 84770a640af927fcbeb544a09071b04035f1e15e
tr -> e05793f641ad8a7bae759559a9bb94c66213d7b7
uk -> 75d2899b19cd32e83507b6e6cf78fe4eae509671
vi -> 99afa839735f427184bc447c79778c1a80fd1373
2024-03-24 19:06:06 +00:00
Mark Hammond
6e225de0a7 Bug 1887149 - fix various UniFFI type errors. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D205488
2024-03-24 18:56:36 +00:00
Jan Varga
6808c00f1d Bug 1799374 - Require IndexedDB/idb-explicit-commit.any.html to always pass; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D204214
2024-03-24 07:22:04 +00:00
Stanca Serban
a0eb3a81b6 Backed out changeset f0597fea2279 (bug 1887467) for causing wpt failures in idlharness.https.html. 2024-03-24 15:20:17 +02:00
Cosmin Sabou
5642ff0768 Merge mozilla-central to autoland. 2024-03-24 15:04:44 +02:00
Cosmin Sabou
d04b800e0d Backed out changeset 6c295712b30c (bug 1541603) for breaking crash minidump creation. a=backout 2024-03-24 15:01:31 +02:00
Cosmin Sabou
bb56758989 Backed out changeset 81b0c51c60e1 (bug 1882779) for causing wayland crashes. 2024-03-24 15:00:52 +02:00
Stanca Serban
991e850ce9 Backed out changeset ff0083c25e3f (bug 1799374) for causing wpt failures in idlharness.https.html. CLOSED TREE 2024-03-24 14:52:28 +02:00
keithamus
4ee5b275b8 Bug 1887467 - enable customstateset in nightlies r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D205520
2024-03-24 11:11:16 +00:00
keithamus
6ef51d3561 Bug 1887338 - guard CustomStateSet from inserting multiple states in internal set r=emilio
This can cause an issue where removing a state looks as though it didn't
invalidate, because the internal representation contains multiple copies
of the same state ident.

Differential Revision: https://phabricator.services.mozilla.com/D205518
2024-03-24 08:54:48 +00:00
Jan Varga
b73c04815d Bug 1799374 - Require IndexedDB/idb-explicit-commit.any.html to always pass; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D204214
2024-03-24 07:22:04 +00:00
Mozilla Releng Treescript
23b068a692 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
lv -> 05eed04077b6de3af142b82e71d34b0c38bdfc00
my -> 36789d479c814ecb612ee914e35d81f9af41e1a4
2024-03-24 07:02:34 +00:00
Jan Varga
c949d9fcb5 Bug 1799374 - Start using request ids for deciding if an explicitly committed transaction needs to be aborted; r=dom-storage-reviewers,asuth
Explicitly committed transactions are aborted in case of a failed request. This
is achieved by tracking order of requests. The order of requests is currently
tracked by storing request serial numbers. However, request serial numbers are
not always in sync between parent and child, so they are only suitable for
logging purposes. This patch switches from request serial numbers to request
ids which are only generated by the child side and thus always in sync between
parent and child.

Differential Revision: https://phabricator.services.mozilla.com/D204200
2024-03-24 00:52:04 +00:00
Peter Van der Beken
db405455d3 Bug 1882127 - Use plain JS functions for WebIDL interface objects. r=saschanaz,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D202824
2024-03-23 19:52:09 +00:00