Commit graph

919050 commits

Author SHA1 Message Date
serge-sans-paille
50b32b0a99 Bug 1897973 - Move MOZ_TOOL_VARIABLES from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211090
2024-06-04 09:42:13 +00:00
serge-sans-paille
ba312a93d5 Bug 1899098 - No longer use GNU_CC, CLANG_CC and the likes in moz.build r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211720
2024-06-04 09:42:12 +00:00
serge-sans-paille
4c80e08fec Bug 1899097 - No longer use GNU_CC CLANG_CC and the likes in old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211719
2024-06-04 09:42:12 +00:00
serge-sans-paille
6193636f9b Bug 1897978 - Move MOZ_ANDROID_NDK from old-configure to moz.configure r=glandium
Also remove the rustc < 1.68 hack, as we no longer support that version.

Differential Revision: https://phabricator.services.mozilla.com/D211091
2024-06-04 09:42:11 +00:00
Emilio Cobos Álvarez
8467fcc705 Bug 1850834 - Don't reframe containing block on insertion when empty. r=jwatt
This is also actually needed to avoid the perf cliff in Perf-Dashboard.

Differential Revision: https://phabricator.services.mozilla.com/D212373
2024-06-04 08:53:28 +00:00
Emilio Cobos Álvarez
cce3bdefa5 Bug 1850834 - Teach the frame constructor to clean up anonymous wrappers. r=dholbert
So that removing stuff under an anonymous box (such like emptying a table that
has an anonymous table cell) doesn't have to re-create the table itself, which
could trigger pathological behavior if that needs to remove more stuff (due to
it being inside an ib-split for example).

To do that, unify how we deal with anonymous wrapper boxes a little bit, which
avoids the need to special-case the grid/flex anonymous items too, and
optimizes them in the same way. E.g., emptying a div like:

  <div style="display: flex">Some random text</div>

Will no longer reframe the <div>, just remove the text and the anonymous
wrapper.

We need to remove the eTypeBlock check added in bug 500467 since now removing a
table-related pseudo might in fact need white-space to be suppressed or
un-suppressed. This is tested by some of the table-anonymous-boxes reftests.

Differential Revision: https://phabricator.services.mozilla.com/D212292
2024-06-04 08:53:27 +00:00
serge-sans-paille
1c4dbd7ed5 Bug 1899485 - Remove obsolete build/unix/run-mozilla.sh file r=glandium
It is no longer needed, commands should now be able to run without
environment manipulation.

Differential Revision: https://phabricator.services.mozilla.com/D212089
2024-06-04 08:49:54 +00:00
Hubert Boma Manilla
eaa2fb061f Bug 1900475 - [devtools] Fix Proptypes boolean to bool r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D212490
2024-06-04 08:24:57 +00:00
Iulian Moraru
9cb1764c7c Backed out changeset d24cd5b7ed54 (bug 1873150) for causing mass build bustages. CLOSED TREE 2024-06-04 13:30:15 +03:00
Iulian Moraru
3cc73b0d81 Merge mozilla-central to autoland on a CLOSED TREE 2024-06-04 12:50:40 +03:00
Iulian Moraru
97d3e8a086 Backed out changeset 2a4ee9f86e5a (bug 1862199) for causing bc failures on browser_misused_characters_in_strings.js. CLOSED TREE 2024-06-04 12:10:12 +03:00
Iulian Moraru
c6e5958e12 Backed out changeset 714e02409e7f (bug 1882523) for causing dt failures on browser_rules_completion-on-empty.js. 2024-06-04 12:09:28 +03:00
William Durand
270e8e6672 Bug 1900443 - Prefs that link to AMO shouldn't use %APP%. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D212471
2024-06-04 08:22:03 +00:00
Hubert Boma Manilla
9089193485 Bug 1900405 - Update MDN compat data (5.5.31) r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D212451
2024-06-04 08:20:32 +00:00
oana.horvath
067c567d3a Bug 1859489 - Fix tests with redirected SUMO URLs r=ajoltan
Try runs are green https://treeherder.mozilla.org/jobs?repo=try&revision=4510b16a78301e98238674590266256d9f7ae11d&selectedTaskRun=FL2e3Cd6S4OcKmt1at8Dww.0

