Commit Graph

781042 Commits

Author SHA1 Message Date
Tom Schuster
3b37b2b050 Bug 1735664 - Implement the WritableStream APIs. r=mgaudet,smaug
This is a complete implementation of WritableStreams including AbortSignal that weren't supported
by the SpiderMonkey implementation.

There are still some XXX comments, but an early review is probably better for this.

Differential Revision: https://phabricator.services.mozilla.com/D128419
2021-12-31 11:25:09 +00:00
Andreea Pavel
0f5c5fe340 Backed out changeset c6ce8d30824c (bug 1747532) for multiple failures on osx on a CLOSED TREE 2021-12-31 13:14:20 +02:00
Mike Hommey
ff77eda284 Bug 1747532 - Default to lld for mac builds. r=firefox-build-system-reviewers,andi
When using clang >= 13.0

Differential Revision: https://phabricator.services.mozilla.com/D134862
2021-12-31 09:00:38 +00:00
Mike Hommey
5557fcdd00 Bug 1747532 - Add clang version mappings for more versions of Xcode. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134861
2021-12-31 08:53:46 +00:00
Mike Hommey
63fa2c3924 Bug 1747533 - Apply clang trunk fix for crashes printing diagnostic warnings. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134908
2021-12-31 08:41:17 +00:00
Mike Hommey
d179837cf2 Bug 1747533 - Update clang pass manager flags handling. r=firefox-build-system-reviewers,andi
- Avoid the flag selection silently not enabling the new pass manager
  when --enable-new-pass-manager is passed explicitly.
- Avoid adding the -fexperimental-new-pass-manager to clang >= 13, which
  has it enabled by default. Likewise for the linker flags.
- Remove the force-enable of the new pass manager with clang < 12 on
  automation, since we're using version 13 anyways.
- Account for the fact that both lld and ld64 can pass the
  -import-hot-multiplier flag to the LTO plugin on mac builds, which
  effectively will set it for the first time on mac, and might improve
  performance.

Differential Revision: https://phabricator.services.mozilla.com/D134860
2021-12-31 08:41:16 +00:00
Mike Hommey
69654fc5e6 Bug 1748055 - Remove the leading slash from _BINPATH and _RESPATH. r=firefox-build-system-reviewers,andi
It's transformed into c:/mozilla-build/msys/ on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D134910
2021-12-31 08:02:39 +00:00
Mike Hommey
4466177f5c Bug 1748054 - Don't allow a blatantly invalid linker during configure. r=firefox-build-system-reviewers,andi
We cannot be sure about unknown (that's what we might get on some tier-3
platforms), but if we get e.g. "ld64" while building for Linux, that's
clearly wrong.

Differential Revision: https://phabricator.services.mozilla.com/D134909
2021-12-31 08:02:39 +00:00
Mike Hommey
d9792211f1 Bug 1748056 - Build libc++ in clang for Windows. r=firefox-build-system-reviewers,andi
This brings parity with other platforms.

Differential Revision: https://phabricator.services.mozilla.com/D134911
2021-12-31 08:00:01 +00:00
Mike Hommey
d5f5d87497 Bug 1747970 - Add extern "C" to symbols checks using the C++ compiler. r=firefox-build-system-reviewers,mhentges
That's what AC_CHECK_FUNC does, and is necessary to check functions in
the C++ runtime (e.g. __cxa_demangle).

Differential Revision: https://phabricator.services.mozilla.com/D134856
2021-12-31 06:50:29 +00:00
Mike Hommey
0be843a7f9 Bug 1747970 - Remove check for fdatasync. r=firefox-build-system-reviewers,mhentges
AC_CHECK_FUNC doesn't automatically set HAVE_$function defines
(AC_CHECK_FUNCS does, confusing much?). Which means practically
speaking, the check is not useful. There _are_ #ifdef HAVE_FDATASYNC
in sqlite, but fdatasync is notably broken on older kernels, and while
lmdb has runtime workarounds for that, sqlite doesn't. It might be fine
to enable the sqlite code because those kernels are old, but this is
not a straightforward decision to make at the build system level, so
we'll handle that in a followup.

Differential Revision: https://phabricator.services.mozilla.com/D134855
2021-12-31 06:50:29 +00:00
Mike Hommey
c549b5fe68 Bug 1747970 - Remove check for lchown. r=firefox-build-system-reviewers,mhentges
HAVE_LCHOWN is only used in nsinstall.c, for a feature we don't use.
Moreover it would need to be tested with the host compiler/headers, but
function checks are tested with the target compiler/headers so it's not
necessarily accurate. Therefore, we just remove the check.

Differential Revision: https://phabricator.services.mozilla.com/D134854
2021-12-31 06:50:29 +00:00
Butkovits Atila
668cdf8def Bug 1744028 - disable browser_103_telemetry on Linux_64_opt for frequent failures. r=intermittent-reviewers,necko-reviewers,jmaher,kershaw DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D134754
2021-12-31 06:19:33 +00:00
Kershaw Chang
62d31804fd Bug 1747372 - Never use ChildDNSService in socket process, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D134610
2021-12-31 05:40:18 +00:00
Mike Hommey
23f2890ff5 Bug 1748046 - Don't quote the first element in toolchain task commands. r=taskgraph-reviewers,aki
This gets us closer to what we had before bug 1743742.

