Commit Graph

874437 Commits

Author SHA1 Message Date
Mark Banner
c9b5df99c1 Bug 1881266 - Enable ESLint recommended rule no-constant-condition globally, warning for existing cases. r=mossop,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D202319
2024-02-26 11:35:41 +00:00
Mark Banner
fa86f5170e Bug 1881265 - Enable ESLint recommended rule getter-return. r=mossop,extension-reviewers,devtools-reviewers,omc-reviewers,nchevobbe,aminomancer,robwu
Differential Revision: https://phabricator.services.mozilla.com/D202318
2024-02-26 11:35:40 +00:00
Valentin Gosu
7cb64f026e Bug 1760077 - Fix racy test_channel_close.js r=necko-reviewers,kershaw
ChannelListener throws an exception if the channel gets closed unexpectedly.
Since this test was racing live_channels[1] vs local_channel, sometimes
the server would get closed before local_channel completed, causing an
exception.

This patch introduces SimpleChannelListener which doesn't include so much
logic and may be a better fit when a channel might succeed or fail depending
on certain circumstances.

Differential Revision: https://phabricator.services.mozilla.com/D202413
2024-02-26 10:34:20 +00:00
Valentin Gosu
1bf6a996d8 Bug 1881737 - Define mozilla::net::DNSThreadShutdown on Solaris and other platforms r=necko-reviewers,kershaw
DNSThreadShutdown is defined for and Win, Unix and Android, but we should also have
an empty impl for other platforms.

Differential Revision: https://phabricator.services.mozilla.com/D202629
2024-02-26 10:32:54 +00:00
Stanca Serban
c78092f695 Backed out changeset 91f0a8c57291 (bug 1881221) for causing py3 failures. CLOSED TREE 2024-02-26 12:55:27 +02:00
Marco Bonardo
94326cb747 Bug 1882028 - Add toolbar preferences to about:support. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D202698
2024-02-26 10:29:18 +00:00
Nazım Can Altınova
e172bf3565 Bug 1881221 - Make it easier to disable the gecko profiler for testing r=profiler-reviewers,aabh
Previously we had to patch this moz.configure file to be able to disable the
gecko profiler to test the tier 3 platforms or the platforms that don't support
the gecko profiler. It wasn't super straightforward to do it and this patch
makes it easier to do by adding a `--disable-gecko-profiler` build option.

To be able to use it, append the following option to your mozconfig file:
```
ac_add_options --disable-gecko-profiler
```

Differential Revision: https://phabricator.services.mozilla.com/D202301
2024-02-26 10:09:11 +00:00
Ziran Sun
f2cbb52994 Bug 1866993 - Enable popover by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D194989
2024-02-26 10:08:16 +00:00
Erich Gubler
a3510587af Bug 1878308: chore(wgpu_bindings): run cargo fmt r=nical
Formatting regressed with in D199874, fixing with `cargo fmt` here.

Differential Revision: https://phabricator.services.mozilla.com/D200860
2024-02-26 08:31:37 +00:00
Nicolas Silva
1682d832a6 Bug 1878308 - Move the compute pass remoting logic into wgpu bindings. r=webgpu-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D200460
2024-02-26 08:31:37 +00:00
Nicolas Silva
3de8db6f68 Bug 1878308 - Move the render pass remoting logic into wgpu's bindings. r=webgpu-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D200444
2024-02-26 08:31:37 +00:00
serge-sans-paille
d07a1a5ec5 Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D201012
2024-02-26 08:26:38 +00:00
Patrycja Rosa
051eb870c9 Bug 1881979 - Use c_int as ptrace request type on musl libc. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D202680
2024-02-26 08:23:57 +00:00
Mozilla Releng Treescript
7b2b880299 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
es-ES -> f5fa929f511c8f87161b973d05788492cb64bfeb
nn-NO -> 786c4f4f659fe3aa92dc6ac4b22ad19c74cb2b4e
2024-02-26 07:01:12 +00:00
Hiroyuki Ikezoe
53c128e0b2 Bug 1845646 - Drop PASS or FAIL annotations from the tests which had been affected by bug 1845646. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D201923
2024-02-26 05:23:16 +00:00
Hiroyuki Ikezoe
87473ad773 Bug 1845646 - Make sure to update scroll position updates in the first paint where the referent id hasn't been received. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D201921
2024-02-26 05:23:16 +00:00
Makoto Kato
aff9f08497 Bug 1880605 - Wait for updating OOP frame position. r=masayuki
synthesizeNativeMouseEvent uses screen coordinates, so we should wait for
updating OOP frame position before using it.

Differential Revision: https://phabricator.services.mozilla.com/D202644
2024-02-26 01:36:34 +00:00
Glenn Watson
a9f0ff238f Bug 1881638 - Port quad instances to make use of int gpu buffer r=gfx-reviewers,lsalzman
This allows extending render task indices to 32 bits without
requiring an increase in the vertex / instance size.