Differential Revision: https://phabricator.services.mozilla.com/D212415
2024-06-04 08:15:17 +00:00
Nicolas Chevobbe
662649f8d5 Bug 1873150 - [devtools] Throw in getPreview if evaluated expression has syntax error. r=ochameau,devtools-reviewers.
This will allow us to be notified about expression we shouldn't try to evaluate.

Differential Revision: https://phabricator.services.mozilla.com/D197762
2024-06-04 08:10:11 +00:00
Jens Stutte
38dbc8112e Bug 1895438 - Do not add NS_DISPATCH_AT_END in BackgroundEventTarget::Dispatch. r=xpcom-reviewers,nika
The original intention of adding NS_DISPATCH_AT_END always when on the
same pool was to reduce the risk of spinning up unneeded threads.

Bug 1891664 introduced two changes that make this now unwanted:
- we always wait for the dispatching thread to pick up the event
- we give threads a grace timeout before shutting them down

So before bug 1891664 landed, this flag would just have influenced
if we create a new thread, but if there was an idle thread, the event
would just process immediately and in parallel without any latency.

Now the event will wait for the dispatching thread to become idle if
NS_DISPATCH_AT_END is set, which might increase the latency if we are
not at the end of the dispatching event as we are instead in the case of
TaskQueue dispatches.

What's more, the grace timeout reduces the risk of noise from frequent
thread creation and destruction, such that creating a new thread when
there is load we can immediately serve is actually best for latency.

Differential Revision: https://phabricator.services.mozilla.com/D212399
2024-06-04 07:20:11 +00:00
Nicolas Silva
9f044b1b7c Bug 1900022 - Rename init_transfom_vs/fs into rectangle_aa_vertex/fragment. r=gw
The new names better match what the functions are about. There used to be a 1-1 relation betwee transforms and antialiasing, but that's not true anymore with SVG rects.

Differential Revision: https://phabricator.services.mozilla.com/D212277
2024-06-04 07:18:47 +00:00
Nicolas Silva
bbafa0bcc2 Bug 1900022 - Rename SAMPLE_AS_MASK into IS_MASK and move to the base quad shader. r=gw
The feature could be used by other shaders, for example gradient masks currently fall back to blob images but we should use shaders for them instead.

Differential Revision: https://phabricator.services.mozilla.com/D212276
2024-06-04 07:18:47 +00:00
Nicolas Silva
d09dbe0497 Bug 1900022 - Explain what coordinate space is involved for each quad rendering strategy. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D212275
2024-06-04 07:18:46 +00:00
Nicolas Silva
e0a125bfe2 Bug 1900022 - Rename push_quad into prepare_quad. r=gw
It gives a bit more context about where the function fits in the overall pipeline (the prepare phase).

Differential Revision: https://phabricator.services.mozilla.com/D212274
2024-06-04 07:18:46 +00:00
Nicolas Silva
25a7edba47 Bug 1900022 - Rename APPLY_DEVICE_CLIP into APPLY_RENDER_TASK_CLIP. r=gw
I think that it's more informative to explain what the clip represents than its coordinate space in the name of the flag. The documentation for the flag is extended to explain the coordinate space and its relation with the render task rect.

Differential Revision: https://phabricator.services.mozilla.com/D212272
2024-06-04 07:18:46 +00:00
Mike Hommey
2ea485c39c Bug 1898413 - Revert clang 18 change that causes regressions in some speedometer tests. r=firefox-build-system-reviewers,sergesanspaille
This has the potential to regress other things, and if that happens,
we'll balance the pros and cons. But first, let's attempt this.

