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

869861 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 33707d378d Bug 1847521 - Replace unicode-segmentation with ICU4X in WebDriver. r=webdriver-reviewers,supply-chain-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D198132
2024-01-18 02:29:19 +00:00
Makoto Kato 34342fa8e7 Bug 1847521 - Replace unicode-segmentation with ICU4X in servo. r=firefox-style-system-reviewers,emilio
Now we uses two crates for unicode segmentation, let's replace with ICU4X.

Differential Revision: https://phabricator.services.mozilla.com/D198131
2024-01-18 02:29:19 +00:00
Karl Tomlinson 3643d41bc4 Bug 1872787 change non-fatal MediaTrackGraph shutdown assertion to MOZ_DIAGNOSTIC_ASSERT r=padenot
If the graph leaks because it does not shut down its driver, then an nsThread
can be leaked and block shutdown at nsThreadManager::ShutdownNonMainThreads().
The shutdown blocker has better debug messages to identify the source of the
blockage than ShutdownNonMainThreads(), so I'd like to remove
MediaTrackGraph's code that removes it's shutdown blocker after a timeout.
This new assert is intended to give some visibility into how many problems
such removal might cause.

Depends on D198769

Differential Revision: https://phabricator.services.mozilla.com/D198770
2024-01-18 02:03:23 +00:00
Ting-Yu Lin 05d687e038 Bug 1875194 - Fix vertical scrollbar size returned by GetDesiredScrollbarSizes(). r=dholbert
When the scrollbar is on the right hand side, its size should be set in `right`
instead of in `left`.

This bug is not observable because all the callers are accessing the result
directly via `LeftRight()`, or they are transforming the result into a
`LogicalMargin` and access it via `IStartEnd()` or `BStartEnd()`. However, it is
still worth fixing for the future.

Differential Revision: https://phabricator.services.mozilla.com/D198907
2024-01-18 01:39:24 +00:00
Daniel Holbert 168a4c4dec Bug 1875189: Fixups for nits/cosmetic issues in WPT getClientRects-zoom.html. r=TYLin
This patch doesn't change the behavior (or pass/fail status) of the test at
all; it's just fixing some issues in the test that trigger parser errors and/or
make the test results hard to read.

(This is very similar to the patch that I landed earlier in
https://bugzilla.mozilla.org/show_bug.cgi?id=1874986 ; this one's just for
a different test that had similar issues.)

Specific fixes here:
- Removing the 'head' element since it's unnecessary and was being opened later
  than appropriate (after head content had already begun).
- Wrapping the test content in an element that we can use to scope the rules,
  so that we don't end up with a generic 'div' css selector that inadvertently
  targets the test-results divs that the harness appends to the page.
- Remove a stray backtick at the end of the file, and add a final newline.
- Indentation changes to remove unnecessary indentation and to accommodate the
  newly-added "test_content" wrapper div.

Differential Revision: https://phabricator.services.mozilla.com/D198906
2024-01-18 01:27:40 +00:00
Andrew Osmond bfafb36f66 Bug 1872311 - Prefer to use frame size as display size with WebCodecs. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D198734
2024-01-18 01:15:12 +00:00
Daniel Holbert cf981140c6 Bug 1874871 part 2: Enable the css zoom about:config pref, for WPT 'getClientRects-zoom.html'. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D198904
2024-01-18 01:14:56 +00:00
Andrew Osmond dab12d3ea7 Bug 1870488 - Part 3. Make OffscreenCanvas use PersistentBufferProvider on the display pipeline. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D195124
2024-01-18 01:12:34 +00:00
Andrew Osmond 739fb00bce Bug 1870488 - Part 2. Ensure TextureClient's mReadLock is only created on the IPDL actor thread. r=lsalzman
This allows us to create a TextureClient on a different thread than the
actor without special effort on the part of the allocator. Similarly, it
also allows us to destroy a TextureClient on a different thread if it
has a readlock bound to it.

Differential Revision: https://phabricator.services.mozilla.com/D195123
2024-01-18 01:12:34 +00:00
Andrew Osmond cd0b98b2e4 Bug 1870488 - Part 1. Implement ImageBridgeChild::GetTileLockAllocator. r=gfx-reviewers,lsalzman
This patch adds support for allocationg shmem sections for
ImageBridgeChild. The recording infrastructure depends on it.

Differential Revision: https://phabricator.services.mozilla.com/D189528
2024-01-18 01:12:33 +00:00
Rob Wu 51bdca8579 Bug 1870760 - Start background upon receiving a proxy request r=rpl,geckoview-reviewers,zmckenney
Startup of extension's background script is currently delayed until
after "browser-delayed-startup-finished". On desktop, this notification
is sent as soon as any browser window has been painted, which is usually
soon enough.

On Android, this notification is sent from geckoview.xhtml, which is
only loaded when any Gecko-hosted (web) content is shown. Network
requests can already be triggered from elsewhere (GeckoView) without
having loaded any Gecko-hosted "browser window" (geckoview.xhtml). This
is a problem when a `proxy.onRequest` handler has been registered,
because this can result in a request blocked indefinitely, as long as
the user has not opened an unrelated browser window.