Differential Revision: https://phabricator.services.mozilla.com/D202526
2024-02-25 19:43:59 +00:00
Mozilla Releng Treescript
3cc25c8317 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
nn-NO -> db5aeeb8f2917b8c54dd5225ba578e1622d327a7
sk -> b76336ce9e5c795ffb6db603a8c8bd0490ffeea2
2024-02-25 19:02:30 +00:00
Gregory Pappas
fe9782a65e Bug 1790700 - Show <input type='number'> spin buttons only on hover/focus, also hide them on Android r=emilio r=reland CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D202312
2024-02-25 03:14:08 +00:00
Iulian Moraru
b9eb9ae4c0 Merge mozilla-central to autoland on a CLOSED TREE 2024-02-25 12:05:15 +02:00
Iulian Moraru
1e3ab232b0 Backed out changeset 8d4c98c06aec (bug 1790700) to resolve a merge back central to autoland conflict - this will be relanded after. CLOSED TREE 2024-02-25 12:03:39 +02:00
Boris Chiou
2e78b7fa7c Bug 1805727 - Fix the typo of the test name, transition-behavior.html. r=layout-reviewers,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D202666
2024-02-25 07:33:04 +00:00
Mozilla Releng Treescript
955a59ecdd no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
hu -> f19469d560a9371766769d32c955c122788a8850
2024-02-25 07:01:47 +00:00
Timothy Nikkel
732e327254 Bug 1880054. Simplify some imagelib event target code. r=gfx-reviewers,lsalzman
This code was added before we decided to do fission, when we wanted to separate out different sites that were in the same process so we could prioritize them better. We are not going down that path so we can simplify this code. There should be no change in functionality with this patch, just simpler code.

Differential Revision: https://phabricator.services.mozilla.com/D201705
2024-02-25 04:54:33 +00:00
Gregory Pappas
9ca7fc04b2 Bug 1790700 - Show <input type='number'> spin buttons only on hover/focus, also hide them on Android r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D202312
2024-02-25 03:14:08 +00:00
Cristian Tuns
d87ac4f189 Backed out changeset fedd91b7af1e (bug 1790700) for causing reftest failures in /not-other-type-unthemed-1.html CLOSED TREE 2024-02-24 21:06:56 -05:00
Cristian Tuns
b8eb9f7912 Backed out changeset fedd91b7af1e (bug 1790700) for causing reftest failures in /not-other-type-unthemed-1.html CLOSED TREE 2024-02-24 21:06:56 -05:00
Markus Stange
62a311c64f Bug 1881605 - Add some documentation for tryserver symbols for profiling. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D202502
2024-02-25 01:21:20 +00:00
Gregory Pappas
c89e89ffa8 Bug 1790700 - Show <input type='number'> spin buttons only on hover/focus, also hide them on Android r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D202312
2024-02-25 01:04:23 +00:00
Álvaro Costa
cab89107ca Bug 1830667 - Update APZCTreeManager::mDPI when display DPI changes. r=dlrobertson,win-reviewers,handyman,emilio
Differential Revision: https://phabricator.services.mozilla.com/D202280
2024-02-24 19:25:30 +00:00
Mozilla Releng Treescript
5ef8c80ed3 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
uk -> 403b6f3835352038bd3a74f2714de376d426d88a
zh-CN -> 59f23289199104b3f2c7aa3534e8bd98ebf0f693
2024-02-24 19:00:48 +00:00
Cathie Chen
791a41bfd4 Bug 1879340 - Add potentially render blocking, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D201095
2024-02-24 18:12:35 +00:00
Mark Banner
5b9b9f7203 Bug 1881901 - Update asrouter/aboutwelcome to use latest node_modules to fix issues building with node 18. r=aminomancer,omc-reviewers
An out-of-date webpack was causing the issue, but updating generally is probably a good idea.

