Commit graph

850256 commits

Author SHA1 Message Date
Julian Descottes
2dba0d6f81 Bug 1842198 - [remote] Update hgignore to ignore readme files in puppeteer packages r=Sasha
Depends on D184112

Differential Revision: https://phabricator.services.mozilla.com/D184209
2023-07-25 07:10:08 +00:00
Julian Descottes
bade727346 Bug 1842198 - [remote] Update hgignore and gitignore for puppeteer generated artifacts r=webdriver-reviewers,Sasha
Depends on D184110

Differential Revision: https://phabricator.services.mozilla.com/D184112
2023-07-25 07:10:08 +00:00
Julian Descottes
95a8997e94 Bug 1842198 - [remote] Remove generated puppeteer artifacts from source control r=webdriver-reviewers,Sasha
Depends on D184108

Differential Revision: https://phabricator.services.mozilla.com/D184110
2023-07-25 07:10:08 +00:00
Julian Descottes
525aa4d10f Bug 1844133 - [remote] WebSocketConnection logs should be truncated for huge objects r=webdriver-reviewers,Sasha
Puppeteer happens to send huge payloads as part of their test suite when using their $$eval API.
This is because they pass back and forth nodeLists for which all children are serialized by default.
This could be avoided by changing the serialization options (see https://github.com/puppeteer/puppeteer/issues/10582)

But without such a fix, we need to cap the size of the websocket logs, otherwise the logparser is unable to handle the
logs from the bidi puppeteer job.

Differential Revision: https://phabricator.services.mozilla.com/D184108
2023-07-25 07:10:08 +00:00
Mozilla Releng Treescript
0cad8e2125 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
eu -> b99a1b94e75b976ccc2ac2e6d4bd698752cfd469
hr -> 9d73b00db913a3a54a3a7a219f4e8cce9e488f7c
2023-07-25 07:01:47 +00:00
Yannis Juglaret
b1e5578002 Bug 1842088 - Explicitly test DLL blocklist assumptions in isolation with a cppunit test. r=mhowell
In mozilla::freestanding::patched_NtMapViewOfSection, the DLL blocklist
code relies on implicit assumptions about how LoadLibrary(Ex)W and
Thread32Next work internally.

Some of these assumptions turned out to be false on Windows 7. This led
to crash spikes with 115 release; first in bug 1837242, and then later
in bug 1842368. After dealing with the crash spikes, we realized that
some blocklist gtests are still failing on Windows 7, due to such wrong
assumptions. So, in bug 1842088, we are changing the assumptions.

This patch adds a dedicated cppunit test to test these assumptions in
isolation. It is easier to run than blocklist gtests, and should lead to
easier diagnostics in case the assumptions break in the future. This
test also checks the Thread32Next assumptions, which protect us against
the crash from bug 1733532.

Depends on D183530

Differential Revision: https://phabricator.services.mozilla.com/D183757
2023-07-25 06:44:19 +00:00
Yannis Juglaret
91d79a1b97 Bug 1842088 - Avoid blocking blocked modules when loaded as image resources on Windows 7. r=gstoll
Our blocklist code must allow loading blocked modules using
LoadLibraryExW with LOAD_LIBRARY_AS_IMAGE_RESOURCE, so that we can
collect information about them when we want to send untrusted module
pings. This means that we need a trustworthy way to distinguish between
these loads and regular DLL loads.

Currently, we do the distinction by looking at the AllocationProtect
field for the virtual memory mapped for the view. This solution was
introduced with bug 1702717, but unfortunately it doesn't work with
Windows 7. This - mixed with other reasons - has resulted in the crash
spike in bug 1842368.

We should thus move to a more trustworthy solution to distinguish
between these two kinds of DLL loads. The new solution is to instead
check whether the permission to map executable views was asked when the
section that we are mapping was created. Because this solution is past
proof, it also has more chances to be future proof.

Differential Revision: https://phabricator.services.mozilla.com/D183530
2023-07-25 06:44:19 +00:00
Sidharth Sachdev
5b4417d990 Bug 1810215 - Added a story file for the reusable CommandButton component. r=credential-management-reviewers,mtigley
Depends on D179258

Differential Revision: https://phabricator.services.mozilla.com/D179289
2023-07-25 05:26:33 +00:00
Mike Hommey
47ee59e2d4 Bug 1845175 - Undo bug 1811960. r=firefox-build-system-reviewers,ahochheiden
Now that we have upgraded to a version of rustc that uses LLVM 16, it
can read profile data from LLVM 16, so we don't need to artificially
make the profile data look like LLVM 15's anymore.

Differential Revision: https://phabricator.services.mozilla.com/D184413
2023-07-25 04:50:45 +00:00
Sidharth Sachdev
191fd2e1b8 Bug 1832680 - Replaced action buttons in about:logins with reusable CommandButton component. r=mtigley,desktop-theme-reviewers,credential-management-reviewers,dao,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D180719
2023-07-25 04:48:22 +00:00
Sidharth Sachdev
41b2a0c0a8 Bug 1810215 - Created a reusable CommandButton component. r=credential-management-reviewers,sgalich,tgiles,mtigley,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D179258
2023-07-25 04:48:22 +00:00
Karl Tomlinson
3c7b40d1d7 Bug 1842962 allow audio output with double click on speaker name r=pbz
deviceIndex is removed from devices in simulateAudioOutputRequest() because
this is not used and not on nsIMediaDevice.

Differential Revision: https://phabricator.services.mozilla.com/D184056
2023-07-25 04:44:33 +00:00
Makoto Kato
2d66af0716 Bug 1844846 - Don't define HAVE_UNISTD_H when host is Windows. r=firefox-build-system-reviewers,glandium
After landing bug 1843419, color.cc checks HAVE_UNISTD_H. So it should be undefined.

Differential Revision: https://phabricator.services.mozilla.com/D184348
2023-07-25 04:19:44 +00:00
Boris Chiou
c420598acf Bug 1786161 - Add rect() tests for clip-path. r=emilio
Also, move the interpolation of xywh() into
clip-path-interpolation-xywh-rect.html.

Differential Revision: https://phabricator.services.mozilla.com/D183529
2023-07-25 02:32:43 +00:00
Boris Chiou
a0d6bab413 Bug 1786161 - Support rect() function. r=devtools-reviewers,emilio
Note that rect() computes to the equivalent inset() function as well.
i.e. Given `rect(t r b l)`, the equivalent function is
`inset(t calc(100% - r) calc(100% - b) l)`.

The implementation is straightforward, and we don't have to change
anything in cpp because it is always `inset()` when building the gfx::Path.

The tests for clip-path will be added in the following patch.

Differential Revision: https://phabricator.services.mozilla.com/D183528
2023-07-25 02:32:43 +00:00
Noemi Erli
2161f57ee1 Backed out changeset 954433fb5cc5 (bug 1687440) for causing failures in browser_dbg-preview-frame.js CLOSED TREE 2023-07-25 05:25:43 +03:00
Stanca Serban
fd0573c717 Backed out changeset 9f805dc435b5 (bug 1839832) as requested by glandium for causing shippable build bustages. CLOSED TREE 2023-07-25 04:13:29 +03:00
Mike Hommey
bc2d454559 Bug 1844925 - Error out when sccache is enabled but it can't actually be used. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184436
2023-07-25 01:11:04 +00:00
Mike Hommey
6458b9a9e1 Bug 1844925 - Disable sccache for searchfox by not enabling it in the first place. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184423
2023-07-25 01:11:04 +00:00
Mike Hommey
38aba1f33c Bug 1844925 - Make it an error to have both SCCACHE_DISABLE and USE_SCCACHE set. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184422
2023-07-25 01:11:04 +00:00
Willy R. Vasquez
77f5acb297 Bug 1845186 - Add -msimd128 flag to RLBox Wasm compilation. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D184419
2023-07-25 00:25:34 +00:00
ahochheiden
c798320975 Bug 1808732 - Move various dependencies out of the mach site to either the specific site they're needed in (like build, or lint), and/or to common` r=firefox-build-system-reviewers,glandium
Now that we selectively load command modules, and activate the command
virtualenv much earlier in the mach process, a lot of the module
dependencies specified in `mach.txt` are no longer necessary there. With
their removal from `mach.txt` they will no longer be automatically
inherited by every site, which reduces potential dependency conflicts
for specific sites.

The `common` site still effectively has the same set of dependencies.
This is the default site that all commands use unless otherwise
specified. Most commands use this site, and going through every command
and seeing if a dependency is or isn't needed, then deciding if or if
not to create a new site for that command made sense was too time
consuming to do here.

Essentially the idea here going forward is that if you're trying to
add/update a new dependency to a command that is currently defaulting to
the `common` site and there is a conflict with one of the dependencies
in `common` you can move your command to a new site specifically for
your command, and you will have the minimal possible set of dependencies
a mach command can have, improving the odds that you can add the
module(s) you need for your command.

Depends on D180500

Differential Revision: https://phabricator.services.mozilla.com/D180501
2023-07-25 00:24:53 +00:00
Rob Lemley
fb2dcbd226 Bug 1844417 - Allow virtualenv sites to load from comm-central. r=ahochheiden
Depends on D184036

Differential Revision: https://phabricator.services.mozilla.com/D184037
2023-07-25 00:24:53 +00:00
ahochheiden
8e819ce0b9 Bug 1695312 - Add the ability for dispatch to ad-hoc load command modules that aren't already loaded r=firefox-build-system-reviewers,glandium
This is really just shuffling a bunch of things around. None of the
'load_*' member functions of the `Mach` class actually needed to be
member functions. They can all be static so that they can be used
anywhere. That combined with moving all the other 'mach_command' logic
to a different file, allows us to load the module for any command so
that we can successfully dispatch it.

Differential Revision: https://phabricator.services.mozilla.com/D184060
2023-07-25 00:24:53 +00:00
ahochheiden
918f331078 Bug 1695312 - Selectively load only the mach command modules needed for the command about to be run r=firefox-build-system-reviewers,glandium
This makes loading almost all commands faster, since only one module
file is loaded rather than all of them. There is one main exception,
dealing with 'help'. Running `./mach help` (or -h or --help) requires
the description text for every command, so every module file is still
loaded.

We could expand this improvement here to consolidate all commands and
their parameters in this `MACH_COMMANDS` dict, but the only two benefits
are improving help, and not having two places where the commands are
specified (their file, and this dict).

There's a lot of extra work needed to do that, especially for handling
sub commands, and it did not seem worth the cost for the benefit at this
time.

Depends on D180499

Differential Revision: https://phabricator.services.mozilla.com/D180500
2023-07-25 00:24:53 +00:00
ahochheiden
85bd65e288 Bug 1695312 - Activate the virtualenv associated with a mach command much earlier r=firefox-build-system-reviewers,glandium
This activated virtualenv for a command is managed
`CommandSiteManager` and it is passed down to where it was activated
before to prevent a second, redundant, activation.

Differential Revision: https://phabricator.services.mozilla.com/D180499
2023-07-25 00:24:53 +00:00
ahochheiden
cff561db42 Bug 1695312 - Add missing commands to the MACH_COMMANDS dict r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181032
2023-07-25 00:24:52 +00:00
ahochheiden
9359c26d78 Bug 1695312 - Sort the MACH_COMMANDS dict alphabetically r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181031
2023-07-25 00:24:52 +00:00
ahochheiden
5d7f61d985 Bug 1842700 - Fix l10n-cross-channel MachCommandReference module path r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183217
2023-07-25 00:24:52 +00:00
alwu
e3196cbdd0 Bug 1845143 - part2 : remove the pref 'media.wmf.low-latency.force-disabled'. r=media-playback-reviewers,chunmin
Having the pref `media.wmf.low-latency.enabled` is enough.

Differential Revision: https://phabricator.services.mozilla.com/D184395
2023-07-24 23:41:08 +00:00
alwu
9328c2b407 Bug 1845143 - part1 : enable media.wmf.low-latency.enabled. r=media-playback-reviewers,chunmin
Based on [1], we always enable low latency mode on the Windows 10+. As
we've stopped supporting Windows 7&8, this pref should be turn on by default.

[1] https://searchfox.org/mozilla-central/rev/385f408040a8bb5fd9d168fb16a4e9071a13938d/dom/media/platforms/wmf/WMFVideoMFTManager.cpp#328

Differential Revision: https://phabricator.services.mozilla.com/D184392
2023-07-24 23:41:08 +00:00
groovecoder
0ab635058e Bug 1845164 - use browser content relay logo r=sgalich,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184406
2023-07-24 22:11:07 +00:00
Katherine Patenio
e4d9cdc1b8 Bug 1844879 - set LTR direction for en only highlights r=desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D184396
2023-07-24 21:44:46 +00:00
Kagami Sascha Rosylight
9585cec215 Bug 1844603 - Remove nsINotificationStorage.getById r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D184138
2023-07-24 21:14:36 +00:00
Asif Youssuff
629c281517 Bug 1842243 - added sync for post-upgrade notification preference r=markh
Differential Revision: https://phabricator.services.mozilla.com/D183040
2023-07-24 21:11:53 +00:00
Noemi Erli
63f0144463 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2023-07-25 01:01:50 +03:00
Stanca Serban
37be355b4c Backed out 3 changesets (bug 1842091, bug 1831341) for causing mochitests failures in browser_parsable_css.js. CLOSED TREE
Backed out changeset 985bdabdd626 (bug 1831341)
Backed out changeset dfb82e14371f (bug 1831341)
Backed out changeset e739e22a9f1d (bug 1842091)
2023-07-25 00:31:40 +03:00
Jamie Nicol
d6960b4e32 Bug 1843749 - Block qcom_tiled_rendering on Adreno 308 GPUs. r=gfx-reviewers,lsalzman
We started using this extension as an optimization on Adreno GPUs in
bug 1828248. At the time, we discovered that there was a driver bug in
version 0490 of the Adreno driver resulting in rendering errors on a
variety of Adreno GPUs. We therefore blocked the usage of the
extension on that driver version.

We have now discovered another bug causing even more apparent
rendering issues. This appears to only affect Adreno 308 GPUs running
driver versions 331 or 415. This patch therefore additionally blocks
the extension on such devices.

Differential Revision: https://phabricator.services.mozilla.com/D184388
2023-07-24 16:23:20 +00:00
Norisz Fay
afff7ac68a Backed out 3 changesets (bug 1832680, bug 1810215) for causing failures on browser_preselect_login.js, browser_parsable_css.js CLOSED TREE
Backed out changeset fcb2279fe728 (bug 1810215)
Backed out changeset 6cbb422e23b5 (bug 1832680)
Backed out changeset 9636cc512a42 (bug 1810215)
2023-07-24 18:58:30 +03:00
Mark Banner
87ca8e8a39 Bug 1845064 - Update files in browser/base/content/test/static/ to pass the rejected-words linter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184365
2023-07-24 15:23:06 +00:00
Mark Banner
36a09fdc0b Bug 1801416 - Remove remaining references to jsm files in browser_all_files_referenced.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D184364
2023-07-24 15:23:05 +00:00
Sergey Galich
e3ebc963e3 Bug 1845165 - stopping polluting logs on right clicks at about: pages r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D184411
2023-07-24 20:41:28 +00:00
Masatoshi Kimura
86e605af5e Bug 1843702 - Remove dead code from installer. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D183632
2023-07-24 20:30:13 +00:00
Mike Hommey
e7516e7935 Bug 1841878 - Upgrade minidump-common to latest trunk. r=gsvelto,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182815
2023-07-24 20:18:53 +00:00
Stanca Serban
74033863ce Backed out 2 changesets (bug 1845064, bug 1801416) for causing mochitests failures in browser_parsable_css.js. CLOSED TREE
Backed out changeset 0072ca947732 (bug 1845064)
Backed out changeset 97d46689ef0a (bug 1801416)
2023-07-24 23:23:24 +03:00
Stanca Serban
d9cfb537bd Backed out changeset 7b759128b1ce (bug 1843453) for causing mochitests failures in test_simple.html. 2023-07-24 23:18:54 +03:00
Mike Conley
61cd126457 Bug 1841926 - Make about:home startup cache probes permanent now that its shipped by default. data-review=jhirsch,r=amy
Differential Revision: https://phabricator.services.mozilla.com/D183298
2023-07-24 20:03:59 +00:00
Tomislav Jovanovic
0244ec76a4 Bug 1838234 - Implement Quarantine controls in extensions panel and context menus, r=bolsson,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D182375
2023-07-24 19:51:07 +00:00
Joel Maher
e6feaa6334 Bug 1845097 - skip text-svgglyphs that leak the world. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D184390
2023-07-24 19:50:48 +00:00
Morgan Rae Reschenberg
bdc2d21323 Bug 1844213: Add accessibility.tabfocus to the dynamic pref override list r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D184030
2023-07-24 19:42:45 +00:00