Differential Revision: https://phabricator.services.mozilla.com/D212516
2024-06-04 06:49:43 +00:00
Vincent Hilla
ac888af96f Bug 1862199 - Report invalid pattern attribute together with the regex flag. r=dom-core,peterv,iain
Differential Revision: https://phabricator.services.mozilla.com/D208367
2024-06-04 06:47:30 +00:00
Iulian Moraru
9caed28603 Backed out changeset e63e0129d5a6 (bug 1900400) for causing mochitest-plain failures. CLOSED TREE 2024-06-04 09:32:58 +03:00
Nicolas Chevobbe
4dcfd2ed8f Bug 1882523 - [devtools] Close inplace editor autocomplete on Escape. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D211567
2024-06-04 05:19:58 +00:00
scottdowne
9f9cbb32d0 Bug 1900137 - Home and newtab turn on wallpaper for nightly r=home-newtab-reviewers,webdriver-reviewers,whimboo,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D212334
2024-06-04 03:48:47 +00:00
Iulian Moraru
6a8043e4b1 Backed out changeset e63e0129d5a6 (bug 1900400) for causing mochitest-plain failures. CLOSED TREE 2024-06-04 09:32:58 +03:00
Mozilla Releng Treescript
4935644e1a no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
dsb -> f842f44a0c8f9ec613597434358ca445574f2b66
es-AR -> fe19769fb4903c69d343346e1d15c9d90df72ae3
es-CL -> b04a267c9804cd8cac0ffd43fa8adb684ea1ab1b
hsb -> edab5e11edef58993c1bdd1271779f9d7d261f4c
it -> 0a85e8c176eb790f51d09f1a99ae2659b051633c
ko -> ae7537044fe0bcfb74b234e0fe6fc840e0f204cf
nn-NO -> 097f76ac941f0f3a1f4476a334a14a272cec6433
ru -> 76c948a36f488964d00e6e834ca0ba03399d46e8
sv-SE -> 9bad63c73edf862f82bcdf0ba6e070e027b7ed22
zh-TW -> a70c468bacc18d6320b81325c159d2ec45870a89
2024-06-04 07:02:51 +00:00
Boris Chiou
6203ad286b Bug 1893409 - Make getCSSStyleRules() work for starting style as well. r=layout-reviewers,firefox-style-system-reviewers,nchevobbe,emilio
Update the API, `nspectorUtils.getCSSStyleRules`. Add one extra
argument so the user can choose whether we should return the starting
style, for a given element, at this moment.

Differential Revision: https://phabricator.services.mozilla.com/D209318
2024-06-04 03:15:00 +00:00
Boris Chiou
300659b5ee Bug 1893409 - Move resolve_starting_style() and after_change_style() into StyleResolverForElement. r=layout-reviewers,firefox-style-system-reviewers,emilio
We would like to add an API to resolve the starting style for DevTools, so
make them public.

Differential Revision: https://phabricator.services.mozilla.com/D210087
2024-06-04 03:14:59 +00:00
Lee Salzman
632bd63535 Bug 1897745 - Check for null surface in ScaleDataSourceSurface. r=aosmond
Every use of ScaleDataSourceSurface checks for a null result and just spits out
a warning. So here it seems reasonable to check the input is valid, and if not,
just spit out that null result. This should give us more consistent behavior
between debug and opt builds.

