Commit Graph

830987 Commits

Author SHA1 Message Date
Mike Hommey
3896dd831a Bug 1817372 - Remove unsupported compilers from test_toolchain_configure. r=firefox-build-system-reviewers,andi
We stopped supporting cl.exe and gcc for mingw quite some time ago.

Differential Revision: https://phabricator.services.mozilla.com/D170168
2023-02-17 07:42:47 +00:00
Mike Hommey
f608c3ae17 Bug 1817372 - Refactor checks for the MSVC abi that take the form of a compiler check. r=firefox-build-system-reviewers,andi
We're soon going to introduce a new way to distinguish between the two
windows ABIs, so we factor out compiler checks that will need to be
adjusted to limit the amount of changes down the line.

Differential Revision: https://phabricator.services.mozilla.com/D170167
2023-02-17 07:42:47 +00:00
Cristina Horotan
d4f69748d1 Backed out changeset 91a18abcd0e2 (bug 1810739) for causing bc failures at browser_UsageTelemetry.js on a CLOSED TREE 2023-02-17 09:21:40 +02:00
Mozilla Releng Treescript
73dfe7d3e8 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
vi -> 9a5ffcb876c0e5959278f56323bbfcb730c9a565
2023-02-17 06:59:21 +00:00
Barret Rennie
c84bf2ea72 Bug 1805648 - Add notification emails to fxrecord job failures r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D164681
2023-02-17 06:55:44 +00:00
Barret Rennie
5937cf07fc Bug 1810739 - Debounce tab count metric collection r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D168854
2023-02-17 06:35:37 +00:00
Barret Rennie
019daed1af Bug 1725615 - Port osfile.jsm usage to IOUtils in toolkit/crashreporter/ r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D163057
2023-02-17 06:34:30 +00:00
Barret Rennie
b59f2a6b1f Bug 1725615 - Port osfile.jsm usage to IOUtils in toolkit/components/crashmonitor r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D163056
2023-02-17 06:34:30 +00:00
Barret Rennie
797c88b6a1 Bug 1725615 - Port osfile.jsm usage to IOUtils in toolkit/components/crashes r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D163055
2023-02-17 06:34:30 +00:00
Butkovits Atila
7d923b6c43 Backed out changeset 8107b1fc07e0 (bug 1812083) for causing failures at browser_bookmarks_change_url.js. CLOSED TREE 2023-02-17 07:14:36 +02:00
steven wang
b778f2672a Bug 1813598 - Add a Cancel and Done button to the bottom of the progress page of the wizard. r=mconley,fluent-reviewers,flod.
Differential Revision: https://phabricator.services.mozilla.com/D169496
2023-02-17 04:31:08 +00:00
Paul Bone
f072e9a5ee Bug 1814808 - Move chunk releasing out of the arena lock's critical section r=glandium
The system calls of releasing a chunk of memory can be costly and should be
done outside the arena lock's critical section so that other threads aren't
blocked waiting for the lock.

Differential Revision: https://phabricator.services.mozilla.com/D166775
2023-02-17 04:17:24 +00:00
Jonathan Sudiaman
70c1e0ad83 Bug 1812083 - Enable delayed apply bookmarks in Firefox Nightly r=mak
As expected, the try job flagged a bunch of test failures when flipping the default `delayedApply` pref to `true`. Some of these failures are legitimate issues:

  - When creating a new folder in the tree under "Location", renaming the folder doesn't update its name in the Location field.
  - When right clicking a bookmark in the sidebar, and creating a new folder, the folder doesn't get placed before the bookmark, i.e. the insertion point is ignored.

And as you pointed out, tags were being wiped out on blur in the Star/Toolbar panels. These issues have been fixed. The rest of the failures have been fixed in one of these ways:

  - Update the test to pass regardless of `delayedApply` setting. This was the preferred method.
  - Force the test to use instant apply. This was only done for tests that have an existing delayed apply counterpart.
  - Force the entire test suite to use instant apply. This was only done for one file, namely `browser_bookmark_popup.js`. I'll file a bug to spin off a delayed apply version of this suite.

try job with `delayedApply` enabled: https://treeherder.mozilla.org/jobs?repo=try&revision=50e9cdb65feaec07c9519e928caf62042c3df9a4
try job with `delayedApply` disabled: https://treeherder.mozilla.org/jobs?repo=try&revision=1102b5076a79bf08a0e4b073fdf369af97a16ef7

