Commit Graph

872444 Commits

Author SHA1 Message Date
Kelsey Gilbert
34cdfc4f86 Bug 1874226 - Use unique_ptr not Scoped in xpcom/*. r=xpcom-reviewers,necko-reviewers,valentin,emilio
Differential Revision: https://phabricator.services.mozilla.com/D200250
2024-02-07 18:30:22 +00:00
Kelsey Gilbert
b2be0b2dcd Bug 1874226 - DebugFilesAutoLock to lock/unlock in ctor/dtor instead of via Scoped<> inheritance. r=xpcom-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D200249
2024-02-07 18:30:22 +00:00
Ryan VanderMeulen
7745990dfe Bug 1878581 - Update to Zydis v4.1.0 & Zycore v1.5.0. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D200672
2024-02-07 18:21:03 +00:00
Jared Hirsch
0939b00730 Bug 1879125 - Add telemetry for auto-open toggle clicks r=perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D200980
2024-02-07 18:01:40 +00:00
Kagami Sascha Rosylight
a35a646c06 Bug 1874960 - Stop falling back to XUL on Windows/macOS r=nalexander
The fallback is mainly for Linux where the lack of libnotify can cause error, in which case repeating to try native backend makes no sense. That does not apply to Windows and macOS.

Differential Revision: https://phabricator.services.mozilla.com/D200809
2024-02-07 17:50:14 +00:00
Jan Varga
9f46b3bcdd Bug 1855142 - Clean up PrincipalInfo type assertions in FactoryOp::Open and FactoryOp::CheckPermission; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D189753
2024-02-07 17:48:41 +00:00
Jan Varga
1ad34bf358 Bug 1855142 - Move private browsing checks from FactoryOp::CheckPermission to FactoryOp::Open; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D189752
2024-02-07 17:48:40 +00:00
Jan Varga
fddcb701dc Bug 1855142 - Move the persistence type assertion from FactoryOp::CheckPermission to FactoryOp::Open; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D189747
2024-02-07 17:48:40 +00:00
Jan Varga
68099bd158 Bug 1855142 - Replace FactoryOp::mContentHandle with mContentParentId; r=dom-storage-reviewers,jari
FactoryOp::mContentHandle was only needed to get a ContentParent to eventually
kill invalid child processes. This is now ensured directly by IPC_FAIL, so
mContentHandle can be safely replaced with mContentParentId which is still
needed for creation of Database objects (which need it for implementation of
Database::IsOwnedByProcess).

Differential Revision: https://phabricator.services.mozilla.com/D189718
2024-02-07 17:48:39 +00:00
Natalia Csoregi
a1972c3004 Backed out changeset 4190a8a3805b (bug 1879130) for causing failures on browser_keyboard_navigation.js CLOSED TREE 2024-02-07 21:30:12 +02:00
Natalia Csoregi
ed8168123f Backed out 3 changesets (bug 1876526) for causing crashes due to CubebDeviceEnumerator.cpp. CLOSED TREE
Backed out changeset 2d60a4692649 (bug 1876526)
Backed out changeset cd358cbc7365 (bug 1876526)
Backed out changeset 60c24f7a2294 (bug 1876526)
2024-02-07 21:29:11 +02:00
Emilio Cobos Álvarez
f345d74fee Bug 1876640 - Fix a mochitest that had the wrong expectation.
MANUAL PUSH: orange fix CLOSED TREE
2024-02-07 20:14:18 +01:00
Emilio Cobos Álvarez
09afe7e974 Bug 1876640 - Annotate some now-passing WPT test.
MANUAL PUSH: Orange fix CLOSED TREE
2024-02-07 20:12:10 +01:00
Mozilla Releng Treescript
62a07de283 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
de -> 51ca24f67da9fed40cb848a5ef21493275e72151
fr -> 14b66687851a441176c3b19673cf3bafb1d3f587
fy-NL -> 00cead363e26cab88a6ac095dc6aea4ec701babb
ia -> ddc00131c5d5afa6096df055079bd0f1a77a5f9d
is -> e51a3286848f2389806388a4bd67cbe7b8d58b10
it -> 65fad713c9a34047db3079a0039ad02c50fe457f
kk -> 73dbb06b2290e0e32fa2dfb7dec93872fb21e129
rm -> 89b55f5a8c866a6dcc1d36cd1ee35070f423e806
sv-SE -> e23777aea47b326316085e36c3c933fd3b06c4ca
tr -> 72f83d1eaa6a588379407c672db9d5dbffd138a5
uk -> 922b3a3d3538b45c6ef25069e3df71ad5149b37e
2024-02-07 19:01:48 +00:00
Robert Longson
7bbd79bdd5 Bug 1874602 - use ssl.SSLContext.wrap_socket rather than the deprecated ssl.wrap_socket r=jgraham,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D198500
2024-02-07 17:31:43 +00:00
Emilio Cobos Álvarez
d4b845ca46 Bug 1876640 - Fix offset* APIs on tables with captions. r=TYLin
The offset* APIs use the primary frame (the table wrapper frame) to
choose an offset parent, so if we stop at the table frame we skip the
offset between the wrapper and the table boxes.

Differential Revision: https://phabricator.services.mozilla.com/D200948
2024-02-07 17:15:15 +00:00
Harshit Sohaney
c0cd4b85aa Bug 1878147 - Flip pref to allow users to see sharing webrtc icons in MacOS 14 and above. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D200947
2024-02-07 17:15:12 +00:00
Ben Visness
666205323d Bug 1863435: Remove wasm::StackMapBoolVector. r=rhunt
We currently do the rather strange process of building stack map info
in a vector, then creating a StackMap, then copying the information over.
This is particularly strange now that we store multiple kinds of entries
in our stack maps. We always know the size of the stack map anyway, so
this patch removes the vector and builds the information in the stack
map directly.

Depends on D196637

Differential Revision: https://phabricator.services.mozilla.com/D196798
2024-02-07 17:12:23 +00:00
Ben Visness
02bcc2d642 Bug 1863435: Read and write array elements using proper scaled indexes. r=rhunt,jseward
Reads and writes from arrays were computing the addresses of array elements in MIR. Not only is this somewhat inefficient, but the Mul and Add MIR nodes require an input of type Int32, while our data pointer loads now produce MIRType::WasmArrayData so that we can update safepoints accordingly. This new MIR type lowers to LDefinition::SLOTS, just like MIRType::Slots and MIRType::Elements.

Array reads and writes have therefore been updated to use BaseIndex-style addressing instead of Address-style.

Depends on D196636

Differential Revision: https://phabricator.services.mozilla.com/D196637
2024-02-07 17:12:23 +00:00
Ben Visness
f7970097e4 Bug 1863435: JIT allocation of gc arrays via baseline. r=rhunt
Depends on D196635

Differential Revision: https://phabricator.services.mozilla.com/D196636
2024-02-07 17:12:22 +00:00
Ben Visness
e67e3d5ca5 Bug 1863435: JIT allocation of gc arrays via Ion. r=rhunt,jonco
Implements JIT allocation of wasm GC arrays with inline storage. This is by far the most common case. The instance call path is still used in the following cases:

- First alloc at each AllocSite
- Long-lived AllocSites (pre-tenured)
- Large arrays which need out-of-line (malloced) storage
- No more room in the nursery

The MacroAssembler path mimics the logic of the instance calls. `MacroAssembler::wasmBumpPointerAllocateDynamic` has also been added to facilitate a dynamically-sized nursery allocation.

Depends on D196634

Differential Revision: https://phabricator.services.mozilla.com/D196635
2024-02-07 17:12:22 +00:00
Ben Visness
ac79f5008b Bug 1863435: Implement inline data storage in gc arrays. r=rhunt,jonco
Like structs, wasm GC arrays can now have a small amount of data stored inline. Arrays can now be allocated with an inline data trailer, and the array data pointer will point to that internal data. This is transparent to all outside code except the GC, which now must update this pointer on moving GCs.

In addition, this now requires us to track array data pointers in stack maps, so that when inline arrays move, we can rewrite any data pointers that are live on the stack. StackMaps now store two bits per word, and the APIs now use an enum to distinguish the kind of data being tracked. Array data is now allocated with a one-word data header that indicates whether the array data is inline or out-of-line, allowing us to find the WasmArrayObject from an data pointer and look up the new data pointer.

This only implements the internal storage and does not yet allocate arrays via JIT.

Depends on D199030

Differential Revision: https://phabricator.services.mozilla.com/D196634
2024-02-07 17:12:21 +00:00
Ben Visness
3c09ca5055 Bug 1863435: Convert wasm struct objects to use TrailingArray. r=jonco
Zero-length arrays are disallowed by the C++ spec. The TrailingArray mixin
is a UB-free way of achieving the same data layout.

Depends on D196633

Differential Revision: https://phabricator.services.mozilla.com/D199030
2024-02-07 17:12:21 +00:00
Ben Visness
dad5fdd97f Bug 1863435: Use better breakpoint code for arm64. r=mgaudet
On arm64, breakpoints occur before the instruction pointer moves to the next instruction. Stepping from this point just triggers the breakpoint again. However, if a breakpoint occurs with code 0xf000, lldb will manually advance past the breakpoint so stepping works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D196633
2024-02-07 17:12:21 +00:00
Cathie Chen
d7bb85c04b Bug 1878888 - Add the runtime flag and parsing for the blocking attribute, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D200810
2024-02-07 17:06:56 +00:00
Thomas Wisniewski
214e343253 Bug 1879130 - enable Report Broken Site by default, with 'reason' drop-down required; r=ksenia
Differential Revision: https://phabricator.services.mozilla.com/D200959
2024-02-07 17:00:05 +00:00
Dão Gottwald
b6b03b941f Bug 1879122 - Add cmkm and kcochrane as Desktop Theme peers. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D200954
2024-02-07 16:50:10 +00:00
Tooru Fujisawa
4d55249233 Bug 1878862 - Part 2: Add tests to verify malformed UTF-8 is accepted in prefs. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D200898
2024-02-07 16:48:52 +00:00
Tooru Fujisawa
5e926de546 Bug 1878862 - Part 1: Revert bug 1874376 change to accept malformed UTF-8 string in XPCConvert. r=nika
Before bug 1874376, XPCConvert::NativeData2JS had been allowing malformed UTF-8
sequence.

Bug 1874376 made it not accept any malformed UTF-8 string, and it caused
compatibility issue for the case where malformed input had been passed into.

Differential Revision: https://phabricator.services.mozilla.com/D200897
2024-02-07 16:48:51 +00:00
KS
de6a23ff28 Bug 1877592 - Use the correct nodejs for mac aarch64 raptor tests. r=perftest-reviewers,aglavic
It looks like we were previously using the x64 nodejs toolchain for
raptor-browsertime tests when node is being setup on apple silicon
machines. This patch adds logic to ensure the correct aarch64 node
toolchain is used instead.

This should only affect local runs.

Differential Revision: https://phabricator.services.mozilla.com/D200098
2024-02-07 16:00:07 +00:00
Cristian Tuns
a68ffb030e Merge mozilla-central to autoland on a CLOSED TREE 2024-02-07 11:24:36 -05:00
Noemi Erli
f035c09b37 Backed out 3 changesets (bug 1878308) for causing wgpu_bindings related build bustages CLOSED TREE
Backed out changeset 330e9b1f94c2 (bug 1878308)
Backed out changeset c4a9d3751619 (bug 1878308)
Backed out changeset 36b086dfbd13 (bug 1878308)
2024-02-07 18:19:30 +02:00
Noemi Erli
12ded93c6e Backed out 2 changesets (bug 1870580, bug 1870582) for causing devtools failures
Backed out changeset 5608a954442b (bug 1870580)
Backed out changeset 687b59c68abe (bug 1870582)
2024-02-07 18:17:19 +02:00
pstanciu
849a9e7e11 Merge autoland to mozilla-central. a=merge 2024-02-07 18:01:33 +02:00
Jeff Muizelaar
ef806ed481 Bug 1879105. Generalize SamsungXclipse920 workaround to all Xclipse GPUs. r=gfx-reviewers,nical
We have reports of the same flickering that we were seeing on
Xclipse920 GPUs on Xclipse940. For now, let's just enable the workaround
on all Xclipse GPUs.

Differential Revision: https://phabricator.services.mozilla.com/D200944
2024-02-07 15:59:04 +00:00
Erich Gubler
6321ab4ce1 Bug 1878308: chore(wgpu_bindings): run cargo fmt r=nical
Formatting regressed with in D199874, fixing with `cargo fmt` here.

Depends on D200460

Differential Revision: https://phabricator.services.mozilla.com/D200860
2024-02-07 15:53:26 +00:00
Nicolas Silva
9d22a20b3b Bug 1878308 - Move the compute pass remoting logic into wgpu bindings. r=webgpu-reviewers,ErichDonGubler
Depends on D200444

Differential Revision: https://phabricator.services.mozilla.com/D200460
2024-02-07 15:53:26 +00:00
Nicolas Silva
58b6b2e66d Bug 1878308 - Move the render pass remoting logic into wgpu's bindings. r=webgpu-reviewers,ErichDonGubler
Depends on D200359

Differential Revision: https://phabricator.services.mozilla.com/D200444
2024-02-07 15:53:25 +00:00
Max Christian Pohle
450dedf798 Bug 1879091: fix firefox-source-docs links for asrouter, r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D200933
2024-02-07 15:47:44 +00:00
Byron Campen
9008b8a93c Bug 1876526: Avoid holding the cubeb singleton mutex while calling into cubeb. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D200394
2024-02-07 15:36:22 +00:00
Byron Campen
e8ab271f2f Bug 1876526: Make cubeb singleton refcounted. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D200178
2024-02-07 15:36:22 +00:00
Byron Campen
b5a104610f Bug 1876526: Make sure AudioCallbackDriver is destroyed on the cubeb operation thread. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D199774
2024-02-07 15:36:21 +00:00
mcheang
b2045b89e3 Bug 1878277 - Add id mapping for amazon-es and amazon-se to amazon-spain and amazon-sweden so that the prior search settings persist. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D200846
2024-02-07 15:27:10 +00:00
dylan
2a7b560d98 Bug 1870580 - added fileChannel observer to netmonitor to display file urls. r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D191317
2024-02-07 15:15:37 +00:00
dylan
e913800451 Bug 1870582 - added mChannelId attribute to nsFileChannel. r=valentin,necko-reviewers,profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D196137
2024-02-07 15:15:36 +00:00
Emilio Cobos Álvarez
e17ec8e44e Bug 1875100 - Hopefully fix windows / androids crashtest timeouts for good.
MANUAL PUSH: Trivial patch to preserve older behavior CLOSED TREE
2024-02-07 16:01:57 +01:00
Mike Conley
b3b2952940 Bug 1876604 - Add support for browser.tabs.remote.unloadDelayMs pref. r=emilio
This hidden preference controls the displaylist unload timeout when tabs
are backgrounded. This is mainly for use by Puppeteer / WebDriver clients
to avoid long timeouts waiting for visibilitystate to change in
backgrounded tabs.

Differential Revision: https://phabricator.services.mozilla.com/D200855
2024-02-07 14:18:57 +00:00
Cristian Tuns
1d449d0247 Bug 1875201 - Fix for black linting in gn_processor.py CLOSED TREE 2024-02-07 09:19:23 -05:00
Robert Longson
a7ad3a40ea Bug 1302722 Part 2 - support SVG properties on first-letter and first-line r=jfkthame,emilio
Differential Revision: https://phabricator.services.mozilla.com/D200596
2024-02-07 13:59:19 +00:00
Robert Longson
677d79495f Bug 1302722 Part 1 - clean up spec references r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D200595
2024-02-07 13:59:19 +00:00