Commit Graph

872444 Commits

Author SHA1 Message Date
Julian Descottes
02c93ece63 Bug 1879006 - [wdspec] Extend timeout for network/continue_response/invalid.py and network/continue_request/invalid.py r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D200901
2024-02-07 13:53:56 +00:00
Jan de Mooij
a2fe5730af Bug 1876425 part 1 - Stop using trial inlined ICScripts during bailout if needed. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D200467
2024-02-07 13:52:00 +00:00
Jan de Mooij
d8dc753320 Bug 1878466 - Guard against nuked wrappers in ErrorObject::stack. r=jonco
The `stack` slot of an `ErrorObject` can be a cross-compartment wrapper
and it can get nuked. Callers usually don't expect these proxies so check
for this in `ErrorObject::stack`.

Differential Revision: https://phabricator.services.mozilla.com/D200910
2024-02-07 13:50:34 +00:00
Paul Adenot
8109c6815a Bug 1875201 - Add method for conditionally including media/libvpx/libvpx - moz.build file updates. r=ng,webrtc-reviewers
This patch is the result of running:

> ./mach python python/mozbuild/mozbuild/gn_processor.py \
>  dom/media/webrtc/third_party_build/gn-configs/webrtc.json

Differential Revision: https://phabricator.services.mozilla.com/D200118
2024-02-07 13:48:40 +00:00
Michael Froman
d3ce38a478 Bug 1875201 - Add method for conditionally including "media/libvpx/libvpx". r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D200117
2024-02-07 13:48:40 +00:00
Julian Descottes
5a4cb38af6 Bug 1878651 - [devtools] Update localization note for inactive CSS tooltips r=devtools-reviewers,fluent-reviewers,nchevobbe,flod
Differential Revision: https://phabricator.services.mozilla.com/D200927
2024-02-07 13:43:36 +00:00
pstanciu
54c9b4896f Backed out changeset 5c3a58685415 (bug 1828259) for causing test failures on the GV bump on firefox-android. a=backout 2024-02-07 15:41:35 +02:00
pstanciu
249cbc1c92 Backed out changeset 5c3a58685415 (bug 1828259) for causing test failures on the GV bump on firefox-android. a=backout CLOSED TREE 2024-02-07 15:41:35 +02:00
André Bargull
bfc0fc5b5e Bug 1878659: Allow GrowableSharedArrayBuffer for {get,set}SharedObject. r=spidermonkey-reviewers,sfink
This allows to share growable buffers across threads.

Differential Revision: https://phabricator.services.mozilla.com/D200639
2024-02-07 13:02:49 +00:00
André Bargull
a71fad5c33 Bug 1878658 - Part 3: Fix variable name typo in TypedArrayJoin. r=spidermonkey-reviewers,sfink
Depends on D200637

Differential Revision: https://phabricator.services.mozilla.com/D200638
2024-02-07 13:02:49 +00:00
André Bargull
e78bd29315 Bug 1878658 - Part 2: Throw RangeError for out-of-bounds DataViews from correct global. r=spidermonkey-reviewers,sfink
The RangeError needs to be thrown before entering the other realm through `JSAutoRealm`.

Depends on D200636

Differential Revision: https://phabricator.services.mozilla.com/D200637
2024-02-07 13:02:48 +00:00
André Bargull
5f584448e9 Bug 1878658 - Part 1: Handle resized TypedArray after conversion for non-existent properties. r=spidermonkey-reviewers,sfink
Side-effects when converting the input value can resize the TypedArray, so
that a previously non-existent property is now in-bounds.

Differential Revision: https://phabricator.services.mozilla.com/D200636
2024-02-07 13:02:48 +00:00
John Bieling
df44528633 Bug 1875460 - Fallback to standalone application chooser window, if window.gBrowser.getTabDialogBox() is not available. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D199089
2024-02-07 13:01:10 +00:00
James Teow
7e865e213c Bug 1878062 - Check for a possible content process event before manually registering an engagement event - r=scunnane
Differential Revision: https://phabricator.services.mozilla.com/D200405
2024-02-07 12:58:25 +00:00
Edgar Chen
c185ccc69a Bug 1878976 - Remove plugin-related code in EventStateManager; r=emilio
`nsIFrame::GetCursor()` can never return `Nothing()` after bug 1687239, which
removes `nsPluginFrame`. Therefore `mLastFrameConsumedSetCursor` in
`EventStateManager` can never be true.