Differential Revision: https://phabricator.services.mozilla.com/D134893
2021-12-31 05:02:40 +00:00
Barret Rennie
8fc39dd968 Bug 1746675 - Port GMPExtractorWorker.jsm and GMPInstallManager.jsm to IOUtils r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134471
2021-12-31 01:43:18 +00:00
Mike Hommey
7659fc415d Bug 1747782 - Use a more compact representation of relocations in elfhack. r=gsvelto
Use the SHT_RELR format which significantly improves the size reduction
from elfhack:

   total size of .rel.* + .elfhack.* sections

                       x86      x86_64   android-arm
   plain             3532904   10739544    3488888
   current-elfhack   1085815    1155994    1042048
   relr-elfhack       130219     193552     113840

Differential Revision: https://phabricator.services.mozilla.com/D134756
2021-12-31 01:32:52 +00:00
Kelsey Gilbert
1c16bd06c0 Bug 1748019 - Add GRAPHICS profile markers to WebGLParent. r=gfx-reviewers,lsalzman
Also:
* Add label for WebGLContext::Create.
* *Remove* label for WebGLContext::Draw*, since the labels for these are
  showing up in draw-call-heavy profiles. (~1.5%)
* WebGLContext::UniformData continues to not have a label, since that
  would likely add another 2-3% labelling overhead.
* Add missing !mHost check to RecvTexImage.

Differential Revision: https://phabricator.services.mozilla.com/D134883
2021-12-31 00:56:07 +00:00
Robert Mader
828392669a Bug 1748038 - Ship media.rdd-ffmpeg.enabled to release, r=jrmuizel
With bug 1743926 apparently done, bug 1744777 so far appears to be the only
reason not to ship to release. Given that bug 1744777 likely also applies
to VP9, that's probably acceptable. On the pro-side are better sandboxing
and easy to enable VAAPI decoding.
So let's ship.

Differential Revision: https://phabricator.services.mozilla.com/D134890
2021-12-31 00:41:58 +00:00
Harry Twyford
eaaa9cbd4d Bug 1693397 - Add the UrlbarQueryContext lifecycle to the in-tree docs. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D134875
2021-12-31 00:36:53 +00:00
Matthew Gregan
ba3e6065c0 Bug 1748037 - Update AudioIPC macOS branch to 62086d05. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134889
2021-12-31 00:09:44 +00:00
Narcis Beleuzu
5125801679 Backed out 2 changesets (bug 1745869) for bc failures on browser_hidden_iframe.js . CLOSED TREE
Backed out changeset e2dd2ff842fa (bug 1745869)
Backed out changeset 0d2bf1bbda4f (bug 1745869)
2021-12-31 00:27:32 +02:00
Norisz Fay
feadfdb6b8 Backed out changeset 6fdd8e351ba3 (bug 1747450) for causing SM bustages on simd_address.wast.js CLOSED TREE 2021-12-30 23:41:02 +02:00
Norisz Fay
5f93ec58df Backed out changeset 30a14fc76d6f (bug 1732785) for causing SM bustages on Assembler-arm.cp 2021-12-30 23:38:49 +02:00
Masatoshi Kimura
d239dee2d2 Bug 1680139 - Stop re-escaping IDN blocklisted characters in uriloader/exthandler/. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D134656
2021-12-30 20:59:12 +00:00
Mike Hommey
1acc37c7a6 Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-30 20:56:43 +00:00
Meg Viar
33573e7fbc Bug 1746657 - Only show Rally in MoreForMozilla when region is US and language is en r=preferences-reviewers,dmose,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134191
2021-12-30 20:54:53 +00:00
Mike Hommey
523b1551b3 Bug 1747783 - Add support for aarch64 to elfhack. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D134764
2021-12-30 20:52:55 +00:00
Mike Hommey
837162a71b Bug 1747783 - Use unsigned chars for fields that can have values > 127. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D134763
2021-12-30 20:52:55 +00:00
Ryan Hunt
f0cc3222ef Bug 1747450 - wasm: Update spec-tests. r=lth
This commit did a fresh pull of all our vendored
spec-test repositories. I updated all repositories instead
of just the exception-handling one so that diffs between
base and dependent proposals remained minimized.

Differential Revision: https://phabricator.services.mozilla.com/D134631
2021-12-30 20:50:34 +00:00
Ryan Hunt
2a21b0d8ba Bug 1732785 - wasm: Clobber registers before jump in throw stub. r=lth
This commit changes the throw stub to clobber most registers
before jumping to the catch landing pad. The exact details of
which registers to clobber is commented in the stub.