Differential Revision: https://phabricator.services.mozilla.com/D212501
2024-06-04 02:41:30 +00:00
acseh
0fea71e743 Backed out 2 changesets (bug 1850834) for causing wpt failures on computed-style.html CLOSED TREE
Backed out changeset d5e50086ff48 (bug 1850834)
Backed out changeset 8f5e711b42ae (bug 1850834)
2024-06-04 05:15:54 +03:00
Tamas Szentpeteri
41444f1fe8 Backed out 11 changesets (bug 1892009, bug 1892020, bug 1892014, bug 1895750, bug 1892015, bug 1896920, bug 1892013, bug 1892010) for causing gv-junit fails related to PromptDelegateTest#fedCMProviderPromptTest. CLOSED TREE
Backed out changeset 737fde266c8d (bug 1896920)
Backed out changeset 1f466fdca856 (bug 1896920)
Backed out changeset 0843abab6f3b (bug 1896920)
Backed out changeset 64ba753ffaef (bug 1895750)
Backed out changeset cdcb4997f7bc (bug 1892020)
Backed out changeset a22c76f82cbd (bug 1895750)
Backed out changeset 01da838f2fd0 (bug 1892009)
Backed out changeset f09f5993b414 (bug 1892015)
Backed out changeset da1e40d9d0ca (bug 1892014)
Backed out changeset d2be17744b0b (bug 1892013)
Backed out changeset 2afba8f5e25b (bug 1892010)
2024-06-04 04:22:15 +03:00
Mike Hommey
cc3cc60ea9 Bug 1900164 - Add missing empty template argument list in function call. r=masayuki
clang 19 will start complaining about it. See
https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96

Differential Revision: https://phabricator.services.mozilla.com/D212496
2024-06-04 01:19:41 +00:00
Maxx Crawford
48545554f3 Bug 1897233 - Add feature highlight for Wallpapers r=home-newtab-reviewers,fluent-reviewers,omc-reviewers,aminomancer,bolsson,thecount,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D212157
2024-06-04 00:54:00 +00:00
scottdowne
9feb08446d Bug 1899848 - Home and newtab turn on weather widget for nightly r=nanj,home-newtab-reviewers,nbarrett,webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D212333
2024-06-04 00:52:27 +00:00
Ben Hearsum
6bd22fef01 Bug 1877113: add support for bumping multiple l10n changesets files r=releng-reviewers,taskgraph-reviewers,gabriel
This is prep work for enabling pulling l10n strings from github. When we do that, we'd like to start bumping the mobile changesets file alongside the desktop one. At the moment it simply pulls `default` for all revisions.

Differential Revision: https://phabricator.services.mozilla.com/D212431
2024-06-04 00:25:08 +00:00
Ben Hearsum
03f16f7693 Bug 1900059: Get rid of references to 'six' in gittool.py to fix multil10n.py usage of gittool.py r=releng-reviewers,jcristau,hneiva
The `multil10n.py` mozharness script that gets run as part of `fx_desktop_build.py` (which we use to make android builds...) ends up in a virtualenv without this installed. It's no longer needed anyways as Python 2 is long gone, so dropping the references to `six` is the best fix.

Differential Revision: https://phabricator.services.mozilla.com/D212390
2024-06-04 00:25:08 +00:00
Ben Hearsum
f849fea93b Bug 1900059: Support l10n strings from github in multilocale build script r=releng-reviewers,jcristau
This script ends up using the same mixin that was patched in https://bugzilla.mozilla.org/show_bug.cgi?id=1881272, so all we need to do is make gittool.py available to it.

Differential Revision: https://phabricator.services.mozilla.com/D212389
2024-06-04 00:25:07 +00:00
Ben Hearsum
3a8a03649e Bug 1881272: add support for pulling l10n strings from git r=eemeli,releng-reviewers,jcristau
This turned out to be quite straightforward and boring. Aside from the plumbing required to allow the git repo in the config and make `gittool.py` available, the actual changes to the code are a simple fork that clone the git repository if it's there, and fall back to the old repo (and logic) if it's not.

Because the git repository is laid out the same way as the directory we clone the current Mercurial repositories into, everything else Just Works (tm).

I did two simple tests of this on try:
* https://treeherder.mozilla.org/jobs?repo=try&revision=ccbf29629b30347aa8acf166ee53d8cd4670d9e0 is without git enabled
* https://treeherder.mozilla.org/jobs?repo=try&revision=f71f6b91f8e6aea0566d42fea15c19b8a681e881 is with git enabled.