Differential Revision: https://phabricator.services.mozilla.com/D200890
2024-02-07 12:35:27 +00:00
Oriol Brufau
76733658aa Bug 1867565 - Fix mod() and rem() never returning -0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D199943
2024-02-07 12:09:05 +00:00
Emilio Cobos Álvarez
503f4712ce Bug 1875100 - Fix a windows crashtest timeout.
MANUAL PUSH: Trivial orange fix CLOSED TREE
2024-02-07 13:31:10 +01:00
Emilio Cobos Álvarez
e2e393c747 Bug 1876541 - Remove an assert that doesn't hold for svg roots.
MANUAL PUSH: Trivial patch CLOSED TREE
2024-02-07 13:19:10 +01:00
Jonathan Sudiaman
eef24d2828 Bug 1855817 - Add the ability to sort tabs by recency in the (view all) Open tabs section of Firefox View r=fluent-reviewers,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D200464
2024-02-07 11:16:40 +00:00
Emilio Cobos Álvarez
c207a3fc65 Bug 1875100 - Don't call window.close() from a crashtest to fix some orange.
MANUAL PUSH: Trivial orange fix-ups CLOSED TREE
2024-02-07 12:49:34 +01:00
Emilio Cobos Álvarez
13533153ca Bug 1875100 - Trivial lint fix. 2024-02-07 12:49:34 +01:00
Jon Coppeard
a9f16b17b0 Bug 1878853 - Limit GC parallel tasks by runtime rather than by process r=jandem
Currently there is a per-process task limit to the number of GC parallel tasks
that can run at once (different and usually smaller that the total number of
helper thread tasks that can run). If multiple runtimes are collecting they can
starve each other of tasks even when there are helper threads spare.

This moves the limit from per-process to per-runtime and allows us to run as
many GC parallel tasks in total as there are helper threads.

A new state is added for GC parallel tasks to indicate they are queued on the
runtime before they have been dispatched to the helper thread system.

Differential Revision: https://phabricator.services.mozilla.com/D200824
2024-02-07 11:15:42 +00:00
Emilio Cobos Álvarez
2971047c81 Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish,kaya
For that, opt in tabbrowser and the shopping sidebar to manual
activeness management.

Differential Revision: https://phabricator.services.mozilla.com/D198942
2024-02-07 10:58:15 +00:00
Jon Coppeard
d7779c8fcf Bug 1877406 - Set native object shape to a safe value if allocating dynamic slots fails r=jandem
The assertion is failing beacuse the number of slots allocated (zero) doesn't
match the number we expect given the object's shape. Since allocation is
failing and the object will be unreachable, the patch sets the shape to that of
a plain object with zero slots. This should be a safe default.

We have to also ensure that this shape always exists so we can allocate it when
the global is initialized.

This means we can also remove the workaround fix for bug 1828396.

The patch also fixes DumpHeap so it doesn't try and flcose a null file handle,
which crashes on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D200675
2024-02-07 10:03:29 +00:00
Emilio Cobos Álvarez
b59516559d Bug 1876541 - Zoom should affect intrinsic replaced element size. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D199990
2024-02-07 09:51:52 +00:00
Ziran Sun
528a7145c8 Bug 1839319 - Add fetchpriority tests for Fetch() API. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200774
2024-02-07 09:43:39 +00:00
Emilio Cobos Álvarez
6ec14897b2 Bug 1876541 - Factor out the common-to-all-elements intrinsic size steps to nsIFrame::FinishIntrinsicSize. r=TYLin
No behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D199989
2024-02-07 09:39:33 +00:00
Marco Bonardo
05cb18acc4 Bug 1876743 - Enable cross-container Tab Search in Nightly. r=mseibert
Fixes code to properly run tests with the feature enabled.
Fixes code not considering payload.userContextId is set to -1 for private
windows.
Fixes a bug in the _openTabs Map where multiple open tabs to the same url are
not properly counted.

