Commit Graph

866995 Commits

Author SHA1 Message Date
James Hendry
7a56b2e8ea Bug 1866776 - [webdriver] Remove "UnknownPath" error (not in specification) from webdriver r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D196177
2023-12-13 10:34:56 +00:00
Jon Coppeard
89d74a3ea5 Bug 1868336 - Part 5: Fix pretenuring reporting r=sfink
The AllocSite::hasScript method was broken by the wasm GC changes. This should
return false when the script pointer is null too.

The only thing this actually affects is the output when JS_GC_REPORT_PRETENURE
is set, since we don't otherwise call it when the script pointer is null.

While we're here, add a header line to this output to help understand it.

Differential Revision: https://phabricator.services.mozilla.com/D195765
2023-12-13 10:11:29 +00:00
Jon Coppeard
07f2b93b34 Bug 1868336 - Part 4: Make StoreBuffer movable and swap the store buffer with an empty one when tracing r=sfink
When using semispace collection this will allow us to add store buffer entries
to a new empty storebuffer associated with to space while tracing the previous
store buffer associated with from space.

Differential Revision: https://phabricator.services.mozilla.com/D195541
2023-12-13 10:11:29 +00:00
Jon Coppeard
ce5fbb945a Bug 1868336 - Part 3: Move the store buffer lock to the GCRuntime r=sfink
For semispace colletion it's convenient to have two store buffers existing at
the same time (for from space and to space). Therefore we need to move the
store buffer lock to a central location so we don't duplicate this.

The patch replaces use of a nullable a StoreBuffer pointer to indicate whether
locking is required with a flag. StoreBuffer is no longer exposed.

Differential Revision: https://phabricator.services.mozilla.com/D195540
2023-12-13 10:11:28 +00:00
Jon Coppeard
7e22542e99 Bug 1868336 - Part 2: Improve assertions when calling IsInsideNursery r=sfink
GetCellChunkBase gets called from IsInsideNursery and is supposed to take a
valid GC cell pointer but does no validation on this. Even adding this simple
check that the runtime field of the chunk header is non-zero caught a few
times which this was called with a bogus pointer during development.

Differential Revision: https://phabricator.services.mozilla.com/D195539
2023-12-13 10:11:28 +00:00
Jon Coppeard
c37bf5d2ee Bug 1868336 - Part 1: Move DeduplicationStringHasher definition out of Tenuring.h r=sfink
This class is internal to tenuring and is only used from there, so there's no
reason to put these in the header file.

I suspect this doesn't need to be templated but I left it as it was.

Differential Revision: https://phabricator.services.mozilla.com/D195538
2023-12-13 10:11:27 +00:00
Stanca Serban
7639e8a620 Backed out changeset 5105ca2d1171 (bug 1868825) for causing bp-nu bustages in GLLibraryEGL.h. CLOSED TREE 2023-12-13 12:29:58 +02:00
Marco Bonardo
034a395cfb Bug 1863797 - Frequent failures in browser_schemeless.js due to UrlbarView.selectedElement removed from DOM. r=adw
#selectedElement may end up pointing to disconnected nodes. And so the public
.selectedElement getter.
This is how it was happening: a first call to onQueryResults adds and selects a
heuristic result. Then a second call to onQueryResults brings a new heuristic
result that requires new content (not compatible with the previous one), so the
old heuristic is emptied out, and new DOM is generated.
Because the code in onQueryResults relies on .selectedElement, at the second
invokation it thinks the selection is still valid, and doesn't select the new
heuristic. In reality .selectedElement at that time is pointing to a removed
DOM node.
The patch introduces a #rawSelectedElement and converts #selectedElement
into a getter.

Plus some minor logging improvements, and removing unused #mainContainer property.

Differential Revision: https://phabricator.services.mozilla.com/D195779
2023-12-13 10:05:26 +00:00
Teodor Tanasoaia
82ee00ebf1 Bug 1869520 - Update wgpu to revision 6dc9ccab8592645fda3204be1cfb5929fd7f924d. r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D196165
2023-12-13 09:48:09 +00:00
Narcis Beleuzu
4211076193 Backed out changeset 290917deea87 (bug 1866020) for wrench bustages. CLOSED TREE 2023-12-13 11:49:40 +02:00
Narcis Beleuzu
399de5a9a6 Backed out changeset 83ef845d60ab (bug 1869078) for build bustages 2023-12-13 11:45:40 +02:00
Jamie Nicol
4bc580f7c5 Bug 1868825 - Leak EGLDisplays on Samsung S22 devices. r=gfx-reviewers,nical,ahale
We are seeing crashes on the european Samsung S22 family of devices in
eglTerminate after updating to Android 14. To work around this we
deliberately leak the EGLDisplay on affected devices. In practice we
only ever use the default EGLDisplay on Android, and calling
eglInitialize multiple times is allowed, so this is fine.