Differential Revision: https://phabricator.services.mozilla.com/D168690
2023-02-17 03:57:03 +00:00
elephanteatsapple
453f875d73 Bug 1809352- Include branding assets for each browser that can be imported from. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D170016
2023-02-17 03:18:06 +00:00
Emilio Cobos Álvarez
d957332938 Bug 1815229 - Factor out owned request clean-up into its own method. r=tnikkel,layout-reviewers
We're about to use it a bit more.

Switch to CancelAndForgetObserver, since we will call it in the future from
other places that aren't frame destruction. This doesn't change behavior of the
existing caller because we call mListener->SetFrame(nullptr), which effectively
no-ops the listener

Differential Revision: https://phabricator.services.mozilla.com/D169985
2023-02-17 01:53:24 +00:00
sotaro
0561f430e2 Bug 1817269 - Backout Bug 1798245 r=jrmuizel,gfx-reviewers
Bug 1798245 causes Bug 1817269 on Fx 110.

Differential Revision: https://phabricator.services.mozilla.com/D170151
2023-02-17 01:47:02 +00:00
Ray Kraesig
9163e54e6a Bug 1816737 - silence warning spam in (third-party) zlib code r=glandium
zlib still uses K&R-style function declarations. As of clang 15, these
are warned about by default, as they've been removed in the latest draft
of C2x; this results in thousands(?) of lines of warnings when building
zlib in-tree.

An issue has been filed at https://github.com/madler/zlib/issues/633,
but the author has stated that they are unwilling to change this until
C2x has actually been published.

For now, just silence those warnings when building zlib.

Differential Revision: https://phabricator.services.mozilla.com/D169842
2023-02-17 01:29:01 +00:00
Ryan Hunt
10ed72a61e Bug 1814519 - wasm: Initalize GC fields/elements only once for struct/array.new. r=jseward
The structNew/arrayNew builtins allocate a struct/array and zero initialize
all fields and elements. This is fine for struct.new_default and array.new_default,
but is wasted work for struct.new and array.new, which will clobber over the
existing fields. This commit adds new builtins which skip zero initialization.

These builtins must be carefully used, as these GC objects are not fully
ready to be observed until they are initialized by the caller JIT code.

Differential Revision: https://phabricator.services.mozilla.com/D169267
2023-02-17 01:16:00 +00:00
Ryan Hunt
9776c2d8d5 Bug 1814519 - wasm: Perform post-write barrier in Ion as OOL call that preserves live registers. r=jseward
Right now for a GC write, we perform a call to the post-write barrier instance
method. The method then filters if it is necessary. This has the downside of
requiring all registers to be spilled, even if the barrier was not necessary.

This commit adds a new MIR node: MWasmPostWriteBarrier, modeled after a JS
version. This node performs the filtering inline and jumps to an OOL code
stub that spills live registers and performs a call to the instance barrier
method if necessary.

Differential Revision: https://phabricator.services.mozilla.com/D169266
2023-02-17 01:16:00 +00:00
Ryan Hunt
ce8aa4bbb6 Bug 1814519 - wasm: Don't perform pre-write barrier for initialization in ion. r=jseward
This is the same improvement as the previous baseline patch, skip the
pre-write barrier when initializing a struct/array, as all the fields
are null.

There is one additional change here, we start skipping the pre-write
barrier for storing reference results to the stack. The reason for
this is that reference values on the stack are rooted and do not need
a pre-write barrier to mark them during incremental GC. We were
unnecessarily doing that before.

Differential Revision: https://phabricator.services.mozilla.com/D168621
2023-02-17 01:15:59 +00:00
Ryan Hunt
2d2a4a9591 Bug 1814519 - wasm: Remove filtering GC barriers. r=jseward
These are not used anymore now that cranelift is gone.

Differential Revision: https://phabricator.services.mozilla.com/D168620
2023-02-17 01:15:59 +00:00
Ryan Hunt
d88376bc28 Bug 1814519 - wasm: Remove indirections on post barrier by caching store buffer. r=jseward
This function has a lot of unnecessary pointer chasing.

Differential Revision: https://phabricator.services.mozilla.com/D168619
2023-02-17 01:15:58 +00:00
Ryan Hunt
34a2ac98fd Bug 1814519 - wasm: Don't emit pre-write barrier for initialization of structs/arrays. r=jseward
Arrays/structs are initialized to be completely null. The pre-write barrier will
always be dead code for them.

Differential Revision: https://phabricator.services.mozilla.com/D168618
2023-02-17 01:15:58 +00:00
Ryan Hunt
528f75b536 Bug 1814519 - wasm: Improve inline struct access in baseline. r=jseward
Baseline can fold the offset of inline struct accesses more aggressively
and reduce memory pressure by reusing the object pointer for the
data pointer.