To get around this problem, allow proxy request listeners to immediately
wake up the background page, on Android.

Differential Revision: https://phabricator.services.mozilla.com/D198842
2024-01-18 00:11:06 +00:00
John Schanck 1c596d801b Bug 1875158 - set NSS policy flags based on the value of the security.tls.enable_kyber pref. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D198864
2024-01-17 23:46:36 +00:00
John Schanck 2adac05d7f Bug 1874962 - add Xyber768 support under a pref. r=keeler,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D198744
2024-01-17 23:46:35 +00:00
Karl Tomlinson 13dc437838 Bug 1872787 add document-title-changed observer in AddTrack() to match removal in RemoveTrack() r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D198769
2024-01-17 23:06:41 +00:00
Nika Layzell 59290a756e Bug 1874793 - Don't add JSActor sendQuery promise to mPendingQueries if SendRawMessage fails, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D198641
2024-01-17 22:51:38 +00:00
Mike Hommey 0398dcfb24 Bug 1467337 - Don't allow --enable-stdcxx-compat when the linker is gold. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D197352
2024-01-17 22:47:27 +00:00
Dana Keeler c69d570cbb Bug 1874054 - prevent loading known built-in roots as third party certificates from the OS r=jschanck
If the platform code to discover third party certificates ever imports a
certificate that is already a built-in root, bad things can happen, so this
patch prevents that.

Bad thing 1: if the "third party" certificate is used as an intermediate when
it's really a built-in trust anchor, certificates issued from that root will
not verify correctly because the root's trust will be "inherits trust" and
there will usually be no valid issuer for that root (see e.g. bug 1873724).

Bad thing 2: if the "third party" certificate is used as a root and the user
has edited the default settings to not trust that root, it will unexpectedly be
trusted again.

Ideally, we'd check all loaded modules (in particular, the softoken) so as to
not override their settings as well, but that's slow and we don't want to do
that at startup.

Differential Revision: https://phabricator.services.mozilla.com/D198214
2024-01-17 22:41:04 +00:00
Dana Keeler 5538cd5f42 Bug 1874054 - use nsTArray instead of Vector for enterprise certs r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D198213
2024-01-17 22:41:04 +00:00
Kelly Cochrane f5671a5615 Bug 1859358 - Remove hardcoded limit of 25 recently closed tabs in Firefox View r=fxview-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D198824
2024-01-17 22:12:28 +00:00
Katherine Patenio b21119d3f0 Bug 1872872 - implement trusted_deals_placement event after rendering shopping ad. r=shopping-reviewers,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D198344
2024-01-17 22:08:40 +00:00
Punam Dahiya fe108a5382 Bug 1862023 - Update More From Mozilla product list to display Firefox Monitor r=settings-reviewers,desktop-theme-reviewers,fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D197977
2024-01-17 21:57:33 +00:00
Emilio Cobos Álvarez 7bf069df3a Bug 1840762 - Don't throttle postMessage for pdf.js. r=smaug
This should be safe to uplift.

Differential Revision: https://phabricator.services.mozilla.com/D198829
2024-01-17 21:49:34 +00:00
Daisuke Akatsuka 68fc95df81 Bug 1874010: Use NS_WARN_IF instead of MOZ_ALWAYS_SUCCEEDS for nsIURI creation error r=places-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D198517
2024-01-17 21:09:57 +00:00
DJ d95f0435ca Bug 1859632 - add feature callout for cookie banner reduction. r=omc-reviewers,fluent-reviewers,desktop-theme-reviewers,flod,aminomancer,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D197086
2024-01-17 20:44:26 +00:00
Butkovits Atila 161bb7e6fd Backed out changeset 41fd454b843a (bug 1870812) for causing failures at browser_resources_css_registered_properties.js. CLOSED TREE 2024-01-18 03:16:03 +02:00
Emilio Cobos Álvarez 7631053400 Bug 1874766 - Relax assertion in nsBaseWidget::UpdateZoomConstraints. r=botond
It doesn't hold if the load event is delayed a bit, but it breaking
shouldn't change any behavior / shouldn't matter in practice.

Differential Revision: https://phabricator.services.mozilla.com/D198785
2024-01-17 20:33:35 +00:00
Mike Hommey 62d58c42f2 Bug 1875002 - Explicitly set LIBCXXABI_USE_LLVM_UNWINDER off when building wasi-sdk. r=firefox-build-system-reviewers,sergesanspaille
Clang trunk has recently turned it on, and also now fails the build when
libunwind is not built at the same time.

Upstreamed in https://github.com/WebAssembly/wasi-sdk/pull/377

Differential Revision: https://phabricator.services.mozilla.com/D198763
2024-01-17 19:41:06 +00:00
Nipun Shukla d4d4343838 Bug 1665381 - Added distribution information to stub installer install telemetry ping r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D198610
2024-01-17 19:28:13 +00:00
Kelsey Gilbert 8da04acf83 Bug 1873503 - Replace Scoped with std::unique_ptr in dom/webgpu. r=webgpu-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D198088
2024-01-17 19:19:05 +00:00
Emilio Cobos Álvarez d48c37b24c Bug 1875123 - Remove auto-inverting of images on inverted-colors mode. r=canadahonk
As per the resolution of https://github.com/w3c/csswg-drafts/issues/9674

