Commit graph

814911 commits

Author SHA1 Message Date
Jari Jalkanen
ce4af389a2 Bug 1792223 - Disallow moves leading to cyclic file system paths. r=dom-storage-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D158042
2022-10-07 10:03:42 +00:00
Makoto Kato
a66ffe1baa Bug 1714496 - Part 2. geckoview-junit test for image keyboard support. r=geckoview-reviewers,owlish
Although this test doesn't run on our CI since CI uses Android 7.0, I would
like to add this for the future.

Image keyboard support requires content:// uri for image, so we need content
provider for testing this feature.

Differential Revision: https://phabricator.services.mozilla.com/D157714
2022-10-07 09:03:31 +00:00
Makoto Kato
8821cd8445 Bug 1714496 - Part 1. Implement Image keyboard support. r=geckoview-reviewers,calu
GBoard has image keyboard support, and spec issue is resolved [*1]. So this
adds image keyboard support via GBoard and Android 7.1+.

*1 https://github.com/w3c/input-events/issues/117

Differential Revision: https://phabricator.services.mozilla.com/D157713
2022-10-07 09:03:31 +00:00
Emilio Cobos Álvarez
59be7199a4 Bug 1793355 - Fix dialog sizing when dialog is bigger than specified min-width. r=aminomancer
Before bug 1792730, we didn't look at style.minWidth, even though this
dialog used it (but contents can be larger).

Using scrollWidth is the right thing to do here. Also fix some other
hard-coded widths I found while at it.

Differential Revision: https://phabricator.services.mozilla.com/D158462
2022-10-07 08:40:23 +00:00
Eemeli Aro
b30456f337 Bug 1792464 - Convert findbar.properties to Fluent. r=NeilDeakin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D158768
2022-10-07 08:23:50 +00:00
Julien Cristau
565554ea3b Bug 1792076 - add new hg.mozilla.org certificate fingerprint to run-task. r=dhouse DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D158746
2022-10-07 08:12:06 +00:00
Mike Hommey
32fd7c9b16 Bug 1794074 - Revert clang trunk change wrt thread safety analysis. a=fix
Differential Revision: https://phabricator.services.mozilla.com/D158824
2022-10-07 08:01:10 +00:00
Henrik Skupin
f8c1f5aecf Bug 1793810 - [wdspec] Fix modifier key for actions tests when run on Android. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D158688
2022-10-07 07:33:08 +00:00
Mark Banner
1081b9f99a Bug 1793414 - Remove MozSearchbar reliance on BrowserSearch where possible. r=jteow
Also moves modules to be loaded lazily to avoid unnecessarily loading them on startup.

Differential Revision: https://phabricator.services.mozilla.com/D158500
2022-10-07 07:12:18 +00:00
Mark Banner
bbee5e7f3a Bug 1793414 - Move paste and search handling for the search bar into the search bar code itself. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D158499
2022-10-07 07:12:18 +00:00
Mozilla Releng Treescript
6cc3579bb6 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
en-GB -> dfc4c03e1df1d9d48936f9c8bb095902ef726516
es-AR -> 46c0a342c1b2c69d2eecb1a5bb0259ec761b5c11
es-CL -> 0d0f1a8a6745166a1bca6d86344a9faed8913e99
ia -> 1264ab58aa702a108a78f2841c2c0961304f7e63
it -> 5c183a42064772ff603480fc1d6b30b481db061d
pt-PT -> 8d76911e3fd30972fc13187eae0225d06a6b318b
sv-SE -> 363e30f03b33e46f39f59ed9a5b164d013c4a90a
tr -> 9f962f805a0aae6b3481cc001f99993423b365bb
2022-10-07 06:58:32 +00:00
Matthew Gaudet
966bd10747 Bug 1773237 - Mark ignored promise as handled to avoid spurious unhandled rejection error r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D158589
2022-10-07 02:58:13 +00:00
Nika Layzell
f5d6df8915 Bug 1792474 - Part 4: Avoid the IO thread hop when sending IPC messages, r=ipc-reviewers,jld
This involves some changes to IPC::Channel::ChannelImpl on all platforms in
order to ensure that they are threadsafe.

1. The ChannelImpl is now internally refcounted, making the correctness
   of parts of its lifecycle more clear.
2. Members of the channel are all annotated with `MOZ_GUARDED_BY` for either
   the `io_thread_` or `mutex_` depending on if they are required in order to
   send a message. This gives us some static checks that we won't deadlock.