Differential Revision: https://phabricator.services.mozilla.com/D168617
2023-02-17 01:15:58 +00:00
Ryan Hunt
03868a00bc Bug 1814519 - wasm: Pretenure GC objects using the type as an allocation site. r=jseward,jonco
This commit:
  1. Extends AllocSite to support 'wasm' sites that don't have scripts but should be tracked
  2. Gives every type definition in a module an allocation site that is used when allocating

This was seen to give a meaningful speedup on the dart barista3 benchmark.

Extending AllocSite is the trickiest part, as it is size sensitive and there are no
bits available. This commit chose to encode 'isWasm' by using a special script pointer.
There may be a better way.

This commit uses AllocSite as 1:1 with a type definition for two reasons:
  1. There is no easy way to allocate AllocSites for every allocation instruction
     with our current compiler infrastructure. I am also concerned that would dramatically
     blow-up our runtime size.
  2. Current targets of wasm-GC are nominal languages (object oriented too), and it seems
     like we could see some similar lifetime behavior for all instances of a class.

However, we definitely should experiment with different usage of AllocSite, types are
just the easiest start and they showed an improvement.

Differential Revision: https://phabricator.services.mozilla.com/D168616
2023-02-17 01:15:57 +00:00
Ryan Hunt
c1e680ad3d Bug 1814519 - wasm: Optimize performance of WasmStructObject::obj_trace. r=jseward
This commit adds a TraceOffsetVector which is used for storing
pre-computed offsets of reference typed values. This minimizes
interpretation required while tracing.

Differential Revision: https://phabricator.services.mozilla.com/D168615
2023-02-17 01:15:57 +00:00
Ryan Hunt
ac909e350d Bug 1814519 - wasm: Force use of tenured heap for GC types allocated in globals. r=jseward
Globals are kept alive for the duration of the program, this is a strong
hint that what is stored in them will be long lived.

Differential Revision: https://phabricator.services.mozilla.com/D168614
2023-02-17 01:15:56 +00:00
Ryan Hunt
e707e68629 Bug 1814519 - wasm: Don't set object metadata for GC types. r=jseward
ObjectMetadataBuilder is used for tracking allocations with devtools.
This commit removes support for it while we're optimizing for performance,
we will need to add a dynamic fallback for when devtools is tracking
allocations in bug 1814520.

Differential Revision: https://phabricator.services.mozilla.com/D168613
2023-02-17 01:15:56 +00:00
Ryan Hunt
6f268421b8 Bug 1809206 - wasm: Add wasm-no-experimental config and try job. r=tcampbell
This commit adds a config flag '--wasm-no-experimental' which disables all
experimental features that have a conditional compile flag. This flag has
a higher precedence than the manual enable flags such as '--enable-wasm-gc'.

This commit then also adds a try task to run with this configuration on
linux64debug. It also runs jit-tests to cover all the wasm tests, but the
important thing is testing that the build succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D166375
2023-02-17 00:11:38 +00:00
Emilio Cobos Álvarez
3b2c7272b9 Bug 1817078 - Make allocated pointer tracking DEBUG-only. r=dholbert
It's helpful to catch issues, but I don't think we get much value in
return in practice.

Differential Revision: https://phabricator.services.mozilla.com/D170135
2023-02-16 23:58:27 +00:00
Mike Hommey
98e83a6620 Bug 1815016 - Use the certifi cafile when using urlopen in bootstrap. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D170037
2023-02-16 23:50:30 +00:00
Mike Hommey
b3e17778b6 Bug 1815016 - Upgrade certifi to the latest release. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D170036
2023-02-16 23:50:30 +00:00
Emilio Cobos Álvarez
45abd683e8 Bug 1815229 - Use member initializers a bit more in nsImageFrame. r=tnikkel,layout-reviewers
Depends on D169985

Differential Revision: https://phabricator.services.mozilla.com/D169986
2023-02-16 22:40:46 +00:00
Emilio Cobos Álvarez
186019d791 Bug 1817071 - Remove -moz-image-region references from browser/ and toolkit/. r=Gijs
After the other bugs, nobody sets -moz-image-region to something that
isn't auto.

Differential Revision: https://phabricator.services.mozilla.com/D170009
2023-02-16 22:33:30 +00:00
Emilio Cobos Álvarez
6f0a36bb76 Bug 1816988 - Enable reveal password context-menu. r=sgalich
It seems there are no UX concerns or what not about this.