I don't think we had any test for this...

Differential Revision: https://phabricator.services.mozilla.com/D198837
2024-01-17 18:47:32 +00:00
Nikki Sharpley 0165d6faba Bug 1874253 - Remove firefoxview-next from static components manager r=fxview-reviewers,sclements
We have previously updated the AboutRedirector from `about:firefoxview-next` to `about:firefoxview`.
`firefoxview-next` no longer exists, so has been removed from the static components manager.

Differential Revision: https://phabricator.services.mozilla.com/D198815
2024-01-17 18:23:40 +00:00
Michael Froman 980abc6267 Bug 1861446 - add --continue and --abort args to cherry_pick_commit.py r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D197308
2024-01-17 18:05:19 +00:00
Michael Froman f5ecfc0688 Bug 1861446 - add better error_help to vendor_and_commit.py r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D197307
2024-01-17 18:05:19 +00:00
Michael Froman 54bdaf5a50 Bug 1861446 - add some logging output to restore_patch_stack.py r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D197306
2024-01-17 18:05:18 +00:00
Emilio Cobos Álvarez e49eaae31e Bug 1874872 - Enable custom highlight API in css-contain tests. r=jjaschke
Differential Revision: https://phabricator.services.mozilla.com/D198834
2024-01-17 17:34:42 +00:00
Tooru Fujisawa 4e3b83acac Bug 1875017 - Skip laziness validation test on ccov build. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D198789
2024-01-17 17:22:18 +00:00
mattheww 38531ed1cd Bug 1842804 - Update lang attribute after translating page r=gregtatum,translations-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D192143
2024-01-17 17:21:55 +00:00
Greg Tatum 44b676d37a Bug 1873772 - Only report XULStore load errors in the parent process; r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D198086
2024-01-17 17:18:47 +00:00
Nipun Shukla 5d785358b6 Bug 1665381 - Added distribution information to full installer install telemetry ping r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D198607
2024-01-17 17:13:08 +00:00
Joel Maher dadfbc4de3 Bug 1874955 - Ignore test start time if we skip the test. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D198754
2024-01-17 17:07:23 +00:00
Adam Vandolder d1931a5fee Bug 1870052 - Enable Declarative ShadowDOM on all channels. r=dom-core,jjaschke
Differential Revision: https://phabricator.services.mozilla.com/D198333
2024-01-17 17:05:11 +00:00
Tooru Fujisawa 71a0ccd946 Bug 1847849 - Part 2: Use JSErrorBase::column instead of JSErrorReport::tokenOffset in nsXPCComponents_Utils::ReportError. r=mccr8,evilpie
Differential Revision: https://phabricator.services.mozilla.com/D198509
2024-01-17 17:02:16 +00:00
Tooru Fujisawa e118de53e5 Bug 1847849 - Part 1: Use JSErrorBase::column instead of JSErrorReport::tokenOffset in JSErrorToXPCException. r=mccr8,evilpie
Differential Revision: https://phabricator.services.mozilla.com/D198508
2024-01-17 17:02:16 +00:00
Geoff Brown c539ebd3e2 Bug 1874126 - Only create target.maven.tar.xz in automation r=geckoview-reviewers,jcristau,nalexander,ohall
Differential Revision: https://phabricator.services.mozilla.com/D198334
2024-01-17 17:01:09 +00:00
Matthew Gaudet a4b15dde23 Bug 1870396 - Add pref for fuse-guarded destructuring r=iain
Differential Revision: https://phabricator.services.mozilla.com/D198747
2024-01-17 17:00:52 +00:00
Matthew Gaudet 9f0120ea9f Bug 1870396 - Enable fuse-guarded destructuring optimization by default r=iain
Differential Revision: https://phabricator.services.mozilla.com/D198748
2024-01-17 17:00:51 +00:00
Emilio Cobos Álvarez 1d09fcd2a3 Bug 1875079 - Always enable css zoom in chrome pages. r=saschanaz
Without this beta simulation jobs will fail with the previous patches.

Differential Revision: https://phabricator.services.mozilla.com/D198827
2024-01-17 16:52:14 +00:00
Norisz Fay 1802da62f3 Backed out changeset 686fad3c7efc (bug 1869641) for causing bc failures on browser_UITour_sync.js CLOSED TREE 2024-01-18 01:48:05 +02:00
Norisz Fay 604f0d591c Backed out changeset 2e5c6f0706b8 (bug 1870067) for causing assertion failure on StorageAccessAPIHelper.cpp 2024-01-18 01:45:22 +02:00
Olli Pettay f1ad64a075 Bug 1874969 - Consider to use GetHeterogeneousCpuInfo when deciding how many background threads TaskController should have, r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D198745
2024-01-17 16:44:08 +00:00