Differential Revision: https://phabricator.services.mozilla.com/D211986
2024-06-04 00:25:07 +00:00
Ben Hearsum
9a5f229fe9 Bug 1881272: ignore rare, recoverable error condition during l10n repack r=eemeli
Differential Revision: https://phabricator.services.mozilla.com/D211985
2024-06-04 00:25:07 +00:00
Ben Hearsum
3a8311cb6f Bug 1881272: Fix urllib imports in gittool.py r=releng-reviewers,jcristau
Ideally we should drop these obfuscated embedded modules, but I would prefer not to block on that for the moment. So in the meantime, here is the raw diff of the decoded version:
--- old.git.py	2024-05-27 15:06:58.352627967 -0400
+++ git.py	2024-05-27 13:58:50.365958418 -0400
@@ -1,7 +1,7 @@
 """Functions for interacting with hg"""
 import os
 import subprocess
-import urllib
+import urllib.parse
 import re

 from util.commands import run_cmd, remove_path, run_quiet_cmd
@@ -28,8 +28,8 @@

 def get_repo_name(repo):
     bits = urllib.parse.urlsplit(repo)
-    host = urllib.quote(bits.netloc, "")
-    path = urllib.quote(bits.path.lstrip("/"), "")
+    host = urllib.parse.quote(bits.netloc, "")
+    path = urllib.parse.quote(bits.path.lstrip("/"), "")
     return os.path.join(host, path)

Differential Revision: https://phabricator.services.mozilla.com/D211984
2024-06-04 00:25:06 +00:00
Ben Hearsum
60f4d19599 Bug 1881272: remove support for unused 'l10n_repos', 'tag_override', and 'gecko_locale_revisions' in mozharness r=releng-reviewers,ahal,jcristau
I didn't do archaeology on these, but I checked the current tree for usages of the underscored and hyphenated versions of these. There are a handful of places where they get passed around, but I was unable to find anywhere that actually _sets_ them.

Differential Revision: https://phabricator.services.mozilla.com/D211983
2024-06-04 00:25:06 +00:00
Mozilla Releng Treescript
6f745c8483 no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-06-04 00:21:11 +00:00
Karl Tomlinson
6734e99325 Bug 1898684 Use AutoJSAPI while run()ing JS::Dispatchable r=dom-core,peterv
Differential Revision: https://phabricator.services.mozilla.com/D211516
2024-06-03 23:32:00 +00:00
Byron Campen
989ff5c697 Bug 1893805: Do not throw in setParameters if the compat mode has already forgiven the lack of a getParameters. r=jib
Also, improve the warning when a setParameters has a corresponding getParameters,
but it just too late.

Differential Revision: https://phabricator.services.mozilla.com/D210380
2024-06-03 23:24:52 +00:00
Byron Campen
eaa7a16351 Bug 1893805: Test that a late setParameters doesn't throw in compat mode. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D210379
2024-06-03 23:24:51 +00:00
Byron Campen
f054723379 Bug 1534687: Implement RTCRtpParameters.codecs and RTCRtpReceiver.getParameters r=jib,webidl,smaug
We do not mark this field as required right now, because we still have users
that synthesize RTCRtpParameters instead of tweaking the return of
getParameters. The compat mode will ignore any attempt to modify .codecs,
otherwise this will result in the error specified in webrtc-pc.

Differential Revision: https://phabricator.services.mozilla.com/D209305
2024-06-03 23:24:51 +00:00
Byron Campen
be4ccd11a1 Bug 1534687: Test cases for RTCRtpParameters.codecs. r=jib
Includes some tests that compat mode ignores any attempt to set .codecs.
Also includes some miscellaneous wpt fixes and meta file updates.

Differential Revision: https://phabricator.services.mozilla.com/D209304
2024-06-03 23:24:51 +00:00