Граф коммитов

826379 Коммитов

Автор SHA1 Сообщение Дата
serge-sans-paille 23f6cd371e Bug 1804226 - fma3 support for AudioNodeEngine r=padenot
Update xsimd dependency to integrate an fma portability patch.
Add support for fma and sse4.2 detection.

Differential Revision: https://phabricator.services.mozilla.com/D163927
2023-01-13 13:31:44 +00:00
serge-sans-paille 938cca0cc4 Bug 1801557 - Use xsimd to implement dom/media/webaudio/AudioNodeEngine r=padenot
This patch contains a generic implementation of the algorithms in
AudioNodeEngine.cpp, and this generic implementation is instantiated for
SSE2 and NEON. Note that with this approach, supporting AVX would only
require a few lines.

Differential Revision: https://phabricator.services.mozilla.com/D162494
2023-01-13 13:31:43 +00:00
serge-sans-paille 149f737bd0 Bug 1801557 - import xsimd to third_party r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162537
2023-01-13 13:31:43 +00:00
William Durand a3f1546e39 Bug 1809431 - Allow optional `extension_ids` to be declared as an empty array. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D166526
2023-01-13 13:24:12 +00:00
Jan Varga 7aeb3c3248 Bug 1809759 - Shutdown FileSystemManager before releasing it; r=dom-storage-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D166679
2023-01-13 12:03:26 +00:00
Jan de Mooij 988da77e66 Bug 1809180 part 2 - Mark {Typed}Array find/filter builtins as inlinable. r=iain
This matches `map`, `some`, `forEach`, etc.

Depends on D166639

Differential Revision: https://phabricator.services.mozilla.com/D166640
2023-01-13 11:33:13 +00:00
Jan de Mooij 9cc61479ab Bug 1809180 part 1 - Remove some unnecessary vars in self-hosted code. r=iain
This matches code in other builtins and shrinks the bytecode a little.

Differential Revision: https://phabricator.services.mozilla.com/D166639
2023-01-13 11:33:12 +00:00
Gregory Pappas 773f9799d9 Bug 1779400 - Let omnibox API work in private windows r=mak
Differential Revision: https://phabricator.services.mozilla.com/D166681
2023-01-13 10:55:59 +00:00
Dão Gottwald 2441caa4d1 Bug 1809705 - Implement "Learn more about Firefox Suggest" menu item in the urlbar result menu. r=adw,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D166578
2023-01-13 10:50:16 +00:00
Tim Huang 7710c2e66e Bug 1808211 - Add a Nimbus feature that controls the ETP level2 list pref for the private browsing mode. r=barret
This patch adds a Nimbus feature for the pref-setting experiment. The
Nimbus feature controls the ETP level 2 list pref for the private
browsing mode.

Differential Revision: https://phabricator.services.mozilla.com/D165952
2023-01-13 09:53:19 +00:00
Martin Robinson 162cce2f3e Bug 1663685 - Do not apply content-visibility to elements with a principal internal table box r=emilio
The code for determining this is now shared with that for `contain: size`,
since the specification says that `content-visibility` follows `contain:
size` in determining applicability.

Differential Revision: https://phabricator.services.mozilla.com/D166689
2023-01-13 09:13:58 +00:00
Edgar Chen 66a41e0e4c Bug 1809918 - Make WidgetPointerHelper use int32_t for twist; r=smaug
For Windows, the `twist` is from `POINTER_PEN_INFO::rotation`, https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-pointer_pen_info,
which is `UINT32`, but the value is normalized in a range of 0 to 359, so it is
safe to convert into `int32_t`.

For Mac, the `twist` is from `NSEvent::rotation`, https://developer.apple.com/documentation/appkit/nsevent,
which is `Float`, but we normalize it in a range of 0 to 359.

Differential Revision: https://phabricator.services.mozilla.com/D166726
2023-01-13 08:35:44 +00:00
Edgar Chen 56e854ac62 Bug 1809918 - Make WidgetPointerHelper use int32_t for tiltX/tiltY; r=smaug
For Windows, the `tiltX`/`tiltY` are from `POINTER_PEN_INFO::tiltX`/`tiltY`,
https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-pointer_pen_info,
which are `INT32`.