Note this only occurs when running webgl in the content process, which
will occur naturally following enough GPU process crashes that we
disable the GPU process. When webgl is running in the GPU process
webrender keeps the EGLDisplay alive, meaning we never terminate it.

Differential Revision: https://phabricator.services.mozilla.com/D196146
2023-12-13 09:39:59 +00:00
Yannis Juglaret
07344f880e Bug 1868304 - Add temporary code in Nightly to diagnose SetReservedClientInfo assertion. r=pbone,dom-worker-reviewers,asuth
To help investigate the crash in bug 1761208, this patch adds code to
register the top frames of the call stack when reservedClientInfo is
set, such that it can be recovered from crash dumps.

We only add this code for Nightly Windows x64 builds because we get a
Nightly crash on this assertion for almost every Nightly build, always
coming from Windows x64. So this should be enough and there is no need
to impact other builds.

This code only needs to live for a few Nightly builds and can/should be
removed once we have caught the faulty call stack.

Differential Revision: https://phabricator.services.mozilla.com/D195525
2023-12-13 09:18:34 +00:00
Tim Huang
432aa01a12 Bug 1864907 - Part 2: Change and add tests. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D193907
2023-12-13 09:16:30 +00:00
Tim Huang
1d1d52fefa Bug 1864907 - Part 1: Change the behavior of the cooldown mechansim of cookie banner clicking. r=pbz
This patch changes the cooldown mechansim. The original behavior is stop
executing cookie banner clicking after loading the site in the browsing
session. We modify it to that the cooldown mechanism takes effect after
loading the site several times in the browsing session..

Differential Revision: https://phabricator.services.mozilla.com/D193906
2023-12-13 09:16:29 +00:00
Mike Hommey
b2e94d0ddd Bug 1869078 - Filter-out target_cpu from substs provided by old-configure. r=firefox-build-system-reviewers,sergesanspaille
AC_SUBSTs with a lower-case key are not really supposed to be used,
although that has never been enforced, and at least one of them is
used in practice.

At least, that's the theory behind using files to store their value in
config.statusd (added in bug 1402012). Because obviously, on
case-insensitive file systems, a variable that is upper case will use
the same file as the lower case one. If their value is the same, then
fine, but if they aren't, thing go bad.

Until bug 1867457, that held true for TARGET_CPU and target_cpu: their
value was the same. But bug 1867457 changed that. But target_cpu is only
there because it's set by autoconf itself, and we don't care about it.

The result is that the value of target_cpu takes precedence because it's
set last, and overwrites the value of TARGET_CPU in config.statusd,
subsequently making the value read in GenerateAtomicOperations.py wrong.

Differential Revision: https://phabricator.services.mozilla.com/D195959
2023-12-13 09:09:40 +00:00
Jamie Nicol
96a8082a23 Bug 1866020 - Override buggy colorspace conversion on Pixel devices. r=gw,padenot,geckoview-reviewers,owlish
Pixel 6, 7, and 8 devices running Android 14 are affected by a bug
where video frames with SMPTE 432 color primaries are rendered
incorrectly when sampled from an external texture in GLES. To work
around this, we force these frames to be converted to RGB using BT709
colorspace instead. While this won't look exactly right, it is much
better than the current situation.

When we detect that a frame is decoded with that color space on an
affected device, we set a "ForceBT709" flag which gets passed through
to webrender as a new ImageBufferKind. Rendering this ImageBufferKind
is handled via a new shader feature TEXTURE_EXTERNAL_BT709, which
works much like the existing TEXTURE_EXTERNAL feature, but
additionally uses the EXT_YUV_TARGET extension to override the
colorspace transformation.

This approach could be extended in the future to handle additional
colorspace transformations, but for now only handles the one required
to workaround this particular driver bug.