3. The `closed_` field is removed, as thanks to the mutex, `pipe_` can now be
   checked directly from any thread instead. This reduces the risk of
   forgetting to update `closed_`.
4. `NodeChannel` now calls `Send()` without dispatching, which also required
   updating some other members to also be accessible from any thread, including
   changes to allow asynchronously reporting a channel error when `Send()`
   fails.
5. The Windows handling for `Connect()` was made more thread-safe to queue
   calls to `Send()` performed before `Connect()` returns. The posix
   `Connect()` handler already did this.

Differential Revision: https://phabricator.services.mozilla.com/D158162
2022-10-07 01:51:29 +00:00
Nika Layzell
f51f359297 Bug 1792474 - Part 3: Stop using IPC::Channel to create the pipe for ForkServer, r=ipc-reviewers,jld
Previously the channel used by the ForkServer would be created using
IPC::Channel, and then stolen after the launch was successful. Unfortunately,
this required invoking IPC::Channel methods (such as `Close()`) from the wrong
thread, and so would be racy and hit assertions with the new checks being
added. This patch instead skips creating the IPC::Channel for the fork server,
and allows it to create and configure its own pipe as needed.

This may be used in the future to change out the IPC strategy for the fork
server to something more appropriate, which supports features like async
replies as forked processes die.

Differential Revision: https://phabricator.services.mozilla.com/D158161
2022-10-07 01:51:29 +00:00
Nika Layzell
4b0d8ed93e Bug 1792474 - Part 2: Remove a couple of unused IPC::Channel members, r=ipc-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D158160
2022-10-07 01:51:28 +00:00
Nika Layzell
cf04808ef0 Bug 1792474 - Part 1: Add an IsOnCurrentThread() helper to EventTargetCapability, r=xpcom-reviewers,kmag
The type will be used to explicitly track which members of
IPC::Channel::ChannelImpl can only be accessed on the I/O thread vs. using the
mutex.

Differential Revision: https://phabricator.services.mozilla.com/D158159
2022-10-07 01:51:28 +00:00
Ting-Yu Lin
ce9040c985 Bug 1794035 Part 4 - Use range-based for loops to iterate nsFrameList. r=emilio
After this patch, we still need nsFrameList::Enumerator to iterate
nsFrameList::Slice. We might enhance nsFrameList::Iterator to support Slice, but
I'll leave this for another day.

Differential Revision: https://phabricator.services.mozilla.com/D158809
2022-10-07 01:41:41 +00:00
Ting-Yu Lin
d38c1fa035 Bug 1794035 Part 3 - Move nsBlockFrame::HasPushedFloatsFromPrevContinuation() implementation to cpp. r=emilio
It is large enough to live in cpp.

Differential Revision: https://phabricator.services.mozilla.com/D158808
2022-10-07 01:41:41 +00:00
Ting-Yu Lin
baa8c00217 Bug 1794035 Part 2 - Rename RemoveFramesAfter, improve its implementation, and remove ExtractTail. r=emilio
RemoveFramesAfter and ExtractTail have similar purpose, so we really should keep
one of them to avoid confusion.

They have the following minor differences:
1. RemoveFramesAfter() keeps aFrame in the list, while ExtractTail() returns it.
2. If aFrame is empty, RemoveFramesAfter() returns the entire list, while
   ExtractTail returns an empty list.

It's more convenient for the existing callers to use the RemoveFramesAfter(), so
ExtractTail is unneeded.

After this patch, both RemoveFramesAfter() and RemoveFramesBefore() return the
entire list if aFrame is nullptr.

Rename RemoveFramesAfter() to TakeFramesAfter() for symmetry with
TakeFramesBefore().

This change shouldn't change the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D158807
2022-10-07 01:41:40 +00:00
Ting-Yu Lin
171f18c10d Bug 1794035 Part 1 - Rename nsFrameList::ExtractHead to TakeFramesBefore. r=emilio
I feel it's hard to understand the purpose of ExtractHead(), especially where
aFrame is going after the call. Therefore, I rename it to TakeFramesBefore(),
and have it complement the existing RemoveFramesAfter(), which will be rename
later. No behavioral change intended.

Also, slightly reword the method's documentation to reflect the its new
name. (Remove the "sibling" wording from the comment since it's an
implementation details that frames are actually a doubly linked list.)