For Mac, the `tiltX`/`tiltY` are from `NSEvent::tilt`, https://developer.apple.com/documentation/appkit/nsevent,
which is a `CGPoint`, https://developer.apple.com/documentation/corefoundation/cgpoint,
the properties are `Double`, using `int32_t` still makes more sense.

Differential Revision: https://phabricator.services.mozilla.com/D166725
2023-01-13 08:35:44 +00:00
James Teh 89292073b4 Bug 1809374: Enable Cache the World on early beta. r=eeejay,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166628
2023-01-13 08:15:36 +00:00
Mozilla Releng Treescript 76ca6439dc no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
it -> 930059cd8cffd20d11952e6c3ad13ee0e5f44b86
lo -> e8cc79f51a0f127304ff6d8afe993e452dcf4fe6
nn-NO -> 27a438ddb37d07b929c919ce3881fc6ff9a71ba2
2023-01-13 07:00:07 +00:00
Cristian Tuns 3d3df76b69 Backed out changeset 51619d94e92d (bug 1809630) for causing reftest failures on percent-height-overflowing-image-1.html CLOSED TREE 2023-01-13 01:11:46 -05:00
Emilio Cobos Álvarez 4dc70bafa2 Bug 1809739 - Video reftests pass with software rendering.
MANUAL PUSH: Orange fixup CLOSED TREE
2023-01-13 06:48:40 +01:00
Emilio Cobos Álvarez aaa4049b01 Bug 1809630 - Make thin scrollbars on Windows have a reasonable minimum size. r=tnikkel,layout-reviewers
The way the code was set up before this patch ends up causing minimum
scrollbar sizes to be 0x0 for thin (non-overlay) scrollbars.

This is rather problematic, since it means that we would always try to
place the scrollbar even if it doesn't fit (think of an element with
height: 0).

This causes a lot of extra reflow, which with very complex layouts is
even worse, because the extra scrollframe reflows cause us to miss the
flex caches, causing O(n^2) performance.

Add assertions to make sure we never end up with a zero minimum
scrollbar size, and change the size computation to match for both
thin and thick scrollbars.

Differential Revision: https://phabricator.services.mozilla.com/D166756
2023-01-13 04:49:55 +00:00
Emilio Cobos Álvarez 523b76688b Bug 1809739 - Stop using debug in reftest conditions. r=smaug
It's always true because of

  https://searchfox.org/mozilla-central/rev/fb9a504ca73529fa550efe488db2a012a4bf5169/js/xpconnect/src/Sandbox.cpp#538