Differential Revision: https://phabricator.services.mozilla.com/D195800
2023-12-13 09:06:29 +00:00
Mirko Brodesser
39afb29de4 Bug 1869488: log address of nsIChannel subobject of nsHttpChannel in the constructor/destructor too. r=necko-reviewers,jesup
This allows linking `nsHttpHandler::NotifyObservers` calls to their
corresponding `nsHttpChannel`s in logan
(https://github.com/mozilla-necko/logan).

There'll be a separate patch for logan once this one accepted.

Differential Revision: https://phabricator.services.mozilla.com/D196147
2023-12-13 08:29:00 +00:00
Petr Sumbera
a3c35e6faf Bug 1868782 - Avoid unnecessary error from glxtest on Solaris and BSDs r=stransky
Bug 1868782 - Avoid unnecessary error from glxtest on Solaris and BSDs

Differential Revision: https://phabricator.services.mozilla.com/D196196
2023-12-13 08:05:56 +00:00
Andreas Pehrson
52bae1f0a4 Bug 1869526 - Update cubeb-coreaudio-rs to 5fcea74f and cubeb-sys to 0.10.7. r=cubeb-reviewers,supply-chain-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D196225
2023-12-13 08:05:36 +00:00
Masayuki Nakano
05bce4692d Bug 1764895 - part 1: Make nsIEditor.insertNode and nsIEditor.deleteNode take an optional parameter to preserve selection r=m_kato
`nsIEditor.setShouldTxnSetSelection` can preserve selection across multiple
editing.  Therefore, we cannot manage the state only in the stack.

It's used only in comm-central, and used only with `insertNode` and
`deleteNode`.  Therefore, adding new param to them to preserve selection
must be enough.

While I'm writing this patch, I realized that `input` event is not fired
by these methods because nobody set a placeholder transaction.  That may
lead Thunderbird only IME crash bugs due to `IMEContentObserver` is not
notified editor properly.  Therefore, this may fix some Thunderbird only
crashes.

Note that `deleteNode` should not update selection.  However, I'm not 100%
sure that.  Therefore, I add new param to `deleteNode` too.  However,
some reviewers think it's unnecessary, I'll remove it before landing.

Finally, `beforeinput` and `input` caused by the method calls start updating
selection.  However, I think that it should be better behavior.  If Thunderbird
needs to guarantee that selection is set to whether the user expected when
it calls these methods with preserving selection.

Differential Revision: https://phabricator.services.mozilla.com/D196004
2023-12-13 07:50:42 +00:00
Masayuki Nakano
90b77204fb Bug 1868283 - part 3: Make PresShell::HandleEvent ignore eMouseExitFromWidget and eMouseEnterIntoWidget events which are synthesized in the parent process accidentally r=smaug
Currently, the method ignores synthesized `eMouseMove` events coming from the
parent process if
* the last mouse location was updated by a synthesized mouse event for tests
* the event comes from parent process
* the event is not marked as synthesized for tests

However, `eMouseExitFromWidget` is also handled as a synthesized `eMouseMove` [1].
Therefore, the method needs to ignore this event too in the same conditions.

Additionally, `eMouseEnterIntoWidget` may cause updating the `:hover` state
under the event position which may be different from the last cursor position
in the content process [2].  Therefore, the method needs to ignore this too.

On the other hand, if the event is caused by a test API synthesizing mouse
events, e.g., when `test.events.async.enabled` is set to `true`, the running
test must expect the events.  Therefore, these events need to be marked as
synthesized for tests correctly.  Therefore, this patch updates the
initializers of the events.

1. https://searchfox.org/mozilla-central/rev/78a2c17cc80680a5a82446e4ce7c45a73b935383/dom/events/EventStateManager.cpp#773,794-796,800-801
2. https://searchfox.org/mozilla-central/rev/78a2c17cc80680a5a82446e4ce7c45a73b935383/dom/events/EventStateManager.cpp#4063,4068

Differential Revision: https://phabricator.services.mozilla.com/D195638
2023-12-13 07:13:04 +00:00
Masayuki Nakano
4b28083b44 Bug 1868283 - part 2: Make browser_tooltip.js synthesize mouse events via the parent process r=daisuke,devtools-reviewers,nchevobbe
The popup manager is in the parent process and the parent process may store
the last mouse cursor position which is set by a preceding test, but the
test synthesizes mouse events only in the content process.  Therefore, the
parent may have unexpected state.

For solving these issues, this patch makes the test synthesize the events via
the parent process with enabling the async event dispatcher.

Then, new issue appeared. When I run this test in the verify mode, it
high-frequently failed with no mouse event logs.  Therefore, this patch makes
the content process waits first `mousemove` outside the target before starting
the test.

Differential Revision: https://phabricator.services.mozilla.com/D195637
2023-12-13 07:13:03 +00:00
Masayuki Nakano
555e587107 Bug 1868283 - part 1: Make browser_tooltip.js do not synthesize mouseover directly r=daisuke,devtools-reviewers,nchevobbe
`mouseover` should be fired by `EventStateManager` when it gets `mousemove`
events at that time, `PresShell` and `EventStateManager` update their member
to dispatch `mouseout` etc later correctly. So, the test should synthesize
`mousemove` instead.

Additionally, for making it easier to debug, this patch adds event logger
too. Number of logging events are just a few so that it's not problem from
the log size point of view.

Finally, this adds a clean up code to hide the tooltip which was shown by
this test.  That may help to make it stable when continuously run the test.

Differential Revision: https://phabricator.services.mozilla.com/D195636
2023-12-13 07:13:03 +00:00
Mozilla Releng Treescript
7653de9616 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> e9997ef317db92db8520d1f30e0e5fe560e39947
an -> 776fd3a51415b53096873e5280d3fc70a4c57454
ar -> 15ce3a7a257004007c4a8258955033467c9d8649
az -> 7a8c67f75d8c25888f505d263d41c08f1092d321
be -> 5013917650731c9b6f00e5ca0966a2afe372a863
bg -> 5efd680c44425c0d72d2d1d1431d2963a0d36950
bn -> 75d5bb746597b8ae7faf1fb4f1b69f3baa5dd26e
bo -> 4b15979635810ef244348e380bc47bf53934db38
br -> 80f38663b5eaf596581c88ab0905f1a4d2ba4bd3
bs -> 51bda78a88671d7c75547555b01ac432cc504f81
ca -> e305c2869d48c4908fe15e4aa9e80a15c9fb667f
ca-valencia -> 8048ccdbb32e5eadba85d4cf621a2f1d6f748ac1
cak -> 04d164328fe67ed495fb6c8398a86a825c48a8fd
cs -> 201461be516ba8b1fe4ea4fd97e8009feabe971f
cy -> ac08a497baf7b00cd5d27a8f5fc3a80fe2f1dffc
da -> f0f7c9eba22147435d7cad68d61ede53a79d16b4
de -> 21add17e3741c3037ff314f9a615326528ed43c7
dsb -> b2e6c6f30930ccdf7f8f45b86c1f782757e98626
el -> 7407ce8beac7d54b34c831ca7f6a8f36d189bfbc
en-CA -> f39e1c5717da2b5208baf41fc4fade1f8b527566
en-GB -> 7f94be3b6717521355e19c3b90f76614efa44b5e
eo -> 6f16a84235f32044cb2f674c6ff04a5beff43ea8
es-AR -> 038cab4735ad53384cfb7aee53b1ea9eff12fd42
es-CL -> 0486bb559a33700e8b630f1ccd469ff4311ec08b
es-ES -> f8f031751ab99130996e619dec0ec6f40b2bf2dd
es-MX -> 5a2b5221481bec0ecbd421adda87d402c2f4c1eb
et -> 486d5f610c2e09122969b6d6b81fdf8a0a8e18fb
eu -> 067eb940d3ef949035e1b06cda6a7bae4a94998f
fa -> 7a59a703ab412429f230fd1cc13d5651c0ba9919
ff -> 8537e97f8b324d28629531aa63fdf73ad1bab2c6
fi -> bf7f836cde2680affd0ba6e807aabd1852c72605
fr -> e441e7c0a5fbced86586f56382edfc1398520950
fur -> ea36c8f688d5771eab76231bf1b33834464b4bd5
fy-NL -> bdf59c16d392fcc9c32438faba14bdce3ea64f97
gd -> c4bf4efbd028bce4ac8c6c3cf36c6c09badf00f8
gl -> 5687cdf2c455dcbe12b213467c04ba5de2bcb360
gn -> 8c5cfc7af14350c30ad24e1c2f248ef695d370d6
gu-IN -> 6ee9418f079f3ba64fc06af10a64a632a56cee9c
he -> 673b0d1a6cb0aaf8111b178f635561e5869146d7
hi-IN -> e4868d5a2bcad10d72f917c8eb83cdad6e3e6d02
hr -> 22d4b3449d679b4a6f2e8d649692f1e373fd0c04
hsb -> b4d78d2146a135a460da20176b89c0174f13084e
hu -> 44b1cf00f78e6549b9073551cda94ff266a3b0fc
hy-AM -> c471a58f0308d80aa6ae387c49f1927abdd977f3
hye -> e2c7961cf5c19da48de158204a4a4b1eaab78580
ia -> cea6b4820c7f1390650df62b96550a06b666c0de
id -> b109fe3ba694a4821c326bc253e33d5181aed240
is -> cf197e34c7b814fafcdac49073c4f1c541c187c7
it -> f0fd9e0e9e039bc12a0ac43284daa8e295bba5ea
ja -> 1963b9269b68f26635ce030d36f07432e63ef76c
ja-JP-mac -> 04c497bbdad9f279c9274a6f092c53933216cb4d
ka -> 0dff947b108a1d544642faedfce26709db34cd57
kab -> ea7a9ea0960b29774f2c83f95e9972863a221358
kk -> 6f2c7c022b2b824189434759e13ab4b6e48de5bb
ko -> cac46198a7675f91bdaf328ff412bf8804b92d77
lij -> be237bfbd277483c4e510ca6009ad21ae55232e0
lo -> 5746547bc73a59b0265c47d6e8726f50a41031e6
lt -> 41c626be1907f2e64a59b1dcfbafa5c0e10b6ea0
ltg -> e44eb1ecc86e6cc1830334ac8128cbcd6ddb63b6
lv -> 09e1fe6ddaa3e03bd90f45b9e86eb7c97336df9f
mr -> c7145c0fce757067ca81954b6a3710f03488c38d
ms -> 7093e327f7f6020fe39b356ae546a060da90b49e
nb-NO -> 4bb380b8ea264c0f78edb7c9af02be03d72cce81
ne-NP -> 44fc0bd838e369ffaefbac577054c0b94ea43a52
nl -> cf92acab5d709ba0bd0f3df70c5d2a4a2f154500
nn-NO -> 2cafe9974da343517fc39603f5813a695b0c64c6
oc -> b6cef413e22d35238747bcf1efff2acb043daece
pa-IN -> 3548e09d7bf96db9f7237db733aea8a3ba7bb008
pl -> b5d9a0760ce25be4b18267efb4b16fd6691430d5
pt-BR -> c7e0cb4ead67bad004ea29b2d50de1a726230ed8
pt-PT -> e806d0594a6a500629ae3c14bc66fa92833fc0b8
rm -> 45ccb42dbd53957636e8bf383d54b897977e91fb
ro -> a885c64ec351c5a32b1cd09d159ea230daa2c2c8
ru -> 799553ed5caaf8992f76711265ad98ad10f9ce36
sat -> 4617a72dea5b54f5c9e5ecba5e4df2087b734b6d
sco -> da3926531b2abca4af6cc36f735121db2d7b4e33
sk -> 024de6c78e80fba6d01ea6bdf1698657918b7522
skr -> 5c74c1ec14cc64100419342b4cdc8f21d394b5ae
sl -> 394c2dc6b40a2bc73a8eaa0f6528fe2dbf35a4d9
sq -> 25c0cf3448c020974555b38ba7ddab2bc05b5ba5
sr -> 902fff499f8821d363804cd77fa3860d7e3787d8
sv-SE -> 53715aab424bd2e5a3d1f243a4bc58af1cc52889
szl -> 09cd8bbff3db5b38ae580d6ea7540e15f672bd53
tg -> c5c6f9b77b4b15f15139fc156606ae56d3423497
th -> 87f55268bca6b2e9cd48ee59d6302dde062cb01f
tl -> b9457848f6f4a761634196b52bd856e816bb4542
tr -> 71e6cb442bd9c42e3bf1a1044bfcee804740c272
trs -> 1df03a579596ec5b30b5f9a9c7d97b83937be8f7
uk -> dd52f926b7dc642baed7d94609f882fc706d3da2
vi -> 1645c189d91213f6e3bd06b467e7bdf6bf1e86f5
zh-CN -> 172e1345c67b902f34d77198a1226ae9b050e89b
zh-TW -> 84e3dcb73e08dc23ee49cf4a0ca7a8e017e21fcc
2023-12-13 07:02:47 +00:00
Makoto Kato
291b796b27 Bug 1864030 - HTMLSelectElement.showPicker should show the picker on Android even if not combo box. r=dom-core,geckoview-reviewers,ohall,edgar
If not combo box, GeckoView shows the select picker. So `showPicker`
method should show it on mobile.

(This fix uses ANDROID define for KaiOS fork too)

Differential Revision: https://phabricator.services.mozilla.com/D194721
2023-12-13 06:53:37 +00:00
Nick Alexander
60d886c0e5 Bug 1850149 - Include previous_os_version in default-browser-agent telemetry pings. r=nrishel
This adds both the current `os_version` and the `previous_os_version`
to both legacy and Glean pings.  This appears to duplice the built-in
Glean `os_version` metric, but they are *not* the same format as the
legacy telemetry: Glean records the UBR as a separate metric.

Differential Revision: https://phabricator.services.mozilla.com/D196120
2023-12-13 06:02:18 +00:00
Nick Alexander
65ee268904 Bug 1869417 - Trim included CPP in toolkit/mozapps/defaultagent/proxy. r=mhughes,nshukla
By splitting `ScheduledTask.cpp`, the proxy can include less CPP code.
In turn, this makes it easier to depend on Gecko in `toolkit/mozapps/defaultagent`.

Differential Revision: https://phabricator.services.mozilla.com/D196119
2023-12-13 06:02:18 +00:00
Makoto Kato
16a289d5b7 Bug 1854032 - Ship ICU4X segmenter. r=TYLin,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D196037
2023-12-13 05:51:55 +00:00
Randell Jesup
7e2ca0cae5 Bug 1869719 - dom/media ChannelMediaResource thread-safety annotations r=media-playback-reviewers,karlt
Differential Revision: https://phabricator.services.mozilla.com/D131875
2023-12-13 05:28:50 +00:00
John Schanck
6ced1f5c01 Bug 1868442 - show webauthn autofill options for username fields. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D195578
2023-12-13 04:34:04 +00:00
Andrew Osmond
655f49c541 Bug 1869658 - Fix usage of CanvasBuffer on failure paths. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D196232
2023-12-13 03:45:16 +00:00
Andrew Osmond
59758bd38e Bug 1869661 - Add more null checks for CanvasChild::mRecorder. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D196233
2023-12-13 03:45:15 +00:00
Mike Hommey
cbdfa5d280 Bug 1867182 - Add bootstrap tests for newer versions of Debian, Ubuntu, Fedora and Rocky Linux. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194947
2023-12-13 03:41:19 +00:00
Noemi Erli
29cc7d35e9 Backed out changeset f47f48be162a (bug 1869087) for causing crashes in StorageControllerTest CLOSED TREE 2023-12-13 05:46:07 +02:00
Robin Steuber
5e115d3464 Bug 1858729 - Add Edge identifier AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723 r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D190982
2023-12-13 03:11:33 +00:00
Dão Gottwald
575df5df58 Bug 1491614 - Red text for download notification warnings should use --text-color-error. r=desktop-theme-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D196202
2023-12-13 03:02:26 +00:00
Greg Stoll
ebf37de3ae Bug 1811076: Part 7 - Send Acknowledge response to Content Analysis agent r=rkraesig
The agent/browser protocol is a request-response-acknowledge
format.  We were only sending Acknowledge for the download case.

Differential Revision: https://phabricator.services.mozilla.com/D189579
2023-12-13 03:01:04 +00:00
Jonathan Watt
9a656455d8 Bug 1868059. Add a documenting comment to class PrintPreview. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D195382
2023-12-13 02:58:11 +00:00
Mike Hommey
97e0e8c3c4 Bug 1860630 - Upgrade zstandard to 0.22. r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194184
2023-12-13 02:39:24 +00:00
Anna Yeddi
d2e8f336d6 Bug 1869389 - Provide urlbar-search-mode-indicator-close button with an accessible name. r=Jamie,fluent-reviewers,adw,bolsson
Ensure the focusable and actionable control is also labeled, so an assistive technology user would know the purpose of this control. It should not only be announced as `Close` but also provide a context by referencing the search mode title text as well, so the "History" search would be announced as `Close History mode` or just `Close History` or similar.

Also, since there were a series of test cases failing the a11y-checks because of this unlabeled control, we remove the `fail-if` notations from their test manifests to allow for the accessibility tests to run and expect to pass, as they should be.

Differential Revision: https://phabricator.services.mozilla.com/D196095
2023-12-13 02:31:15 +00:00
Chun-Min Chang
890a4ca953 Bug 1869381 - Disable FFmpegVideoEncoder in webrtc r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D196136
2023-12-13 01:11:50 +00:00
Chun-Min Chang
7da1d044d1 Bug 1869381 - Enable ffmpeg encoder on Nightly r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D196135
2023-12-13 01:11:49 +00:00
hsingh
fc0b896702 Bug 1869087: Properly handle QuotaInitRunnable failure in Context::OnQuotaInit.r=dom-storage-reviewers,janv
QuotaInitRunnable is invoked by Context to set up cache directory. This is not always successful as it could be
interrupted by shutdown or other filesystem issues. By the time in ran into error, it's possible that some objects
needed by Context are not yet initialized in QuotaInitRunnable::Run. Since QuotaInitRunnable internal state machine
will always transition to 'COMPLETING' and Context::OnQuotaInit would always be called; it's possible that some objects
like mDirectoryLock, mCipherKeyManager and mDirectoryMetadata didn't get initialized yet. As an effect, we should
only assert these objects being non-null in Context::OnQuotaInit if the QuotaInitRunnable was successful.

Differential Revision: https://phabricator.services.mozilla.com/D196113
2023-12-13 00:57:19 +00:00
Masayuki Nakano
5e7e437fb9 Bug 1868641 - Make AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete not cross flex-item and grid-item boundary r=m_kato
The text input of the multi-select combobox of Slack has the following
structure:
```
<div contenteditable style="display:flex">
  <span class="c-multi_select_input__space">&nbsp;</span>
  <span class="c-multi_select_input__filter_query">text which you typed</span>
  <span class="c-multi_select_input__space" contenteditable="false">&nbsp;<span>
</div>
```

When you do "Select All", they adjust selection to start from start of the
text container `<span>` (i.e., `.c-multi_select_input__filter_query`).
Then, typing new character deletes selection first.  At this time, in the
legacy mode, `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete` does not
extend the deleting range because `<span>` is an inline element.  However,
in the new mode, it extends the range because the `<span>` is a block since
it's a flex-item, and selection starts from current block boundary.  Then,
deleting range starts before the text container.  Finally, Gecko removes the
text container and the following non-editable `<span>`. Therefore, typing text
will be inserted as a child of the flex container which is the editing host.
Finally, Slack restores the previous structure and collapse selection to end
of the text.

Currently, Chrome does same thing for normal blocks without flex/gird container.
However, doing i in `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete`
causes a lot of regressions. Therefore, this patch tries to avoid only the bug
in Slack. (I think that we need to redesign the deletion handler to fix it.)

Differential Revision: https://phabricator.services.mozilla.com/D195955
2023-12-13 00:51:01 +00:00
Ray Kraesig
4ee725f937 Bug 1867630 - Unify "FileDialog" loggers r=win-reviewers,mhowell
Clean up the various uses of LazyLogModule with FileDialog.

Differential Revision: https://phabricator.services.mozilla.com/D195937
2023-12-13 00:36:25 +00:00
Sean Feng
290a5f22de Bug 1867152 - Fix the assertion in nsPresContext::UserInputEventsAllowed r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D196106
2023-12-12 22:49:38 +00:00
Greg Tatum
61ea0a804b Bug 1837535 - Fix an issue where a list of translated nodes is mutated r=translations-reviewers,nordzilla
Depends on D196179

Differential Revision: https://phabricator.services.mozilla.com/D196192
2023-12-12 22:20:36 +00:00
Greg Tatum
ceeb2f2a77 Bug 1837424 - Change the TranslationsDocument to use computed inline values r=translations-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D196179
2023-12-12 22:20:35 +00:00
Cosmin Sabou
1cfd3258ff Backed out 2 changesets (bug 1864907) for causing xpcshell failures on test_cookie_banner_handling. CLOSED TREE
Backed out changeset b227d57243e1 (bug 1864907)
Backed out changeset 81eb5d79d597 (bug 1864907)
2023-12-13 04:32:20 +02:00