Differential Revision: https://phabricator.services.mozilla.com/D200036
2024-02-07 09:29:32 +00:00
Kagami Sascha Rosylight
4e854ab932 Bug 1874958 - Do not call CreateAndShow with the default permission r=asuth
Somehow we ended up throwing if it's explicitly denied. Now it throws error with the default permission too.

Differential Revision: https://phabricator.services.mozilla.com/D200826
2024-02-07 08:58:40 +00:00
Mark Banner
9f0e2f03d2 Bug 1878556 - Remove unused asrouter/content-src/template-utils.js. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200591
2024-02-07 08:55:33 +00:00
Mark Banner
8bf1bcba31 Bug 1878556 - Move addUtmParams.js to aboutwelcome and rename to .mjs. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200590
2024-02-07 08:55:32 +00:00
Mark Banner
6dd502ad60 Bug 1878556 - Rename content-src files for aboutwelcome to use .mjs where appropriate. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200589
2024-02-07 08:55:32 +00:00
Mark Banner
2e034d9ab3 Bug 1878554 - Remove deprecated ESLint rules from aboutwelcome/asrouter/newtab configs. r=aminomancer,omc-reviewers
These rules are node specific and not really useful in mozilla central:
handle-callback-err, no-buffer-constructor, no-path-concat, no-process-exit
These rules are not useful as require is only used in configurations:
no-new-require, no-mixed-requires
Prettier already enforces max-statements-per-line
lines-between-class-members isn't handled separately, but if we want to do that we should decide on it globally.

Differential Revision: https://phabricator.services.mozilla.com/D200588
2024-02-07 08:55:31 +00:00
Mark Banner
8a2ebfedfb Bug 1878554 - Remove ESLint rule require-await for aboutwelcome/asrouter/newtab code. r=aminomancer,omc-reviewers
We decided not to use the rule in bug 1381030.

Differential Revision: https://phabricator.services.mozilla.com/D200587
2024-02-07 08:55:31 +00:00
Mark Banner
b2a2e987ac Bug 1878554 - Remove ESLint rule for-direction reference from aboutwelcome/asrouter/newtab configs. r=aminomancer,omc-reviewers
It is already enabled as a recommended rule.

Differential Revision: https://phabricator.services.mozilla.com/D200586
2024-02-07 08:55:31 +00:00
Mark Banner
8dda888925 Bug 1878554 - Simplify react/jsx-no-bind definition for aboutwelcome/asrouter/newtab code. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200585
2024-02-07 08:55:30 +00:00
Mark Banner
76c44e99fe Bug 1878554 - Remove now unnecessary jsx features setting for ESLint for aboutwelcome/asrouter/newtab. r=aminomancer,omc-reviewers
The parser option was added globally for jsx files in bug 1878009.

Differential Revision: https://phabricator.services.mozilla.com/D200584
2024-02-07 08:55:30 +00:00
Mark Banner
96479cc553 Bug 1878553 - Document a list of ESLint rules that we've decided not to enable. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D200583
2024-02-07 08:55:29 +00:00
Mark Banner
3b17329c5f Bug 1878553 - Define *.config.(m)js files as node based for ESLint. r=mossop,devtools-reviewers,omc-reviewers,nchevobbe,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D200582
2024-02-07 08:55:29 +00:00
Mark Banner
93c334f486 Bug 1878553 - For ESLint, expect all jsx files to be ES modules. r=mossop,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D200581
2024-02-07 08:55:29 +00:00
Daisuke Akatsuka
8beac03ab0 Bug 1877920: Add a Nimbus variable to show Yelp suggestions as a top pick r=adw
Differential Revision: https://phabricator.services.mozilla.com/D200896
2024-02-07 08:52:06 +00:00
serge-sans-paille
03a73a23d9 Bug 1876855 - Disable --symbol-ordering-file on OSX r=glandium
The lld linker on OSX doesn't have the same option support as stock lld.

