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

2394 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 400f0c184f Bug 1747925 - Revert pointer-arithmetic change in malloc_in_sandbox. r=shravanrn
Because get_unsandboxed_pointer is templated, the original code was
correct.

Differential Revision: https://phabricator.services.mozilla.com/D134800
2021-12-29 21:04:35 +00:00
Matthew Gregan 39fa22d10b Bug 1747213 - Update AudioIPC macOS branch to 2ec125ec. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134490
2021-12-28 22:42:55 +00:00
Petr Sumbera 4a7e53bf09 Bug 1746140 - Add SPARC defines to third_party/libwebrtc/build/build_config.h r=mjf DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D133861
2021-12-25 21:24:38 +00:00
Emilio Cobos Álvarez 149bb0ed03 Bug 1747349 - Remove ThinBoxedSlice. r=xidorn
The only remaining consumers are ::-moz-tree pseudo-elements (we used to
use ThinBoxedSlice for other data structures in the past).

Those are not particularly performance sensitive so I think just
double-boxing is fine. In the future, if we wanted to avoid the double
indirection, we could probably use the "thin" crate
(https://docs.rs/thin) or similar, which stores the length of the slice
along with the allocation, making the pointer thin in all
configurations, much like "ThinArc" does:

  https://searchfox.org/mozilla-central/rev/1ce2eea39442190a71a1f8f650d098f286bf4a01/servo/components/servo_arc/lib.rs#891

In practice though, I don't think it's particularly worth it for this
specific case.

Differential Revision: https://phabricator.services.mozilla.com/D134672
2021-12-25 06:25:35 +00:00
Emilio Cobos Álvarez 4d0814ae70 Bug 1747528 - Update cssparser to fix hwb() syntax. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D134671
2021-12-25 06:24:05 +00:00
Bobby Holley 84ba1b89f4 Bug 1747514 - Make RLBoxTransferBufferToSandbox properly fallible. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D134670
2021-12-25 06:00:25 +00:00
Bobby Holley 7be8e183ab Bug 1747514 - Fix some pointer arithmetic issues in RLBox. r=shravanrn
We were double-allocating in TransferBuffer, but that was canceling out
the fact that we were only half-copying.

Differential Revision: https://phabricator.services.mozilla.com/D134669
2021-12-25 06:00:25 +00:00
Mike Hommey fce6eb7d83 Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-23 20:29:07 +00:00
Henri Sivonen cc4a22e024 Bug 1747394 - Check for space-like bytes instead of just space after a copyright sign. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D134609
2021-12-23 13:37:43 +00:00
Henri Sivonen 917c511c5f Bug 1731482 - Detect lone windows-1252 copyright sign as window-1252. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D134605
2021-12-23 13:14:34 +00:00
Cristian Tuns e1e31e01f2 Backed out 2 changesets (bug 1747165) for causing nightly blockers(bustages) a=backout
Backed out changeset 4b1ab0915c94 (bug 1747165)
Backed out changeset 96043d814772 (bug 1747165)
2021-12-23 08:00:54 -05:00
Mike Hommey b55194a16f Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-22 23:56:24 +00:00
Erik Nordin 5a5e1c57ed Bug 1743659 - Part 1: Update Gecko's L10nRegistry to use the new l10nregistry-rs API r=zbraniecki,dminor,eemeli,fluent-reviewers,webidl,smaug?,eemeli?,zbraniecki
- Updates Gecko's L10nRegistry class to use the new ResourceId type,
  which can be either optional or required regarding a particular resource.
- Adds JS tests verifying the new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D133578
2021-12-22 19:08:38 +00:00
Michael Froman 701dfe22c5 Bug 1654448 - P3 - moz.build updates to support OpenBSD/amd64 builds. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D134435
2021-12-22 00:09:44 +00:00
Landry Breuil da072579b6 Bug 1654448 - P2 - readd partial support for BSD to webrtc build;r=mjf
only OpenBSD/amd64 is supported for now

Depends on D134432

Differential Revision: https://phabricator.services.mozilla.com/D134433
2021-12-22 00:09:44 +00:00
Dzmitry Malyshau 870e917d28 Bug 1743668 - WebGPU debug groups r=jimb,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D134018
2021-12-21 14:51:16 +00:00
Gabriele Svelto ee6325f662 Bug 1728436 - Vendor the midir crate r=padenot
This is as close to usptream as currently possibly. Only a few changes were
done to the dependencies: the wasm target was removed and the coremidi
dependency was updated to pick up a more recent version so that we don't need
to vendor separate versions of the core-foundation and core-foundation-sys
crates.

This vendors the following crates:
* alsa-sys
* alsa
* coremidi
* coremidi-sys
* memalloc
* midir

Overall this adds ~30K lines of code, over half of which is in the alsa
bindings alone.

Differential Revision: https://phabricator.services.mozilla.com/D124640
2021-12-21 11:34:51 +00:00
Mike Hommey a475eeda3c Bug 1744671 - Update fluent-bundle to v0.15.2. r=platform-i18n-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D133036
2021-12-21 01:03:01 +00:00
Jon Bauman ffc22b2f8a Bug 1745608 - Add additional AVIF telemetry for unimplemented features. r=aosmond CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D133580
2021-12-18 20:05:19 +00:00
Byron Campen [:bwc] 2fc9dc8863 Bug 1714115: Re-apply fix from bug 1706261 that was lost in bug 1654112. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D134296
2021-12-20 17:07:11 +00:00
Updatebot c44e7f97c6 Bug 1744639 - Update dav1d to 7b99b0e17fbd86f0847684798b182f9122545580 r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D133012
2021-12-18 02:56:07 +00:00
Matthew Gregan 44a6ef81dc Bug 1746689 - Update AudioIPC macos branch to e9eac9d7. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134202
2021-12-18 01:24:04 +00:00
Mike Hommey bd5b9568e1 Bug 1744886 - Override the vcpkg and cmake crates. r=firefox-build-system-reviewers,andi,mhentges
with mostly empty crates.

We don't want cargo to be unexpectedly calling into other build systems.

Differential Revision: https://phabricator.services.mozilla.com/D133848
2021-12-17 01:16:06 +00:00
Matthew Gregan 4ea4986b93 Bug 1746352 - Update audioipc to 515bb210. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D133995
2021-12-16 10:37:12 +00:00
Butkovits Atila 5e15e00fa2 Backed out changeset 65cda71ffcdd (bug 1746352) for causing bustages complaining about new API. CLOSED TREE 2021-12-16 12:17:45 +02:00
Matthew Gregan 96e9bde4a3 Bug 1746352 - Update audioipc to 776ef93a. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D133995
2021-12-16 09:32:27 +00:00
Matthew Gregan 165a462e57 Bug 1726275 - Update AudioIPC to pick up IPC rework. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D132541
2021-12-16 06:24:23 +00:00
Marian-Vasile Laza 18cfc4f987 Backed out changeset 736011c1640c (bug 1726275) for causing build bustages. CLOSED TREE 2021-12-16 06:08:19 +02:00
Matthew Gregan c475ed79ea Bug 1726275 - Update AudioIPC to pick up IPC rework. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D132541
2021-12-16 03:02:02 +00:00
Marian-Vasile Laza 18ee06e0b2 Backed out 2 changesets (bug 1744886) for causing build bustages. CLOSED TREE
Backed out changeset 6453423359d0 (bug 1744886)
Backed out changeset 7383efc30b77 (bug 1744886)
2021-12-16 02:13:41 +02:00
Mike Hommey 4b86be51fc Bug 1744886 - Override the vcpkg and cmake crates. r=firefox-build-system-reviewers,andi
with mostly empty crates.

Differential Revision: https://phabricator.services.mozilla.com/D133848
2021-12-15 21:40:22 +00:00
Mike Hommey 70bda9f038 Bug 1744886 - Update cubeb-sys to 0.9.1. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D133853
2021-12-15 21:40:22 +00:00
Ryan VanderMeulen c26c8e9972 Bug 1743309 - Upgrade to SQLite 3.37.0. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D133749
2021-12-14 16:45:46 +00:00
Nika Layzell 78ff1150a5 Bug 1715144 - Part 2: Stop adding /ipc/glue to LOCAL_INCLUDES in gn-generated files, r=firefox-build-system-reviewers,nalexander,jib
Differential Revision: https://phabricator.services.mozilla.com/D117104
2021-12-13 21:57:21 +00:00
Butkovits Atila 3f4f5734f2 Backed out changeset b6b0a24a69e9 (bug 1744639) for causing Updatebot bustages. CLOSED TREE 2021-12-13 21:33:46 +02:00
Updatebot 2250b7eaf0 Bug 1744639 - Update dav1d to 7b99b0e17fbd86f0847684798b182f9122545580 r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D133012
2021-12-13 19:04:55 +00:00
Paul Adenot eac461c684 Bug 1745724 - mach vendor rust. r=cubeb-reviewers,kinetik
Depends on D133631

Differential Revision: https://phabricator.services.mozilla.com/D133632
2021-12-13 14:18:09 +00:00
Jan-Erik Rediger 1496adf625 Bug 1744674 - Update to Glean v42.3.0 & glean_parser v4.3.1 r=chutten
Also updates the docs on how to update the glean_parser in-tree.
Also adds a `no_lint` exception to test pings to avoid breaking the
build.

Differential Revision: https://phabricator.services.mozilla.com/D133077
2021-12-13 11:24:50 +00:00
Narcis Beleuzu 0bb26c9eda Backed out changeset 7ca282be411f (bug 1744674) for python failures on test_site_compatibility.py. CLOSED TREE 2021-12-11 01:08:45 +02:00
Mike Hommey db4b69a678 Bug 1744669 - Bulk update of rust crates. u, w, x. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter u, w or x.

Differential Revision: https://phabricator.services.mozilla.com/D133035
2021-12-10 05:50:35 +00:00
Mike Hommey 53c0138f48 Bug 1744669 - Bulk update of rust crates. t. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter t.

Differential Revision: https://phabricator.services.mozilla.com/D133034
2021-12-10 05:42:54 +00:00
Mike Hommey c4eb2effeb Bug 1744669 - Bulk update of rust crates. r, s. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter r or s.

Differential Revision: https://phabricator.services.mozilla.com/D133033
2021-12-10 04:48:02 +00:00
Mike Hommey 86c0640983 Backout a part of changeset 292fba96742d (bug 1744669) for bustage. CLOSED TREE
This returns the idna crate to its previous version because of
https://github.com/servo/rust-url/issues/679.

Differential Revision: https://phabricator.services.mozilla.com/D133453
2021-12-10 04:44:00 +00:00
Mike Hommey 1430e9adae Bug 1744669 - Bulk update of rust crates. m, o, p, q. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter m, o, p or q.

Differential Revision: https://phabricator.services.mozilla.com/D133032
2021-12-10 04:31:15 +00:00
Mike Hommey 79b66d492e Bug 1744669 - Bulk update of rust crates. i, l. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter i or l.

Differential Revision: https://phabricator.services.mozilla.com/D133031
2021-12-10 04:24:55 +00:00
Mike Hommey 83e7800c32 Bug 1744669 - Bulk update of rust crates. g, h. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter g or h.

Differential Revision: https://phabricator.services.mozilla.com/D133030
2021-12-10 04:18:55 +00:00
Mike Hommey af279ae41a Bug 1744669 - Bulk update of rust crates. d, e, f. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter d, e or f.

Differential Revision: https://phabricator.services.mozilla.com/D133029
2021-12-10 04:13:11 +00:00
Mike Hommey f39ecea817 Bug 1744669 - Bulk update of rust crates. b, c. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter b or c.

Differential Revision: https://phabricator.services.mozilla.com/D133028
2021-12-10 04:07:33 +00:00
Mike Hommey 48c99f617b Bug 1744669 - Bulk update of rust crates. a. r=emilio
This updates all crates that can be updated with no addition of new
crates, that start with letter a.

Differential Revision: https://phabricator.services.mozilla.com/D133027
2021-12-10 04:00:07 +00:00
Michael Froman 94411aa860 Bug 1744644 - moz.build updates. r=ng
Depends on D133408

Differential Revision: https://phabricator.services.mozilla.com/D133409
2021-12-09 22:57:56 +00:00
Michael Froman caffacbb6d Bug 1744644 - set enable_liboam to false for mozilla builds. r=ng
This change results in using libaom_av1_decoder_absent.cc and
libaom_av1_encoder_absent.cc.

When using the libaom_av1_{en|de}coder_absent.cc files, we don't
need scalable_video_controller as a dependency.

Both of these changes should be upstreamable.

Depends on D133406

Differential Revision: https://phabricator.services.mozilla.com/D133407
2021-12-09 22:57:54 +00:00
Michael Froman 730647356b Bug 1744644 - restore 2 files to match moz_libwebrtc versions. r=ng
This restores the contents of these 2 files to match moz_libwebrtc
versions.  The changes we're reverting were made simply to help
get the project compiling, but there is a more official way to
accomplish the same thing (see the next patch).

Depends on D133405

Differential Revision: https://phabricator.services.mozilla.com/D133406
2021-12-09 22:57:54 +00:00
Michael Froman a64ed62bd1 Bug 1744644 - regenerate build files in third_party/libwebrtc as baseline. r=ng
For some reason, third_party/libwebrtc/rtc_base/timeutils_gn/moz.build was
in an odd state after our final merge where each of the platforms contained
DEFINES["WEBRTC_EXCLUDE_SYSTEM_TIME"] = True
instead of having that define at the top level across all platforms. After
re-running the generation on each platform (macOS/Linux/Win), all platforms
ended with this file in the same state with the define at the top.

Differential Revision: https://phabricator.services.mozilla.com/D133405
2021-12-09 22:57:54 +00:00
Jan-Erik Rediger efb09bcdb5 Bug 1744674 - Update to Glean v42.3.0 & glean_parser v4.3.1 r=chutten
Also updates the docs on how to update the glean_parser in-tree.
Also adds a `no_lint` exception to test pings to avoid breaking the
build.

Differential Revision: https://phabricator.services.mozilla.com/D133077
2021-12-09 09:30:20 +00:00
shravanrn@gmail.com 7079358631 Bug 1744460 part 2 - Update woff2 RLBoxSandboxPool to track minimum sandbox size r=bholley
Depends on D133009

Differential Revision: https://phabricator.services.mozilla.com/D133158
2021-12-09 00:01:17 +00:00
Butkovits Atila 6ffe112d27 Backed out 2 changesets (bug 1744460) for causing build bustages at RLBoxSandboxPool.cpp. CLOSED TREE
Backed out changeset 582101d582a0 (bug 1744460)
Backed out changeset dba7b7c19b2f (bug 1744460)
2021-12-08 21:57:58 +02:00
shravanrn@gmail.com 8001ccc0fd Bug 1744460 part 2 - Update woff2 RLBoxSandboxPool to track minimum sandbox size r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D133158
2021-12-08 17:55:16 +00:00
Henri Sivonen 649a5b63d8 Bug 1701828 - meta charset rewrite. r=smaug
Implements https://github.com/whatwg/html/issues/6962 . Improves performance
when <meta charset> occurs in head but after the first kilobyte and aligns
behavior better with WebKit and Blink.

The main change is to avoid reloads when meta appears within head but
after the first kilobyte. Prior to this change, Gecko reloaded in that
case (in compliance with the spec!) even though WebKit and Blink did not.

Differences from WebKit and Blink:

* WebKit and Blink honor <meta charset> in <noscript>. This implementation
  does not.
* WebKit and Blink look for meta as if the tree builder was unaware of
  foreign content. This implementation is foreign content-aware. This
  makes a difference for CDATA sections that contain a > before the meta
  as well as style and script elements within foreign content. This could
  happen if the CDATA section that has mysteriously been introduced around
  a what looks like a meta tag also contains another prior tag-looking
  run of text.
* This implementation processes rel=preload and speculative loads that are
  seen before <meta charset> has been seen. WebKit and Blink instead first
  look for the meta and rewind before starting speculative parsing.
* Unlike WebKit, if there is neither an honored meta nor syntax resembling
  an XML declaration, detection from content takes place (as in Blink).
* Unlike Blink, if there is neither an honored meta nor syntax resembling
  an XML declaration, the detection from content is not dependent of network
  buffer boundaries.
* Unlike Blink, detection from content can trigger a reload at the end of
  the stream if the guess made at that point differs from the first guess.
  (See below for the definition of the input to the first guess.)

Differences from the old spec and Gecko previously:

* Meta inside script and RCDATA elements is no longer honored.
* Late meta is now ignored and no longer triggers a reload.
* Later meta counts as early enough meta: In addition to the previous
  meta within the first 1024 bytes, now a meta that started within the first
  1024 bytes counts as early enough. Additionally, if by then there hasn't
  been a template start tag and head hasn't ended, meta occurring before the
  earlier of the end of the head or a template start tag counts as early
  enough.
* Meta now counts as not-late even if the encoding label has numeric
  character reference escapes.
* Syntax resembling an XML declaration longer than a kilobyte is honored if
  there is no honored meta.
* If there is neither an honored meta nor syntax resembling an XML declaration,
  the initial chardetng scan is potentially longer than before: the first 1024
  bytes, the token spanning the 1024-byte boundary if there is such a token,
  and, if by then head hasn't ended and there hasn't been a template start tag
  until the end of the template start tag or the end of the token that causes
  head to end, ever comes first. However, if the token implying the end of the
  head is a text token, bytes only to the end of the previous non-text token is
  considered. (This definition avoids depending on network buffer boundaries.)
* XML View Source now uses the code for syntax resembling an XML declaration
  instead of expat for extracting the internal encoding label.

Reftest are added as both WPT and Gecko reftests in order to test both http:
and file: URL scenarios. The Gecko tests retain the WPT <link> tags in order
to use the exact same bytes.

An encoding declaration has been added to a number of old tests that didn't
intend to test the new speculation behavior especially in the context of
https://bugzilla.mozilla.org/show_bug.cgi?id=1727750 .

Differential Revision: https://phabricator.services.mozilla.com/D125808
2021-12-08 11:34:20 +00:00
Mike Hommey d82eec0cb3 Bug 1744677 - Remove Cargo.toml patch for wasmtime crates. r=rhunt
Apart from Cargo.toml being garbled by cargo on publication, what's
vendored is exactly the same as on crates.io, so we don't need to use a
patch to pull from git anymore.

Differential Revision: https://phabricator.services.mozilla.com/D133040
2021-12-08 05:40:54 +00:00
Mike Hommey 1674b86019 Bug 1744668 - Upgrade other application-services crates. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D133026
2021-12-08 05:23:05 +00:00
Mike Hommey 5f59304205 Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh
This removes the need for the local prost-derive patch.
Viaduct itself has not changed a whole lot.

Differential Revision: https://phabricator.services.mozilla.com/D133025
2021-12-08 05:23:04 +00:00
Sandor Molnar 40b66aba95 Backed out 3 changesets (bug 1744668) for causing multiple failures. CLOSED TREE
Backed out changeset 46c822b70a3f (bug 1744668)
Backed out changeset a1b048e394fe (bug 1744668)
Backed out changeset 49b593d05354 (bug 1744668)
2021-12-08 04:18:29 +02:00
Mike Hommey e935b21fac Bug 1744668 - Upgrade other application-services crates. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D133026
2021-12-07 21:25:30 +00:00
Mike Hommey 4f85247807 Bug 1744668 - Upgrade viaduct to the version from application-services v87.1.0. r=markh
This removes the need for the local prost-derive patch.
Viaduct itself has not changed a whole lot.

Differential Revision: https://phabricator.services.mozilla.com/D133025
2021-12-07 21:25:29 +00:00
Mike Hommey dacc08f158 Bug 1744668 - Update url crate to v2.2.2. r=markh
The upcoming update of viaduct wants at least v2.2.

Use Into<String> instead of Url::into_string, the latter is deprecated
and causes a warning we turn into an error.

Differential Revision: https://phabricator.services.mozilla.com/D133024
2021-12-07 21:25:29 +00:00
Nika Layzell 19317ab22a Bug 1739727 - Part 1: Vendor the async-task library, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D130704
2021-12-07 20:01:41 +00:00
Norisz Fay 1d6984bc21 Backed out changeset 3dfd3c94a105 (bug 1701828) for causing mochitest failures on browser_hsts_host.js CLOSED TREE 2021-12-07 12:05:44 +02:00
Henri Sivonen 58476d7f17 Bug 1701828 - meta charset rewrite. r=smaug
Implements https://github.com/whatwg/html/issues/6962 . Improves performance
when <meta charset> occurs in head but after the first kilobyte and aligns
behavior better with WebKit and Blink.

The main change is to avoid reloads when meta appears within head but
after the first kilobyte. Prior to this change, Gecko reloaded in that
case (in compliance with the spec!) even though WebKit and Blink did not.

Differences from WebKit and Blink:

* WebKit and Blink honor <meta charset> in <noscript>. This implementation
  does not.
* WebKit and Blink look for meta as if the tree builder was unaware of
  foreign content. This implementation is foreign content-aware. This
  makes a difference for CDATA sections that contain a > before the meta
  as well as style and script elements within foreign content. This could
  happen if the CDATA section that has mysteriously been introduced around
  a what looks like a meta tag also contains another prior tag-looking
  run of text.
* This implementation processes rel=preload and speculative loads that are
  seen before <meta charset> has been seen. WebKit and Blink instead first
  look for the meta and rewind before starting speculative parsing.
* Unlike WebKit, if there is neither an honored meta nor syntax resembling
  an XML declaration, detection from content takes place (as in Blink).
* Unlike Blink, if there is neither an honored meta nor syntax resembling
  an XML declaration, the detection from content is not dependent of network
  buffer boundaries.
* Unlike Blink, detection from content can trigger a reload at the end of
  the stream if the guess made at that point differs from the first guess.
  (See below for the definition of the input to the first guess.)

Differences from the old spec and Gecko previously:

* Meta inside script and RCDATA elements is no longer honored.
* Late meta is now ignored and no longer triggers a reload.
* Later meta counts as early enough meta: In addition to the previous
  meta within the first 1024 bytes, now a meta that started within the first
  1024 bytes counts as early enough. Additionally, if by then there hasn't
  been a template start tag and head hasn't ended, meta occurring before the
  earlier of the end of the head or a template start tag counts as early
  enough.
* Meta now counts as not-late even if the encoding label has numeric
  character reference escapes.
* Syntax resembling an XML declaration longer than a kilobyte is honored if
  there is no honored meta.
* If there is neither an honored meta nor syntax resembling an XML declaration,
  the initial chardetng scan is potentially longer than before: the first 1024
  bytes, the token spanning the 1024-byte boundary if there is such a token,
  and, if by then head hasn't ended and there hasn't been a template start tag
  until the end of the template start tag or the end of the token that causes
  head to end, ever comes first. However, if the token implying the end of the
  head is a text token, bytes only to the end of the previous non-text token is
  considered. (This definition avoids depending on network buffer boundaries.)
* XML View Source now uses the code for syntax resembling an XML declaration
  instead of expat for extracting the internal encoding label.

Reftest are added as both WPT and Gecko reftests in order to test both http:
and file: URL scenarios. The Gecko tests retain the WPT <link> tags in order
to use the exact same bytes.

An encoding declaration has been added to a number of old tests that didn't
intend to test the new speculation behavior especially in the context of
https://bugzilla.mozilla.org/show_bug.cgi?id=1727750 .

Differential Revision: https://phabricator.services.mozilla.com/D125808
2021-12-07 07:35:32 +00:00
Mike Hommey ff6f9d7f54 Bug 1738133 - Undo workaround for https://github.com/rust-lang/rust/issues/88576. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D133015
2021-12-07 06:37:26 +00:00
Mike Hommey 0d44c1b862 Bug 1744643 - Upgrade cc to v1.0.72. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D133014
2021-12-07 01:55:42 +00:00
Chun-Min Chang 97f96f4f0b Bug 1744567 - mach vendor rust r=cubeb-reviewers,kinetik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132977
2021-12-06 23:54:19 +00:00
Kagami Sascha Rosylight 59265056dd Bug 1743793 - Update libjxl and highway r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D132952
2021-12-06 23:43:32 +00:00
Dzmitry Malyshau 1114243a20 Bug 1744342 - Switch WR to Ron-0.7 r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D132839
2021-12-06 16:10:26 +00:00
Marian-Vasile Laza abd3eee17f Backed out changeset e945898aab89 (bug 1744342) for causing wr bustages. CLOSED TREE 2021-12-06 06:04:11 +02:00
Dzmitry Malyshau ffbbab0af8 Bug 1744342 - Switch WR to Ron-0.7 r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D132839
2021-12-06 03:38:55 +00:00
Dragana Damjanovic 508c8575ed Bug 1743378 - Neqo version 0.5.6 r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D132772
2021-12-03 13:13:08 +00:00
Tooru Fujisawa f32f7d78d7 Bug 1744168 - Bump jsparagus for bug 1736060. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D132771
2021-12-03 11:38:21 +00:00
criss 37ba052114 Backed out 2 changesets (bug 1743378) for causing xpcshell failures on test_http3_direct_proxy.js. CLOSED TREE
Backed out changeset 3661673e2577 (bug 1743378)
Backed out changeset a6eab1b75981 (bug 1743378)
2021-12-02 14:58:40 +02:00
Dragana Damjanovic 6fe5130c63 Bug 1743378 - Update to neqo version 0.5.5 r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D132562
2021-12-02 08:23:20 +00:00
Matthew Gregan ab4500a609 Bug 1743740 - Rename vendored mio 0.6 to make it possible to vendor later mio versions. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D132537
2021-12-02 05:39:49 +00:00
Jeff Muizelaar 63ef72803c Bug 1743852 - Use core-text upstream variation support. r=jfkthame
This let us get rid of most of the unsafe. It also includes an update of
core-graphics for the copy_variation_axes() api

Differential Revision: https://phabricator.services.mozilla.com/D132600
2021-12-01 17:59:15 +00:00
Timothy Gu 8166483436 Bug 1738872 - Add preprocessor support for additional architectures r=ng
cherry-pick libwebrtc: 6215ba804eb500f3e28b39088c73af3c4f4cd10a

- _M_ARM is used by Microsoft [1]
- __riscv and __riscv_xlen are defined by [2]
- __sparc and __sparc__ are documented at [3]
- __MIPSEB__, __PPC__, __PPC64__ are documented at [3] and used in
  Chromium's build/build_config.h [4]
  Note: Chromium assumes that all PowerPC architectures are 64-bit. This
  is in fact not true.

[1]: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-160
[2]: feca479356 (cc-preprocessor-definitions)
[3]: https://sourceforge.net/p/predef/wiki/Architectures/
[4]: https://source.chromium.org/chromium/chromium/src/+/master:build/build_config.h;drc=e12bf2e5ff1eacb9aca3e9a26bdeebdbdad5965a

Change-Id: I7d0176c38102e5e4cf0fcbe9b06a3520a79b0d71
Bug: webrtc:12312
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/198241
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Timothy Gu <timothygu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#32897}

Differential Revision: https://phabricator.services.mozilla.com/D131228
2021-12-01 01:55:40 +00:00
Dzmitry Malyshau caaffc3a03 Bug 1622846 - Update wgpu to 28ba9d8 r=jimb,emilio
Update GPUTextureUsage bit names to match upstream.

Differential Revision: https://phabricator.services.mozilla.com/D132058
2021-11-29 21:57:04 +00:00
Csoregi Natalia 9c8715f550 Backed out changeset 9e97159bb402 (bug 1622846) for causing bp-hybrid bustages on WebGPUChild.cpp CLOSED TREE 2021-11-29 21:30:42 +02:00
Dzmitry Malyshau 35ccd380fa Bug 1622846 - Update wgpu to 5f6c067 r=jimb,emilio
Update GPUTextureUsage bit names to match upstream.

Differential Revision: https://phabricator.services.mozilla.com/D132058
2021-11-29 18:37:21 +00:00
Emilio Cobos Álvarez 83fc0ee2cf Bug 1352755 - Update cssparser to pick hwb color support. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D132238
2021-11-26 15:08:53 +00:00
Andreas Pehrson 2bf895a8ab Bug 1576335 - Fix DeviceInfoImpl::_apiLock leaks by cherry-pick. r=padenot
This is a cherry-pick of upstream libwebrtc's
https://webrtc.googlesource.com/src/+/5b5de21accfd29e21cba2d6f38e3087e1f731be6

This gets rid of the path in DeviceInfoImpl::GetBestMatchedCapability that can
leave the _apiLock exclusively locked forever.

Differential Revision: https://phabricator.services.mozilla.com/D132139
2021-11-25 14:02:28 +00:00
Mitchell Hentges b61d7dd71f Bug 1732946: Update vendored libraries for `black` compatibility r=ahal
This is needed because `black==21.11b1` requires `click>=7.1.2`
`pathspec<1,>=0.9.0`, and `typing-extensions>=3.10.0.0`.

Differential Revision: https://phabricator.services.mozilla.com/D127163
2021-11-24 15:23:49 +00:00
stransky 4c21d96ccd Bug 1739142 [Linux] Enable PipeWire on Linux, r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D131907
2021-11-24 09:37:47 +00:00
Butkovits Atila 8625ba46e5 Backed out changeset 6a2e62e9cc99 (bug 1732946) for causing failures at test_vendor.py. CLOSED TREE 2021-11-24 05:03:12 +02:00
Mitchell Hentges 9e5e6e2e0f Bug 1732946: Update vendored libraries for `black` compatibility r=ahal
This is needed because `black==21.11b1` requires `click>=7.1.2`
`pathspec<1,>=0.9.0`, and `typing-extensions>=3.10.0.0`.

Differential Revision: https://phabricator.services.mozilla.com/D127163
2021-11-23 23:46:33 +00:00
Andreas Pehrson 3fc1b2b632 Bug 1742181 - libwebrtc: Implement packetsDiscarded bookkeeping for received video. r=ng
Depends on D131707

Differential Revision: https://phabricator.services.mozilla.com/D131708
2021-11-23 14:11:16 +00:00
Andreas Pehrson 80c75cb2a5 Bug 1742181 - Cherry-pick libwebrtc patch for audio recv stat packetsDiscarded. r=ng
This cherry-picks the applicable parts of:
https://webrtc.googlesource.com/src/+/28a2c63526f471558bc93cdcae9fab42b84b10a5

Differential Revision: https://phabricator.services.mozilla.com/D131707
2021-11-23 14:11:16 +00:00
Tooru Fujisawa a27ad79f33 Bug 1742005 - Bump jsparagus for bug 1740737 and bug 1742142. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D131774
2021-11-22 11:43:29 +00:00
Shravan Narayan b09e58929d Bug 1742032 - Update rlbox to correctly support re-entrancy across multiple sandbox instances r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D131582
2021-11-19 04:39:12 +00:00
Deian Stefan 602e556597 Bug 1741115 - Add support for checking if app pointers and callbacks are null r=bholley
This patch also clang-formats the RLBox source files.

Depends on D129970

Differential Revision: https://phabricator.services.mozilla.com/D131525
2021-11-18 19:51:09 +00:00
Deian Stefan 26994de326 Bug 1738550 - Clean up RLBox type definitions r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D129970
2021-11-18 19:51:08 +00:00
shravanrn@gmail.com 0024fed2d0 Bug 1741525 - Update rlbox for correct app_ptr support on 32-bit platforms r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D131311
2021-11-17 02:11:18 +00:00
Xidorn Quan 6a113ead05 Bug 1708944 - Update miow & gpu-alloc to latest compatible version. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D131079
2021-11-16 07:29:54 +00:00
Chun-Min Chang 6ea9406962 Bug 1737833 - mach vendor rust r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D130901
2021-11-11 19:05:26 +00:00
Kagami Sascha Rosylight 75108aa7bb Bug 1740415 - Update libjxl to 9e8c576 r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D130862
2021-11-10 13:32:14 +00:00
shravanrn@gmail.com 6314f91304 Bug 1740187 - Annotate crash reports with rlbox sandbox malloc failures r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D130727
2021-11-10 00:03:25 +00:00
shravanrn@gmail.com 8288a5976f Bug 1739762 - Update rlbox_wasm2c to support variable sized sandboxes in 32-bit platforms r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D130543
2021-11-09 07:46:11 +00:00
Marian-Vasile Laza 6c8d325e61 Backed out changeset 203314c3b2fa (bug 1738736) for causing AV1 video crashes (bug 1739910). a=backout 2021-11-08 11:52:27 +02:00
Updatebot 8e86ac27ee Bug 1738736 - Update dav1d to new version 3fd2ad938ace8d2d0ab86e4108d46a7722691073 from 2021-11-01 15:14:21 r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D130107
2021-11-06 19:23:42 +00:00
Narcis Beleuzu 0c6785276c Backed out changeset 5ae245cf817b (bug 1738736) for updatebot-verify bustage. CLOSED TREE 2021-11-06 07:59:02 +02:00
Updatebot 17cf995408 Bug 1738736 - Update dav1d to 3fd2ad938ace8d2d0ab86e4108d46a7722691073 r=jbauman
Differential Revision: https://phabricator.services.mozilla.com/D130107
2021-11-06 05:28:37 +00:00
shravanrn@gmail.com e073c96dc5 Bug 1739654 - Update RLBox so that locks aren't used for app_pointer in single threaded contexts r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D130482
2021-11-05 16:46:34 +00:00
Emilio Cobos Álvarez 4963e6b250 Bug 1739486 - Hack around https://github.com/pypa/virtualenv/issues/2208. r=mhentges
The virutalenv hack is in the fedora-distributed version of
virtualenv... Presumably eventually will become unnecessary once they
provide a proper "venv" distutils?

This patch applies both before and after the bump in comment 5, so your
call.

Differential Revision: https://phabricator.services.mozilla.com/D130410
2021-11-05 15:41:55 +00:00
shravanrn@gmail.com dfca79f9ba Bug 1739298 - Configure RLBox to avoid using locks as it is only used in single threaded contexts r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D130326
2021-11-04 20:49:22 +00:00
Jon Bauman bd29528356 Bug 1739032 - Update mp4parse-rust to a257137. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D130284
2021-11-03 20:06:58 +00:00
Alex Hochheiden d7aba7ba43 Bug 1686137 - Vendor 'colorama' library r=mhentges, g?firefox-build-system-reviewers
Colorama enables colored text on terminal windows.

'tqdm' depends on Colorama on Windows.

Project Link: https://pypi.org/project/colorama/

Depends on D129094

Differential Revision: https://phabricator.services.mozilla.com/D130121
2021-11-03 15:41:14 +00:00
Alex Hochheiden 5eab6210dd Bug 1686137 - Vendor 'tqdm' progress bar library r=mhentges
`tqdm` allows rendering and updating a single-line progress bar, which
is useful for all sorts of different work.

Our first use case for this will be replacing `wget` with a pure-python
downloader.

Source here: https://github.com/tqdm/tqdm

Differential Revision: https://phabricator.services.mozilla.com/D129094
2021-11-03 15:41:13 +00:00
Andreas Pehrson 4ae56021db Bug 1729455 - Inject RTCStatsTimestampMakerRealtimeClock into Call instances. r=bwc
This patch makes libwebrtc use our clock for timestamps.
It also makes sure there's no use of the libwebrtc realtime clock, other than
for relative time tracking (like timeouts), and that future libwebrtc updates
don't introduce unaudited use of it.

Differential Revision: https://phabricator.services.mozilla.com/D127714
2021-11-03 15:23:26 +00:00
Andreas Pehrson 3d7a221d58 Bug 1729455 - libwebrtc: Don't use wall clock for stats. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D127709
2021-11-03 15:23:23 +00:00
Andreas Pehrson f893f59e3f Bug 1729455 - Ensure the libwebrtc system clock is not used. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D128244
2021-11-03 15:23:23 +00:00
Andreas Pehrson be6a2fc87b Bug 1729455 - Update generated gn-config files. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D127707
2021-11-03 15:23:20 +00:00
Andreas Pehrson 98b63b45f3 Bug 1729455 - Define a gecko-specific rtc::SystemTimeNanos. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D127708
2021-11-03 15:23:20 +00:00
Andreas Pehrson 646e4d2ce7 Bug 1729455 - Cherry-pick libwebrtc ntp clock consolidation patches. r=bwc,ng
This lets us inject our own clock to a Call and control the wall-clock time.

This patch corresponds to upstream bug 11327
(https://bugs.chromium.org/p/webrtc/issues/detail?id=11327) and is a squash of
the following upstream commits:
- https://webrtc.googlesource.com/src/+/314b78d467c224159fb28c8dddf1d6fd78be7faa
- https://webrtc.googlesource.com/src/+/e9dad5f053c6d206f1ebab3d99945f81f597ff70
- https://webrtc.googlesource.com/src/+/704d6e518aa789a5e76378b7b758d6a77b60312e
- https://webrtc.googlesource.com/src/+/6817809e26f7631b1caa3013ee45075b9fef58d3
- https://webrtc.googlesource.com/src/+/0de1ed0244a8da395811ad8952e5f5f8a2643e2a
- https://webrtc.googlesource.com/src/+/b59e9045bf215aaec869412b16d0fd39bf0df4ec
- https://webrtc.googlesource.com/src/+/2491dbdf0b59cc080ea7218c32c109f4c8b304fe
- https://webrtc.googlesource.com/src/+/95f1e5192c95903d0fb7ed14f0e3acf0b510a440
- https://webrtc.googlesource.com/src/+/47ed99872d8b6392d2eb2e3c890b0eb00209fa20
- https://webrtc.googlesource.com/src/+/00f6e75671b7c73af5b3c88d2b554ee7873275f9
- https://webrtc.googlesource.com/src/+/fe3dd51f326b8d418a2ce055b313a099af58a815
- https://webrtc.googlesource.com/src/+/a6b0d53dc250aaebc14315a44515971da72980cc
- https://webrtc.googlesource.com/src/+/46fbefa3023ca7d1c1967e92b68c343173a00db2
- https://webrtc.googlesource.com/src/+/cab90db24ac2e4ddbb9e7619f65bf5dc582783c0

Differential Revision: https://phabricator.services.mozilla.com/D127706
2021-11-03 15:23:20 +00:00
Andreas Pehrson 4007ef7a58 Bug 1729455 - Cherry-pick libwebrtc patches that makes SystemTimeNanos overrideable. r=bwc
This lets us define our own monotonic system clock for libwebrtc to use.

This patch corresponds to the libwebrtc part of chromium bug 516700
(https://crbug.com/516700).

It consists of the following libwebrtc patches squashed:
https://webrtc.googlesource.com/src/+/b73c9f0bc3c0331c177fcbd54224b350153aebcd
https://webrtc.googlesource.com/src/+/da20c739a8607e9f43e6ac04024ea622167ec694
https://webrtc.googlesource.com/src/+/373bb7bec4d2df7378d3dae965313548e6817246
https://webrtc.googlesource.com/src/+/bb52bdf09516ca548c4aff50526eda561f239bc0

Differential Revision: https://phabricator.services.mozilla.com/D127705
2021-11-03 15:23:19 +00:00
Andreas Pehrson 473dbd2fdb Bug 1729455 - Add to stats the local receive time for receiving video Sender Reports. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D125712
2021-11-03 15:23:17 +00:00
Mike Hommey d5c0037acd Bug 1739040 - Pick cc upstream patch for GCC 11 on armhf linux. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D130228
2021-11-03 03:30:29 +00:00
Mike Hommey d390183b0c Bug 1739040 - Upgrade cc to v1.0.71. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D130227
2021-11-03 03:30:29 +00:00
Matthew Gregan 8f4cbf6d7b Bug 1738768 - Register AudioIPC server threads with Firefox Profiler. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D130116
2021-11-02 19:42:33 +00:00
Iulian Moraru bcd7d6fd66 Backed out 23 changesets (bug 1729455) for causing multiple build bustages. CLOSED TREE
Backed out changeset eb27a22d5419 (bug 1729455)
Backed out changeset 0744d68b8c94 (bug 1729455)
Backed out changeset 052a33acc2e4 (bug 1729455)
Backed out changeset 6911243d9ae0 (bug 1729455)
Backed out changeset 0473c7cfd344 (bug 1729455)
Backed out changeset 9b44714d7fce (bug 1729455)
Backed out changeset b04e243f4ab5 (bug 1729455)
Backed out changeset d112b90b7c05 (bug 1729455)
Backed out changeset 40008e4f1c1f (bug 1729455)
Backed out changeset 5a3ecc96a699 (bug 1729455)
Backed out changeset 3e8ac168ee3d (bug 1729455)
Backed out changeset 0cfae6f33c35 (bug 1729455)
Backed out changeset e8d24be16e22 (bug 1729455)
Backed out changeset eb07a028bc43 (bug 1729455)
Backed out changeset 11637120b0cc (bug 1729455)
Backed out changeset 7f7c9f002087 (bug 1729455)
Backed out changeset 080188fa01cf (bug 1729455)
Backed out changeset f058fbb8662e (bug 1729455)
Backed out changeset 907da0f267fd (bug 1729455)
Backed out changeset 8e036b0931e3 (bug 1729455)
Backed out changeset cfcd4d853484 (bug 1729455)
Backed out changeset 99267b6d193f (bug 1729455)
Backed out changeset a2cee9ad6c6c (bug 1729455)
2021-11-02 18:10:53 +02:00
Andreas Pehrson 1d84e22f11 Bug 1729455 - Inject RTCStatsTimestampMakerRealtimeClock into Call instances. r=bwc
This patch makes libwebrtc use our clock for timestamps.
It also makes sure there's no use of the libwebrtc realtime clock, other than
for relative time tracking (like timeouts), and that future libwebrtc updates
don't introduce unaudited use of it.

Differential Revision: https://phabricator.services.mozilla.com/D127714
2021-11-02 14:35:57 +00:00
Andreas Pehrson a94767aebf Bug 1729455 - libwebrtc: Don't use wall clock for stats. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D127709
2021-11-02 14:35:54 +00:00
Andreas Pehrson 1f0a75aae8 Bug 1729455 - Ensure the libwebrtc system clock is not used. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D128244
2021-11-02 14:35:53 +00:00
Andreas Pehrson df79327126 Bug 1729455 - Update generated gn-config files. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D127707
2021-11-02 14:35:51 +00:00
Andreas Pehrson b86c47bba8 Bug 1729455 - Define a gecko-specific rtc::SystemTimeNanos. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D127708
2021-11-02 14:35:51 +00:00
Andreas Pehrson f485a8bc7c Bug 1729455 - Cherry-pick libwebrtc ntp clock consolidation patches. r=bwc,ng
This lets us inject our own clock to a Call and control the wall-clock time.

This patch corresponds to upstream bug 11327
(https://bugs.chromium.org/p/webrtc/issues/detail?id=11327) and is a squash of
the following upstream commits:
- https://webrtc.googlesource.com/src/+/314b78d467c224159fb28c8dddf1d6fd78be7faa
- https://webrtc.googlesource.com/src/+/e9dad5f053c6d206f1ebab3d99945f81f597ff70
- https://webrtc.googlesource.com/src/+/704d6e518aa789a5e76378b7b758d6a77b60312e
- https://webrtc.googlesource.com/src/+/6817809e26f7631b1caa3013ee45075b9fef58d3
- https://webrtc.googlesource.com/src/+/0de1ed0244a8da395811ad8952e5f5f8a2643e2a
- https://webrtc.googlesource.com/src/+/b59e9045bf215aaec869412b16d0fd39bf0df4ec
- https://webrtc.googlesource.com/src/+/2491dbdf0b59cc080ea7218c32c109f4c8b304fe
- https://webrtc.googlesource.com/src/+/95f1e5192c95903d0fb7ed14f0e3acf0b510a440
- https://webrtc.googlesource.com/src/+/47ed99872d8b6392d2eb2e3c890b0eb00209fa20
- https://webrtc.googlesource.com/src/+/00f6e75671b7c73af5b3c88d2b554ee7873275f9
- https://webrtc.googlesource.com/src/+/fe3dd51f326b8d418a2ce055b313a099af58a815
- https://webrtc.googlesource.com/src/+/a6b0d53dc250aaebc14315a44515971da72980cc
- https://webrtc.googlesource.com/src/+/46fbefa3023ca7d1c1967e92b68c343173a00db2
- https://webrtc.googlesource.com/src/+/cab90db24ac2e4ddbb9e7619f65bf5dc582783c0

Differential Revision: https://phabricator.services.mozilla.com/D127706
2021-11-02 14:35:51 +00:00
Andreas Pehrson 8dcf1ce947 Bug 1729455 - Cherry-pick libwebrtc patches that makes SystemTimeNanos overrideable. r=bwc
This lets us define our own monotonic system clock for libwebrtc to use.

This patch corresponds to the libwebrtc part of chromium bug 516700
(https://crbug.com/516700).

It consists of the following libwebrtc patches squashed:
https://webrtc.googlesource.com/src/+/b73c9f0bc3c0331c177fcbd54224b350153aebcd
https://webrtc.googlesource.com/src/+/da20c739a8607e9f43e6ac04024ea622167ec694
https://webrtc.googlesource.com/src/+/373bb7bec4d2df7378d3dae965313548e6817246
https://webrtc.googlesource.com/src/+/bb52bdf09516ca548c4aff50526eda561f239bc0

Differential Revision: https://phabricator.services.mozilla.com/D127705
2021-11-02 14:35:50 +00:00
Andreas Pehrson 035e73e3d7 Bug 1729455 - Add to stats the local receive time for receiving video Sender Reports. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D125712
2021-11-02 14:35:49 +00:00
Jeff Muizelaar 4d894d0f28 Bug 1737896 - Update to core-foundation 0.9.2. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D129570
2021-11-02 01:38:38 +00:00
Sebastian Hengst 22d3b81141 Merge mozilla-central to autoland. CLOSED TREE 2021-11-01 23:06:15 +01:00
Mitchell Hentges 162c7ab422 Bug 1732946: Vendor pip/setuptools/wheel instead of installing into venv r=ahal
Now that are prioritizing system over virtualenv site-packages, the
system `pip` is sometimes being used instead.
This is causing issues when the system pip is set up in a
distro-specific way, such as when "debundled":
https://github.com/pypa/pip/blob/9.0.1/pip/_vendor/__init__.py#L53-L61

However, if we vendor `pip`, `setuptools` and `wheel`, and ensure that
they're prioritized in the `sys.path` before anything is imported from
the system, then we can ensure that we're using a modern `pip` _and_
sidestep system-specific pip weirdness.

Note that `pip-compile`'s `--allow-unsafe` flag is not as dangerous as
it sounds.
There's confusion among maintainers about its origin:
https://github.com/jazzband/pip-tools/issues/522
Additionally, it's going to be enabled by default in a future
`pip-tools` release. So, it's not scary for us to embrace here.

Also, heads up that the "pip outdated warning" no longer needs
to be manually silenced, since pip avoids that code path when
not running from an "installed" context.

Differential Revision: https://phabricator.services.mozilla.com/D127182
2021-11-01 21:34:03 +00:00
shravanrn@gmail.com 011ed92913 Bug 1736171 - Update wasm2c fork to fix hunspell crash when accessing top half of heap r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D129976
2021-10-31 21:28:06 +00:00
Sandor Molnar 555899fe9b Backed out changeset 2620e31a0702 (bug 1737896) for causing build bustage in core_foundation_sys. CLOSED TREE 2021-10-29 00:08:39 +03:00
Jeff Muizelaar 1b27f4428d Bug 1737896 - Update to core-foundation 0.9.2. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D129570
2021-10-28 20:24:11 +00:00
Nico Grunbaum 4833393987 Bug 1729367 - P7 - restore mac PID tracking using new API;r=mjf a=webrtc-update
Differential Revision: https://phabricator.services.mozilla.com/D129721
2021-10-28 18:13:20 +00:00
Nico Grunbaum f82fe60f00 Bug 1729367 - P6 - Restore PID recording post cherry-pick;r=mjf
This restores the code from P0, which was removed to make cherry-picking 439ffe462a66ad9fa9a251b265e4ab28c2647d25 and 449a78b1e20ea85b11f967cf3a184ee610ce21c3 easier.

Differential Revision: https://phabricator.services.mozilla.com/D129714
2021-10-28 18:13:20 +00:00
Michael Froman 04ea33d6ba Bug 1729367 - P5 - Change line endings back to LF. r=ng
Depends on D129748

Differential Revision: https://phabricator.services.mozilla.com/D129749
2021-10-28 15:11:16 +00:00
Michael Froman e06bdb735e Bug 1729367 - P4 - Cherry-pick win window enumeration deadlock fix PT2. r=ng
This is a altered version (to account for file name changes) of
upstream's 78c73477c75f3262cad837ce7b46adf284166b14.

Differential Revision: https://phabricator.services.mozilla.com/D129748
2021-10-28 15:11:11 +00:00
Kagami Sascha Rosylight 20fc6d114f Bug 1736752 - Update libjxl r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D129078
2021-10-28 01:06:52 +00:00
Mike Hommey eca9f260f1 Bug 1736459 - Restore the HandleRef::as_file and as_file_mut methods for geckodriver. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D129734
2021-10-27 23:15:17 +00:00
Mike Hommey 3e2e10708d Bug 1736459 - Handle null RawHandles in winapi-util. r=xpcom-reviewers,nika
This works around a regression in rust 1.56's libstd.

Differential Revision: https://phabricator.services.mozilla.com/D129571
2021-10-27 22:35:56 +00:00
Nico Grunbaum 4445a2b2d6 Bug 1729367 - P3 - Cherry-pick win window enumeration deadlock fix PT1;r=mjf
This is the first of two upstream patches which address a window enumeration deadlock when querying window titles of the windows owned by the querying process.
Neither truely fixes the issue.

Cherry-pick of 449a78b1e20ea85b11f967cf3a184ee610ce21c3
See review: https://webrtc-review.googlesource.com/c/src/+/195365

Differential Revision: https://phabricator.services.mozilla.com/D129713
2021-10-27 22:25:52 +00:00
Nico Grunbaum d7d72319d0 Bug 1729367 - P2 - Cherrypick OpenOffice capture fix for underlayment;r=mjf
This will allow the following cherry-pick to apply more easily, and it nets us a fix for the inability to capture OpenOffice on Win

Cherry-pick of 439ffe462a66ad9fa9a251b265e4ab28c2647d25
See review https://webrtc-review.googlesource.com/c/src/+/171723

Differential Revision: https://phabricator.services.mozilla.com/D129712
2021-10-27 22:25:52 +00:00
Nico Grunbaum 2fdd21ee26 Bug 1729367 - P1 - ws fixups to match upstream to cleanly cherrypick;r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D129711
2021-10-27 22:25:51 +00:00
Nico Grunbaum 858fdc781e Bug 1729367 - P0 - Temp revert of Windows pid capture to allow for clean cherry-pick;r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D129710
2021-10-27 22:25:51 +00:00