Differential Revision: https://phabricator.services.mozilla.com/D158806
2022-10-07 01:41:40 +00:00
James Teh
4b1188a81d Bug 1789378: Support IAccessibleAction for cached RemoteAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D158617
2022-10-07 01:04:51 +00:00
James Teh
6a4548dc57 Bug 1764750: Clear the stale state on cached DocAccessibleParents when the document finishes loading. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D158729
2022-10-07 00:22:00 +00:00
Emilio Cobos Álvarez
abe0dac72c Bug 1794056 - Use static pref version of scroll distance prefs. r=hiro,TYLin
These were already static prefs for APZ, let's use them everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D158817
2022-10-06 23:56:58 +00:00
James Teh
c579cdfd2e Bug 1793408: Consistently treat OuterDocAccessibles as a single character in TextLeafPoint. r=morgan
1. When constructing a TextLeafPoint and searching for a leaf, do not descend inside an OuterDoc (iframe/browser).
  Otherwise, we end up inside another document.
  Other TextLeafPoint code avoids crossing document boundaries, so the constructor must do this too.
2. When searching for a leaf, include an OuterDoc, but don't walk inside it.
  Previously, we skipped OuterDocs altogether.
  This meant that if you started on an OuterDoc, walking backward and then forward by character would never return you to your origin.
  Also, clients walking the document text shouldn't just skip iframes altogether, so exposing them as a single character makes more sense.

This fixes infinite loops in OffsetAtPoint when querying a container with an iframe at the end.

Differential Revision: https://phabricator.services.mozilla.com/D158740
2022-10-06 23:47:50 +00:00
Emilio Cobos Álvarez
633b70954e Bug 1791029 - Deal with lstat potentially lying in nsLocalFileUnix. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D158796
2022-10-06 23:29:18 +00:00
Emilio Cobos Álvarez
ae203c5f2c Bug 1793727 - Make -moz-collapsed items not contribute to scrollable overflow of their flex container. r=TYLin
This fixes some tests with flex emulation enabled in the browser
toolbox (which I plan to enable soon enough in bug 1790616).

Differential Revision: https://phabricator.services.mozilla.com/D158629
2022-10-06 22:48:04 +00:00
Dennis Jackson
7da0562237 Bug 1792135 - land NSS NSS_3_84_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,nkulatova
Differential Revision: https://phabricator.services.mozilla.com/D158772
2022-10-06 22:47:02 +00:00
Marian-Vasile Laza
35b5ab0f34 Backed out changeset 01cef4e1c0f0 (bug 1774462) for causing xpcshell failures on test_keys.js. CLOSED TREE 2022-10-07 01:28:37 +03:00
Jens Stutte
43a1b9242d Bug 1774462 - Limit maximum key length to INT32_MAX. r=dom-storage-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D158644
2022-10-06 21:40:42 +00:00
Andrew McCreight
5d57d2f4cc Bug 1794032 - Remove the only two files in xpcom/libxpt/. r=xpcom-reviewers,nika DONTBUILD
Hopefully any interested parties have already updated their links.

