Commit Graph

867012 Commits

Author SHA1 Message Date
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
Cosmin Sabou
3e29689131 Bug 1867925 - Mark some storage-access-api tests as intermittent after wpt-sync. a=test-only 2023-12-13 04:00:29 +02:00
Mike Hommey
b7d63569fc Bug 1868680 - Stop prewarming the ARM AVD. r=geckoview-reviewers,owlish
prewarming the AVDs was done for CI, where AVDs are used only once in
each task using them, and the cost of first use is high. Prewarming
reduces that overhead.

However, the ARM AVD is not used on CI (anymore?), so we don't need
them prewarmed. This unblocks the situation wrt the failure to run
the emulator on CI, while not addressing the underlying issues, so that
CoT keys can be rotated without waiting for the full situation to be
resolved.

Differential Revision: https://phabricator.services.mozilla.com/D195820
2023-12-12 22:15:37 +00:00
Mike Hommey
260042779e Bug 1869626 - Make the python tasks index change when the requirements files they use change. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D196228
2023-12-12 22:15:06 +00:00
Randell Jesup
ee96ddadb2 Bug 1869609 - GMP thread-safety annotations r=bwc,media-playback-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D130591
2023-12-12 22:12:42 +00:00
Randell Jesup
9c6c36531f Bug 1869192: Add threadsafety annotations to NrUdpSocketIpc::SetAddress r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D195990
2023-12-12 22:09:57 +00:00
Randell Jesup
0fd1e3bad3 Bug 1869604: Remove incorrect asserts in OnDataFinished r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D196221
2023-12-12 22:09:21 +00:00
Randell Jesup
4f71d79d17 Bug 1869606 - Improve StartupCache thread-safety annotations r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D196223
2023-12-12 22:08:46 +00:00
ahochheiden
082c434e2e Bug 1842692 - Check if the paths for extensions in the hg config are referencing the current .mozbuild directory r=firefox-build-system-reviewers,sheehan,glandium
Setting `MOZBUILD_STATE_PATH` and/or moving the `state_dir` can cause
problems with installed hg extensions due to stale references in the
mercurial.ini file. Doing this check should allow the user the fix
the problem without having to deciper the confusing errors that
appear as a result.

An environment variable (MACH_IGNORE_HGRC_STATE_DIR_MISMATCH) was
added to ignore this check if for some reason a user intentionally wants
to use extensions installed elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D183210
2023-12-12 22:02:47 +00:00
Pier Angelo Vendrame
e59a463263 Bug 1860020 - Remove the assertion on the value of toolkit.telemetry.enabled. r=KrisWright,chutten
Bug 1444275 introduced an assertion on the parent process to check that
the value of toolkit.telemetry.enabled is the expected one.
However, this expected value could be different from the one set and
locked e.g. in some forks. Therefore, the assertion prevented debug
builds from working in these cases.

Differential Revision: https://phabricator.services.mozilla.com/D195080
2023-12-12 21:55:44 +00:00
Anna Yeddi
7109114c8c Bug 1868707 - Make Clear-icon control in the search field in Firefox View keyboard actionable. r=fxview-reviewers,kcochrane
Ensuring the `Enter` and `Space` keys are working to activate the Clear button in Firefox View and adding a few tests to prevent regressions.

Differential Revision: https://phabricator.services.mozilla.com/D196070
2023-12-12 21:55:03 +00:00
Mark Banner
ae0b39589d Bug 1869613 - Remove unused function EngineStore.reloadIcons. r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D196226
2023-12-12 21:54:42 +00:00
Tim Huang
237c339cac Bug 1864907 - Part 2: Change and add tests. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D193907
2023-12-12 21:53:24 +00:00
Tim Huang
9943bc61c7 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-12 21:53:23 +00:00
dylan
c3b197775e Bug 1000540 - added mChannelId attribute to nsFileChannel. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196137
2023-12-12 21:51:38 +00:00
Kelly Cochrane
92f69f8295 Bug 1857634 - Pause updates and clear interval time in fxview-tab-list when containing cards are collapsed r=sfoster,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D194421
2023-12-12 21:50:56 +00:00
Rob Wu
d0da529325 Bug 1869555 - Register extension marionette test in correct moz.build r=rpl,webdriver-reviewers,whimboo
And for clarity, rename "manifest" to "manifest-serviceworker".
And convert .ini to .toml because there is an ongoing effort to do so.

This patch fixes the referenced bug because the test now runs behind the
correct MOZ_WEBEXT_WEBIDL_ENABLED config flag.