Differential Revision: https://phabricator.services.mozilla.com/D199811
2024-02-07 06:46:36 +00:00
Mozilla Releng Treescript
378625eb8c no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> b2e589708602cea4fd868c05b7ff3410f9e6b840
it -> a33033d79604d0bb44944e6ed9bdab57f202cb0b
sv-SE -> 23286c868037587488c5b58d0cc871612956fc1c
2024-02-07 07:02:36 +00:00
Cristian Tuns
a988a4d5f9 Backed out 7 changesets (bug 1869371) for causing xpcshell failures in /test_telemetry.js CLOSED TREE
Backed out changeset 1a5a7790c117 (bug 1869371)
Backed out changeset b1e169c2ffb2 (bug 1869371)
Backed out changeset ab8c2d6a01ba (bug 1869371)
Backed out changeset 4f2ac5fe4356 (bug 1869371)
Backed out changeset b2211ce1cbcc (bug 1869371)
Backed out changeset 51827faf0339 (bug 1869371)
Backed out changeset 673ddb6bc4b3 (bug 1869371)
2024-02-07 01:56:15 -05:00
Cristian Tuns
77f2a39423 Backed out 11 changesets (bug 1878554, bug 1878553, bug 1878556) for causing node failures in aboutwelcome CLOSED TREE
Backed out changeset 425f70fa7e5a (bug 1878556)
Backed out changeset 2ab3a28f5c04 (bug 1878556)
Backed out changeset fb2e02682c8c (bug 1878556)
Backed out changeset 2fc5e630568e (bug 1878554)
Backed out changeset 78839d5841b4 (bug 1878554)
Backed out changeset e0ab31d2de1b (bug 1878554)
Backed out changeset 4eb59e4ebafa (bug 1878554)
Backed out changeset ab1e077d3f84 (bug 1878554)
Backed out changeset ef999f293e3e (bug 1878553)
Backed out changeset cf49920cb1ad (bug 1878553)
Backed out changeset 95f0fce63726 (bug 1878553)
2024-02-07 01:26:39 -05:00
Cristian Tuns
2d66624de2 Backed out changeset ecd780688279 (bug 1875100) for causing mochitest failures in test_suspend_media_by_inactive_docshell.html 2024-02-07 01:25:21 -05:00
Masayuki Nakano
657bc8f9d5 Bug 1878191 - Fix 2 iterating loops of selection ranges r=smaug,Jamie
These loops may run script.

In  `HyperTextAccessible`, it calls
`RemoveRangeAndUnselectFramesAndNotifyListeners`. So, chrome script which is not
directly related to this module may run in each call.  I think that using
`RemoveAllRanges` is better for here.  Before bug 1735446, this loop tried
to keep first range, but accidentally, I changed this loop delete all ranges.
However, `SetSelectionBoundsAt` will add a range if it's required and there is
no bug reports.  Therefore, I think keep the new behavior is better.

In `nsRange::DeleteFromDocument`, the loop may run mutation events too.
Therefore, it needs to store all ranges first.  Then, the preceding patch
changes the behavior here if a selection range is moved to different root.
Previously, it was deleted, but now, they are not touched.

Depends on D200606

Differential Revision: https://phabricator.services.mozilla.com/D200607
2024-02-07 04:34:38 +00:00
Masayuki Nakano
1c8496162d Bug 1878191 - Make nsRange delete itself from Selections if it becomes a range in different root r=smaug,jjaschke,dom-core
Users of `Selection` assume that `nsRange` instances are ranges in the
corresponding document.  However, `Selection` may keep storing ranges in
the different root only when the range is updated.  I think that no spec
defines this behavior, but Chromium makes `RangeUpdateScope` delete ranges
which are in different root after the range is updated [1].  Let's follow
this behavior for compatibility and keeping the assumption of `Selection`
users.

Differential Revision: https://phabricator.services.mozilla.com/D200606
2024-02-07 04:34:37 +00:00
Barret Rennie
5c6e5f6d11 Bug 1869371 - Chain errors from nested calls in IOUtils r=nika
Differential Revision: https://phabricator.services.mozilla.com/D196655
2024-02-07 03:24:50 +00:00
Barret Rennie
d8931fe781 Bug 1869371 - Include nsresult error code when reporting IOUtils errors r=nika
Differential Revision: https://phabricator.services.mozilla.com/D196654
2024-02-07 03:24:49 +00:00