Differential Revision: https://phabricator.services.mozilla.com/D134630
2021-12-30 20:48:43 +00:00
Michael Froman
056d4fe039 Bug 1748017 - remove source filter section to match upstream. r=bwc
This allows generating libwebrtc build files for OpenBSD and does
_not_ change the current build output on the other supported
platforms.

Differential Revision: https://phabricator.services.mozilla.com/D134881
2021-12-30 20:16:18 +00:00
Brendan Dahl
c94d74678b Bug 1746644 - Store the reason a user persisted snapshot was created. r=mak
Change the userPersisted flag into an enum like value to capture why
the snapshot was created.

Differential Revision: https://phabricator.services.mozilla.com/D134167
2021-12-30 19:30:27 +00:00
Scott
49266e031d Bug 1747969 - Fixing Pocket newtab descriptions for remote layouts. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D134859
2021-12-30 18:52:59 +00:00
Drew Willcoxon
63ca49d9d9 Bug 1747929 - Modify UrlbarSearchUtils.enginesForDomainPrefix() so it does not include the same engine more than once when matchAllDomainLevels = true. r=harry
* Don't include partially matching engines that are already in the perfectly
  matching list
* Add a test for this and the `matchAllDomainLevels` case in general since we
  don't have one AFAICT
* The test file name ends in jsm, so change it to js

Differential Revision: https://phabricator.services.mozilla.com/D134811
2021-12-30 18:50:07 +00:00
John Lin
81520d3708 Bug 1747913 - turn on platform encoder and software fallback pref on all supported platforms. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D134785
2021-12-30 18:38:41 +00:00
Drew Willcoxon
0afc2d1ad3 Bug 1747967 - Tweak the urlbar breakout expansion animation so it aligns better with the input when it starts. r=harry,desktop-theme-reviewers
Please see the bug for details. I tested this on all three platforms.

Differential Revision: https://phabricator.services.mozilla.com/D134852
2021-12-30 18:38:27 +00:00
Narcis Beleuzu
83ef0d3b56 Backed out changeset a717ea6f73fe (bug 1746657) browser_privacy_firefoxSuggest.js . CLOSED TREE 2021-12-30 20:20:06 +02:00
Narcis Beleuzu
a18766749b Backed out changeset fbeb948af56d (bug 1680139) for bc failures browser_download_open_with_internal_handler.js 2021-12-30 20:17:25 +02:00
Emilio Cobos Álvarez
340752fa3d Bug 1745869 - Undo a change that unintentionally subtly changes behavior (makes one test fuzzy).
MANUAL PUSH: Trivial orange fix CLOSED TREE.
2021-12-30 19:28:16 +01:00
Masatoshi Kimura
04fd3c299a Bug 1680139 - Stop re-escaping IDN blocklisted characters in uriloader/exthandler/. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D134656
2021-12-30 17:32:05 +00:00
Meg Viar
f99d59644a Bug 1746657 - Only show Rally in MoreForMozilla when region is US and language is en r=preferences-reviewers,dmose,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D134191
2021-12-30 17:29:50 +00:00
Landry Breuil
c3c633a1b1 Bug 1747862 - regenerate webrtc moz.build files after bug 1744644. r=mjf 2021-12-30 17:49:24 +01:00
Landry Breuil
f5c265c660 Bug 1747862 - regenerate webrtc JSON files for openbsd support after bug 1744644. r=mjf 2021-12-30 17:44:58 +01:00
Cosmin Sabou
137239b9a4 Backed out changeset df442e234a16 (bug 1747952) for causing leaks at cupsArrayNew3. CLOSED TREE 2021-12-30 19:04:29 +02:00
Jonathan Kew
399e124cdb Bug 1747690 followup, adjust fuzzy() number for wrench reftest.
Differential Revision: https://phabricator.services.mozilla.com/D134873
2021-12-30 16:27:05 +00:00
Jonathan Kew
ba342a39a4 Bug 1747690 - Add WPT reftests. r=emilio
The CSS-text-decoration spec doesn't explicitly say anything about maintaining the dotted-line pattern
continuously across direction-run or inline-element boundaries, which is what this is testing,
but I think that follows from the fact that in each example here, there is a single "decorating box"
involved (and not separate, independently-decorated boxes for each direction-run or span).

Differential Revision: https://phabricator.services.mozilla.com/D134870
2021-12-30 15:38:58 +00:00
Jonathan Kew
6735485ed2 Bug 1747690 - Don't adjust dotted-line rect in WebRender to try and avoid partial dots, because the line segment being painted may need to butt up against a continuation and we don't want a gap to appear. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D134783
2021-12-30 15:38:57 +00:00
Emilio Cobos Álvarez
918836b8f6 Bug 1745869 - Grant 1s of activity to hidden OOPIF iframes. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D134804
2021-12-30 15:14:22 +00:00
Jonathan Watt
f252a10b4f Bug 1747952 - Include discovered/network printers in the CUPS list, with a timeout. r=emilio
The timeout is configurable via the pref print.cups_enum_dests_timeout_ms.

Differential Revision: https://phabricator.services.mozilla.com/D134844
2021-12-30 13:57:46 +00:00