Removed the !nativeThemePref because those should just be removed (we
don't use the native theme in content anymore), and tried to re-enable
the geckoview ones because they were hitting issues on old layers code
that WebRender shouldn't be hitting.

Differential Revision: https://phabricator.services.mozilla.com/D166597
2023-01-13 04:01:03 +00:00
Lee Salzman 99f581c266 Bug 1807988 - Only set BPP and stride when allocation succeeds. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D166702
2023-01-13 03:50:56 +00:00
Emilio Cobos Álvarez 825b82d6b4 Bug 1808836 - Remove noisy warning.
This was useful when debugging the menu tests and so on, but the
condition is not unexpected nor rare and thus shouldn't warn.

(No review, trivial debug-only)

Differential Revision: https://phabricator.services.mozilla.com/D166758
2023-01-13 03:47:13 +00:00
Mike Hommey 2f0081edc5 Bug 1810054 - Work around rustc compilation error with lld trunk. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166749
2023-01-13 02:25:32 +00:00
Timothy Nikkel 38a10cda4c Bug 1810055. Truncate some uri specs recorded by the profiler to avoid crashes. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D166742
2023-01-13 01:38:13 +00:00
Norisz Fay b04344a2fc Backed out changeset 38d7e4278c17 (bug 1790287) for causing url related failures CLOSED TREE 2023-01-13 03:33:01 +02:00
Mike Hommey 8e5df06970 Bug 1782344 - Avoid getting ccache stats when ccache is not enabled. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166635
2023-01-13 00:47:57 +00:00
Mike Hommey 972d84c63d Bug 1782344 - With ccache 3.7+, process the output of --print-stats rather than -s. r=firefox-build-system-reviewers,ahochheiden
--print-stats outputs machine-parsable data, with all fields present
even when they are 0.

Differential Revision: https://phabricator.services.mozilla.com/D166634
2023-01-13 00:47:57 +00:00
Mike Hommey 48c0f7642b Bug 1782344 - Avoid the duplication of stats_zeroed in CCacheStats serialization. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166633
2023-01-13 00:47:57 +00:00
Mike Hommey 9d57967abf Bug 1782344 - Fix the handling of "called for link" data in ccache 4.4+. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166632
2023-01-13 00:47:56 +00:00
Mike Hommey 2cef595382 Bug 1782344 - Remove cache directory and configs from CCacheStats. r=firefox-build-system-reviewers,ahochheiden
The info is unused and not part of the ccache --print-stats output that
we're going to use shortly.

Differential Revision: https://phabricator.services.mozilla.com/D166631
2023-01-13 00:47:56 +00:00
Mike Hommey 708b0943a7 Bug 1782344 - Test the data CCacheStats gathers. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166630
2023-01-13 00:47:55 +00:00
Andrew McCreight 3e6999e839 Bug 1809697 - Re-allow the gamepad test service in fuzzing builds. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D166591
2023-01-13 00:31:55 +00:00
Gijs Kruitbosch 97f2acbb17 Bug 1810040 - drop dead references to EventUtils.js.js (note double js) from pathutils test, r=barret
Differential Revision: https://phabricator.services.mozilla.com/D166739
2023-01-13 00:26:26 +00:00
alwu 6a283b2eab Bug 1809983 - part2 : support mochitest-browser-media in the media-full preset. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166728
2023-01-13 00:04:13 +00:00
alwu 0fd970dca3 Bug 1809983 - part1 : split media browser tests from mochitest-browser-chrome into mochitest-browser-media. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166705
2023-01-13 00:04:13 +00:00
Brad Werth ad91b3dfb5 Bug 1798545: Emit low power telemetry less frequently during testing. r=alwu
Ideally, this pref wouldn't be exposed to users at all, because if a user
changes the value, it will cause our telemetry to be over or under sampled
for that user. That's a small risk to take since most users don't change
pref values.

Differential Revision: https://phabricator.services.mozilla.com/D160963
2023-01-12 23:57:46 +00:00
Butkovits Atila 4d039326c3 Backed out changeset 8632fb362202 (bug 1807988) for causing failures at object-fit-contain-png. CLOSED TREE 2023-01-13 02:00:41 +02:00
Valentin Gosu ade940740e Bug 1790287 - Search for xn-- prefix ignoring case r=necko-reviewers,kershaw
The crash was caused by us loading `http://a.b.c.XN--pokxncvks/`
Because we searched for xn-- case sensitively, the first time around
the URL would parse, and would be lowercased, but when deserializing
the nsIPrincipal we would then fail to parse it.

Differential Revision: https://phabricator.services.mozilla.com/D166649
2023-01-12 22:36:58 +00:00
Lee Salzman 5092f78230 Bug 1807988 - Only set BPP and stride when allocation succeeds. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D166702
2023-01-12 22:27:30 +00:00
Mark Striemer 7f36c7d341 Bug 1810004 - Allow hr in panel-list to hide on [hidden] r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D166713
2023-01-12 22:22:45 +00:00
Drew Willcoxon 79112dc4a9 Bug 1809201 - Use regionalPrefsLocales for the weather suggestions temperature unit. r=nanj
This replaces `Services.locale.appLocaleAsBCP47` with `regionalPrefsLocales[0]`
when determining the temperature unit to use for weather suggestions.

In summary, that means two things:

* When the language of the OS locale is the same as the language of the app's
  locale, weather suggestions will use the OS locale. e.g., if your OS locale is
  en-CA but your Firefox is en-US, weather will prefer en-CA since both locales
  are English, and so temperatures will be shown in C. This is a change from the
  current behavior, where they would be shown in F.
* When the user checked the "Use your operating system settings..." checkbox in
  about:preferences for unit formatting, weather suggestions will always use the
  OS locale, regardless of the app locale.

This is due to how `regionalPrefsLocales` works [1].

This revision also makes a couple of changes to code added in D166216:

* Instead of storing both C and F temperatures in the UrlbarResult payload,
  store only the user's appropriate temperature. This allows the xcpshell test
  (test_weather.js) to test locale behavior instead of having to do it in a
  browser test, and there's no reason not to do it anyway.
* Replace the hardcoded expected suggestion properties in test_weather.js with
  the ones from `WEATHER_SUGGESTION`, as was the case before D166216.

[1] `regionalPrefsLocales` is implemented [here](https://searchfox.org/mozilla-central/rev/d62c4c4d5547064487006a1506287da394b64724/intl/locale/LocaleService.cpp#485). If
`intl.regional_prefs.use_os_locales` is true, `regionalPrefsLocales` returns the
user's OS locales. The checkbox for this pref [is visible](https://searchfox.org/mozilla-central/rev/893a8f062ec6144c84403fbfb0a57234418b89cf/browser/components/preferences/main.js#1485-1491) only when the user's
primary OS locale doesn't match the app's primary locale. The full label for the
checkbox is [here](https://searchfox.org/mozilla-central/rev/d62c4c4d5547064487006a1506287da394b64724/browser/locales/en-US/browser/preferences/preferences.ftl#324). The pref defaults to false.

If `intl.regional_prefs.use_os_locales` is false, `regionalPrefsLocales` returns
the OS locales only if the OS locale's language is the same as the app locale's
language. Otherwise it returns the app's locales.

In either case, if an error is encountered, the app's locales are returned.

Differential Revision: https://phabricator.services.mozilla.com/D166722
2023-01-12 22:04:19 +00:00
Norisz Fay 298fa45dea Backed out changeset 29c0edec2063 (bug 1807988) for causing build bustages CLOSED TREE 2023-01-13 00:16:24 +02:00
Butkovits Atila b3c00ab7ae Backed out 4 changesets (bug 1806605) as requested by Jib. CLOSED TREE
Backed out changeset 56989b96892c (bug 1806605)
Backed out changeset d5cc6cfba0ee (bug 1806605)
Backed out changeset e85b278387fc (bug 1806605)
Backed out changeset 0fa64a630cc7 (bug 1806605)
2023-01-12 23:46:47 +02:00
Lee Salzman 4de8903900 Bug 1807988 - Only set BPP and stride when allocation succeeds. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D166702
2023-01-12 21:32:45 +00:00
Mike Hommey 527cda6f68 Bug 1806470 - Still set some build-id on local builds. r=firefox-build-system-reviewers,andi
Bug 1796518 removed the build-id on local builds because it's faster to
do so, but it may be desirable to still have /some/ build-id, even if
it's random, so use a uuid on local builds instead of none at all.

Differential Revision: https://phabricator.services.mozilla.com/D166615
2023-01-12 20:54:52 +00:00
Micah Tigley 7de32ecbc5 Bug 1805233 - Replace created/updated/used times with timeline. r=sgalich,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D164469
2023-01-12 20:23:50 +00:00
Kelly Cochrane 16717fca72 Bug 1804244 - Remove existing tabs in Recently Closed tabs list in Fx View if not found in latest closed tabs data r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D166208
2023-01-12 20:20:55 +00:00
Edgar Chen bacb13e934 Bug 1809920 - Make WidgetPointerEvent use int32_t for mWidth/mHeight; r=smaug
The value are assigned from `Touch::mRadius`, https://searchfox.org/mozilla-central/rev/893a8f062ec6144c84403fbfb0a57234418b89cf/dom/events/PointerEventHandler.cpp#550-551,
which is a `IntPointTyped<LayoutDevicePixel>`, https://searchfox.org/mozilla-central/rev/893a8f062ec6144c84403fbfb0a57234418b89cf/gfx/2d/Point.h#66.

Differential Revision: https://phabricator.services.mozilla.com/D166696
2023-01-12 20:17:51 +00:00
Ryan VanderMeulen 3bfc7ebe13 Backed out changeset 34c1c9be027d (bug 1769534) for causing bug 1801186. 2023-01-12 08:50:27 -05:00
Morgan Rae Reschenberg 455f71d2fd Bug 1808828: Compute ancestor transform for continuations that span multiple subtrees r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D166485
2023-01-12 19:10:12 +00:00
Norisz Fay 35d1b4e66c Backed out changeset 2acf2ea39486 (bug 1804244) for causing failures on browser_recently_closed_tabs.js CLOSED TREE 2023-01-12 21:17:15 +02:00