Differential Revision: https://phabricator.services.mozilla.com/D196188
2023-12-12 21:34:41 +00:00
Mark Banner
cee17a7223 Bug 1867620 - Avoid updating the in-content search bar placeholders / text from multiple locations when in handoff mode. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D195167
2023-12-12 21:15:25 +00:00
Mike Hommey
fa98d8f6d9 Bug 1868980 - Avoid base include flags spreading to the cc crate. r=firefox-build-system-reviewers,ahochheiden
The cc crate was upgraded in bug 1866934, and one of the changes it
contains is to notify cargo to trigger rebuilds when environment
variables change[1].

As we invoke cargo from different directories, and as we pass the
computed compiler flags through CFLAGS_* variables in rust.mk, and
as those computed compiler flags contain -I flags for includes in
the current directory, each cargo invocation ends up with different
values of the CFLAGS_* variable, which, while it doesn't have a
consequence on the build itself, does now trigger a rebuild of crates
using cc, causing longer build times when building gtest.

Those -I flags, however, are not necessary for Rust, so we eliminate
them, working around the problem. The solution is fragile, but is the
simplest we can do short of doing much more intrusive changes.

1. 962af5387b

Differential Revision: https://phabricator.services.mozilla.com/D196138
2023-12-12 20:40:08 +00:00
Dana Keeler
7900dfd208 Bug 1869374 - webauthn: let passkey support on macOS ride the trains r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D196083
2023-12-12 20:39:53 +00:00
John Schanck
0cbf259e6c Bug 1853747 - add a link to Windows settings for passkey management. r=keeler,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,dao,bolsson,flod
Differential Revision: https://phabricator.services.mozilla.com/D195613
2023-12-12 20:34:39 +00:00
Mark Banner
a0aafd6361 Bug 1869571 - In search-config-v2, move the environment out of the engine "base" and into the "variants". r=mcheang
It is confusing to have the environment in the base section, as well as in the variants.
This is especially complicated because the variants can expand on what we have in the base section.

Differential Revision: https://phabricator.services.mozilla.com/D196185
2023-12-12 20:08:21 +00:00
Perry McManis
9750ce6377 Bug 1869413 - New event for clicking the opt out button r=TravisLong,shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D196111
2023-12-12 20:01:09 +00:00
Daniel Holbert
bf29a3b68b Bug 1660223: Let printer enumeration run to completion, to avoid a GTK bug. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D195949
2023-12-12 19:55:51 +00:00
Lee Salzman
f422e6a29b Bug 1829026 - Increase fuzz. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D196222
2023-12-12 19:48:40 +00:00
Cosmin Sabou
aa2c9160f7 Backed out 2 changesets (bug 1869092) for causing osx shippable bc failures on browser_sentence_case_strings.js. CLOSED TREE
Backed out changeset 73cc7a634df0 (bug 1869092)
Backed out changeset d3a2a2b120e4 (bug 1869092)
2023-12-13 02:35:02 +02:00
Cosmin Sabou
0d957379ac Bug 1767781 - Disable browser_target_command_service_workers_navigation.js on linux and windows for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D196234
2023-12-12 23:01:04 +00:00
Eemeli Aro
9d3e47a757 Bug 1866297 - Remove unused browser.properties references from mobile/android/. r=geckoview-reviewers,owlish CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D195843
2023-12-08 07:07:43 +00:00
Noemi Erli
bf3ce8752b Backed out changeset 83540e45dfb8 (bug 1860630) for causing mach related bustage 2023-12-12 23:00:01 +02:00
Noemi Erli
217168827c Backed out changeset 847d3af58756 (bug 1869512) per dev's request 2023-12-12 22:51:30 +02:00
Noemi Erli
92a10c2108 Backed out changeset c5f52ea7e7d0 (bug 1857634) for causing failures in test_fxview_tab_list.html 2023-12-12 22:39:33 +02:00
Mike Hommey
2aae8fea6a Bug 1860630 - Upgrade zstandard to 0.22. r=glandium CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D194184
2023-12-12 20:11:48 +00:00
Mike Conley
66db388f02 Bug 1866772 - Be more resilient against malformed URLs when importing from Safari. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D196100
2023-12-12 19:13:26 +00:00
Jamie Nicol
7d49943e3e Bug 1869527 - Disable SurfaceControl rendering path. r=geckoview-reviewers,owlish
We are seeing severe rendering glitches using the SurfaceControl
rendering path on Samsung S22 devices. This path was added to allow us
to gracefully recover from GPU process crashes on modern Android
versions (See bug 1762424). However, since bug 1824083 we have an
alternative solution to that problem.

Depends on D196168

Differential Revision: https://phabricator.services.mozilla.com/D196169
2023-12-12 19:10:44 +00:00