Differential Revision: https://phabricator.services.mozilla.com/D202656
2024-02-24 12:21:20 +00:00
Butkovits Atila
2d2e424a0d Backed out changeset dccf526bcc0a (bug 1878993) for causing build bustages at GeckoChildProcessHost.cpp. CLOSED TREE 2024-02-24 12:51:38 +02:00
Mark Banner
6a15dea4e8 Bug 1881573 - Drop use of ESLint rule max-depth from newtab/asrouter/aboutwelcome. r=pdahiya,thecount,Gijs,devtools-reviewers,omc-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D202474
2024-02-24 10:04:46 +00:00
Mark Banner
c1641790d9 Bug 1881817 - Move all asrouter/content-src/*.js files which are modules to use .mjs extensions. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202622
2024-02-24 10:00:59 +00:00
Mark Banner
fb52e933e4 Bug 1881819 - Remove now redundant inject-loader from asrouter/aboutwelcome/newtab code. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202621
2024-02-24 10:00:58 +00:00
Mark Banner
25ccfc2279 Bug 1881818 - Remove various modules from asrouter/aboutwelcome/newtab as they are now unused. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202620
2024-02-24 10:00:58 +00:00
Jonathan Kew
b6a960c96c Bug 1880996 - Check for zero-length text in nsBidiPresUtils::ProcessSimpleRun. r=dholbert
In the example here, failing to check for an empty string was resulting
in lots of extra work to set up for drawing a shadow, etc., even though
nothing ends up being rendered. Just bail out early if there's no text.

Differential Revision: https://phabricator.services.mozilla.com/D202630
2024-02-24 08:56:43 +00:00
Mozilla Releng Treescript
afaa047fb9 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> d46bf366e290b54284d622ef252d8a884f0a45b6
ko -> ddf11e44c5bd3b23700e7674922a40e275be46a0
zh-CN -> 4d8ed0390297a23bfbdfbf02dfd4aa368679beb6
2024-02-24 07:01:43 +00:00
alwu
5981e6cdb4 Bug 1879417 - part3 : remove unused method. r=media-playback-reviewers,jolin
Differential Revision: https://phabricator.services.mozilla.com/D202337
2024-02-24 06:04:18 +00:00
alwu
46389a0493 Bug 1879417 - part2 : resolve pending input promise when sample is popped. r=jolin
The problem is discovered when playing the file `red-46x48.mp4` in
`test_playback_rate_playpause.html`. That file only contains ONE frame
which is 1 second long.

There is an issue within the media engine, which The won't return an
output frame to us, unless we tell it the stream is ended.

Therefore, after sending the only frame to the media engine, we need to

(1) keep the media format reader to keep requesting data by resolving
the pending promise when the input has been popped so that the format
reader can read EOS.

(2) send the ended event to the media engine in order to get the first
frame.

Differential Revision: https://phabricator.services.mozilla.com/D202336
2024-02-24 06:04:18 +00:00
alwu
3c2b7163fc Bug 1879417 - part1 : putting the video decode promise on hold if we already have enough data and Dcomp surface is not ready yet. r=jolin
In [1], we explain why media format reader would keep sending input to
the media engine, and in [2], we explain why that would cause the media
engine dropping frames.

We don't want the media format reader (MFR) to keep sending input
if the dcomp is not ready, because we don't need that much of data.
Therefore, postponing the decoded promise and resolving it when the
output (dcomp) is available.

By doing that, we would store input samples in a reasonable range.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1879417#c4
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1879417#c0

Differential Revision: https://phabricator.services.mozilla.com/D201173
2024-02-24 06:04:17 +00:00
Stanca Serban
71b51917c2 Backed out 2 changesets (bug 1816628) for causing OS X mochitests-plain failures in test_bug1426594.html.
Backed out changeset e32deae0b0b4 (bug 1816628)
Backed out changeset 3ee753e740b9 (bug 1816628)
2024-02-24 06:38:52 +02:00
Emily McDonough
1c092fded6 Bug 1865172 Part 2 - Add a test which includes the same structure as the documents that cause this issue. r=dholbert
This is more complex than what is strictly necessary to reproduce this issue,
but is reflective of a situation we keep having problems with.

Differential Revision: https://phabricator.services.mozilla.com/D198195
2024-02-24 04:05:45 +00:00
Emily McDonough
2bf56c0358 Bug 1865172 Part 1 - Always store a page name value when a breakpoint is first found during block reflow. r=dholbert
This happens in a similar location to where we find a breakpoint caused by a
change in page name. However, if the breakpoint was caused by something else,
we still need to compute this value so that the next page being constructed
will have the correct page name.

This also "fixes" the WPT /css/printing/page-name-007-print.html, which passed
before this patch just because our previous logic would continue using the last
page value in those cases, which coincidentally matched what was expected.

Part 2 will include a test that specifically detects this discrepency.

Differential Revision: https://phabricator.services.mozilla.com/D196895
2024-02-24 04:05:45 +00:00
Jeff Muizelaar
ae3439337b Bug 1881879 - Remove unneeded manual dereferences. r=gfx-reviewers,lsalzman
These are left over from the conversion from C.

Differential Revision: https://phabricator.services.mozilla.com/D202643
2024-02-24 03:14:40 +00:00
Timothy Nikkel
c9583fe34e Bug 1873422. Ignore "invalid chunk type" errors in pngs if we have enough data to display something when encountered. r=aosmond
GetFrameCount() > 0 means that we've started a frame, but not necessarily finished it.

Differential Revision: https://phabricator.services.mozilla.com/D198511
2024-02-24 01:00:10 +00:00
Tomislav Jovanovic
3d22ee1fa3 Bug 1872918 - Collect .d.json typescript info from xpidl r=mossop,nika
Differential Revision: https://phabricator.services.mozilla.com/D197618
2024-02-24 00:23:59 +00:00