Differential Revision: https://phabricator.services.mozilla.com/D170073
2023-02-16 22:27:12 +00:00
Butkovits Atila
7632da1bd5 Backed out changeset 409858b7bb4a (bug 1699681) for causing failures at browser_test_feature_jsallocations.js. CLOSED TREE 2023-02-17 01:04:11 +02:00
Mike Hommey
0ea0ba74cc Bug 1816443 - Use auto-bootstrap code to bootstrap clang-tidy in both bootstrap and code-analysis. r=andi,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D168962
2023-02-16 22:06:01 +00:00
Ben Hearsum
383759bb16 Bug 1817296: get rid of duplication in update verify treeherder symbols r=RyanVM,releng-reviewers,gbrown
These are pretty redundant right now, and not even consistent with what we do with other chunked things (such as tests).

Differential Revision: https://phabricator.services.mozilla.com/D170114
2023-02-16 21:48:04 +00:00
Emilio Cobos Álvarez
def805ac54 Bug 1817189 - Ship overflow: overlay. r=dholbert
The working group resolved on our behavior in
https://github.com/w3c/csswg-drafts/issues/8063#issuecomment-1431620007

Differential Revision: https://phabricator.services.mozilla.com/D170065
2023-02-16 21:42:49 +00:00
Emilio Cobos Álvarez
0320ef9554 Bug 1817053 - Remove some dead CSS and icons from the old translations project. r=mconley,gregtatum
The Firefox Translation extension doesn't use these.

Differential Revision: https://phabricator.services.mozilla.com/D169991
2023-02-16 21:41:40 +00:00
Fred Chasen
cb0a8abc0b Bug 1591210 - Add forced-color-adjust property r=emilio
Adds the forced-color-adjust property and ForcedColorAdjust keywords.
Updates tweak_when_ignoring_colors to check for `none` value of that property when determining if a color adjustment in needed.
Adds a check for `none` when styling selections to make sure they can be styled in forced color modes.

Differential Revision: https://phabricator.services.mozilla.com/D169000
2023-02-16 21:29:07 +00:00
John Schanck
4d4df405e6 Bug 1809333 - Disable the U2F DOM API by default. r=dveditz,webidl,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D167199
2023-02-16 21:08:40 +00:00
Mike Conley
15d676b5a7 Bug 1816197 - Part 2: Add an optional callback to MigratorBase.migrate to get migration updates. r=NeilDeakin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D169527
2023-02-16 20:40:00 +00:00
Mike Conley
b8a333c24a Bug 1816197 - Part 1: Make MigratorBase.migrate resolve only after migration has completed. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D169526
2023-02-16 20:39:59 +00:00
sotaro
56708b13f4 Bug 1817138 - Add MediaInfoFlag::VIDEO_AV1 handling to RemoteVideoDecode::Init() r=media-playback-reviewers,alwu
MediaInfoFlag::VIDEO_AV1 is not handled in RemoteVideoDecode::Init().

Differential Revision: https://phabricator.services.mozilla.com/D170038
2023-02-16 20:27:15 +00:00
Nazım Can Altınova
cad6814fd6 Bug 1699681 - Clear the JS context for profiler during nsJSContext destruction r=florian,sfink
During shutdown profiling, test suites were reporting window leaks on shutdown.
After investigating, I realized that we are not setting some
JitcodeGlobalEntries as expired. PROFILER_CLEAR_JS_CONTEXT sets these entries
as expired but it wasn't called in this case where we are destructing
nsJSContext.

This PROFILER_CLEAR_JS_CONTEXT macro is called on other places when we are
doing normal profiling, and the JSContext is being cleaned after the window is
destroyed. But with this addition, we are making sure that right after the
window destruction we are cleaning the JSContext, which makes it more
reliable.

Differential Revision: https://phabricator.services.mozilla.com/D169610
2023-02-16 20:25:41 +00:00
ahochheiden
742689d232 Bug 1811416 - Fail early if a Localized Build is attempted with Artifact Builds enabled r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D167349
2023-02-16 20:23:16 +00:00
Christian Holler
f554b74885 Bug 1817281 - Handle wrong deallocator type in TextureHost. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D170111
2023-02-16 20:08:13 +00:00
Andreas Pehrson
d7be6bc94b Bug 1811641 - [libwebrtc] Set output delegate when starting instead of during init. r=webrtc-reviewers,ng
This fixes applyConstraints which re-uses the backend with new settings.
Without this patch stopCapture would unset the delegate but startCapture would
*not* set it again.

Differential Revision: https://phabricator.services.mozilla.com/D170100
2023-02-16 19:45:17 +00:00
Jared Hirsch
5f00062eb0 Bug 1816464 - Decouple pref state from Nimbus experiment state for cookie banner handling. r=barret,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D169837
2023-02-16 19:44:45 +00:00