Differential Revision: https://phabricator.services.mozilla.com/D158798
2022-10-06 21:27:22 +00:00
Mike Hommey
2a25bc5294 Bug 1793879 - Adjust the C++ declaration of sdp_add_media_section to match the one in Rust. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D158721
2022-10-06 20:46:09 +00:00
Niklas Baumgardner
e2358ec832 Bug 1793888 - Removed screenshots pref from known problematic prefs. r=sfoster,mconley
Differential Revision: https://phabricator.services.mozilla.com/D158783
2022-10-06 20:42:12 +00:00
Marian-Vasile Laza
6eae94959e Backed out changeset b83d1dcde338 (bug 1736340) for causing mochitest failures on test_useractivation_scrollbar.html. CLOSED TREE 2022-10-06 23:38:35 +03:00
Dan Mosedale
5bb0a78bfa Bug 1791163 - check RemoteSettingsExpLoader handles featureIds w/additional props, r=barret
Differential Revision: https://phabricator.services.mozilla.com/D157680
2022-10-06 20:06:51 +00:00
Sam Foster
7f0325a945 Bug 1791115 - Ensure we switch back to fx-view tab after removing the tab opened in test_time_updates_correctly. r=sclements
Differential Revision: https://phabricator.services.mozilla.com/D158706
2022-10-06 19:37:46 +00:00
Edgar Chen
eb7756bcd1 Bug 1736340 - Do not treat the click on scrollbar as a user interaction with the web content; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D157862
2022-10-06 19:35:53 +00:00
Nick Alexander
08e753f782 Bug 1793890 - Sync Nimbus recipe collection in background task mode. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D158736
2022-10-06 19:12:38 +00:00
Shane Hughes
96a6bbaca5 Bug 1792100 - Increase the top margin on the language mismatch screen. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D158525
2022-10-06 19:11:43 +00:00
Mozilla Releng Treescript
5869871b96 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
de -> 9fb951ac92bd20eff6bc65cca84626b4e282a116
eu -> a7131690dff5ab51fce34c84f1a8bcce6cbebd2d
fr -> 96574b19e1cfbba83f08554650ce5d7a00df7300
fy-NL -> 4c142eecce96272bf9bf90249bd2944eaffe2546
hu -> 4db074a7844da85269a3e33decc05afb413b84a7
ia -> 7cfb973ddf5b7b67de72b277a8c9f3e2a134e983
is -> 414ea653edfcac07140747930afe16ecfd7e1ff8
nl -> 7283cd4ea45bb80e1391ca2844c178cafa81e57c
pa-IN -> 0b457e06a5d96746d8ce4426b6bf39aeaada4ee8
sk -> a0366c71aaac9ead69093dc1cb84a360f13bd0f3
sl -> 1575a1a0609cb8af1a2ff79630e7b7c8f7716b12
uk -> a46b9e61fb14faccc8e23ce1ba88738fa017a280
vi -> 597163da002e1132c46ea7be4621347d16833dd3
zh-CN -> 3a1409d1f4d316ccbd441e99e368d7ea30f81d07
zh-TW -> 3f40c7b1e94641f6612420a5298a3ebb38742897
2022-10-06 19:03:50 +00:00
Sean Burke
be3eb81a13 Bug 1790071 - work around ICU-22132. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D157023
2022-10-06 18:50:51 +00:00
André Bargull
13df11d17e Bug 1791520: Add some keep alive annotations. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D157735
2022-10-06 18:22:12 +00:00
ahochheiden
1c53d1d491 Bug 1793828 - Always print the reason why the site is not 'up-to-date' r=firefox-build-system-reviewers,nalexander
Previously most 'reasons' could only be seen if using a debugger, which
was not helpful when there was a problem in CI.

Depends on D158703

Differential Revision: https://phabricator.services.mozilla.com/D158704
2022-10-06 18:18:32 +00:00
Marian-Vasile Laza
7ba49a00c6 Backed out changeset c6cf679e8f08 (bug 1773237) for causing bc failures on Promise-inl.h. CLOSED TREE 2022-10-06 21:34:22 +03:00
Marian-Vasile Laza
af50e8d0f5 Backed out changeset 7d85a597c9ae (bug 1778120) as req by dmeehan for causing 1792797. 2022-10-06 21:31:04 +03:00
ahochheiden
6507ca73e7 Bug 1793828 - Also use normcase in addition to normpath for site_package_dirs r=firefox-build-system-reviewers,nalexander
This will resolve issues of drive letter uppercase/lowercase mismatch
causing the venv/site to be considered 'out-of'date'.

Differential Revision: https://phabricator.services.mozilla.com/D158703
2022-10-06 18:02:00 +00:00
Henrik Skupin
4474e0f0fd Bug 1793838 - [wdspec] Extend tests for pause action durations in /webdriver/tests/perform_actions/validity.py. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D158738
2022-10-06 17:32:10 +00:00
Kagami Sascha Rosylight
4a38091f18 Bug 1793238 - Update libjxl r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D158771
2022-10-06 17:31:29 +00:00
Matthew Gaudet
3b73600100 Bug 1773237 - Mark ignored promise as handled to avoid spurious unhandled rejection error r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D158589
2022-10-06 17:25:14 +00:00
Ben Hearsum
859e9a9a77 Bug 1791899: macOS icons, round 4 r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D158786
2022-10-06 17:16:52 +00:00
Dimi
6ce872d7b4 Bug 1792995 - P3. Enable using fathom to identify cc-name field. r=sgalich
This patch change the behavior of the following two cases:
1. Before this patch, if a form contains a cc-name field and a cc-exp
   field that are both identified by regex-based heuristic, we consider
   it a valid cc section in Nighty build.

   After this patch, the above case only consider a valud cc section when the cc-name field is
   identified by fathom. This applys to all builds.

2. Before this patch, a form contains only a cc-name field without
   autocomplete attribute is never considered a valid cc section.

   After this patch, a form contains only a cc-name field is considered
   a valid cc section when fathom is confident

Differential Revision: https://phabricator.services.mozilla.com/D158648
2022-10-06 17:07:18 +00:00