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

828636 Коммитов

Автор SHA1 Сообщение Дата
serge-sans-paille da45a5a7c1 Bug 1811934 - Have nsID::ToString() return an managed string instead of a raw pointer r=xpcom-reviewers,nika
And use nsID::ToProvidedString(...) method when suitable.

This naturally fixes a memory leak in dom/fetch/FetchParent.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D167606
2023-01-31 16:44:04 +00:00
Cosmin Sabou c03916bb96 Backed out changeset bc47fb3cd3e3 (bug 1813063) for causing crashtest failures on noindex.mp4. CLOSED TREE 2023-01-31 22:54:09 +02:00
Emilio Cobos Álvarez bd6082851e Bug 1814063 - Minor tweak to site data settings dialog styles. r=mconley,settings-reviewers
I can repro the issue with a larger size in the CSS (though I couldn't
find a screen size+resolution combo that caused this "naturally").

That said, 36em seems quite a lot, so reduce it to 20em which is what
the other dialogs use.

Also, use max-height rather than height so that the box is smaller for
smaller lists. We know this list has at least two elements so it should
look fine.

Differential Revision: https://phabricator.services.mozilla.com/D168400
2023-01-31 19:13:50 +00:00
Jonathan Kew 7585dcd59a Bug 1813987 - Remove direct ICU usage from gfxFontGroup; rely on intl::String API instead. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D168359
2023-01-31 18:56:53 +00:00
Gregory Pappas 15bb63ab92 Bug 1813302 - Add missing blockL10n property to UrlbarProviderOmnibox payload r=dao,adw
Differential Revision: https://phabricator.services.mozilla.com/D168191
2023-01-31 18:50:23 +00:00
Chris Martin 657fe743a9 Bug 1811991 - Backout GPU Sandbox filesystem blocking r=handyman
The filesystem blocking breaks Raptor tests and other programs that rely on
screen recording.

Will have to remote the screen recording and then re-enable filesystem blocking

Differential Revision: https://phabricator.services.mozilla.com/D168411
2023-01-31 18:47:27 +00:00
Nicolas Silva b9a14703be Bug 1813547 - Vendor wgpu changes. r=webgpu-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D168303
2023-01-31 18:29:10 +00:00
Nicolas Silva 6ae5da82f4 Bug 1813547 - Update wgpu to revision 48d8666de002c7bfddbe85a2596f7748b4cc18b4. r=webgpu-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D168302
2023-01-31 18:29:09 +00:00
Nicolas Silva 35e38669a9 Bug 1813547 - Vet wgpu and naga commits. r=supply-chain-reviewers,bholley
Differential Revision: https://phabricator.services.mozilla.com/D168304
2023-01-31 18:29:09 +00:00
Paul Adenot 44e855ffce Bug 1813063 - Null-check aIndices when determining the total media time: some mp4 files don't have an index. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D168291
2023-01-31 18:27:49 +00:00
Hannah Peuckmann fb29c82010 Bug 791594 - Hide authPromptSpoofing protection behind a pref. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D164443
2023-01-31 18:16:54 +00:00
Hannah Peuckmann b8be954fd0 Bug 791594 - Set tab title state while auth prompt is open. r=pbz,mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D164442
2023-01-31 18:16:54 +00:00
Hannah Peuckmann 00f8509196 Bug 791594 - Set URL bar state while prompt is open. r=pbz,Gijs,adw
Differential Revision: https://phabricator.services.mozilla.com/D164441
2023-01-31 18:16:54 +00:00
Hannah Peuckmann cb19af7145 Bug 791594 - Gray out content behind cross origin auth requests. r=pbz,Gijs,mconley
Differential Revision: https://phabricator.services.mozilla.com/D164440
2023-01-31 18:16:53 +00:00
Jim Blandy b8e5fb26bb Bug 1806699: Make WebGPU indirect dispatch/draw pref-enabled. r=jgilbert,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D168286
2023-01-31 18:02:01 +00:00
Olli Pettay b10f170599 Bug 1812753 - Move xpcom/ds/MruCache.h to mfbt/, r=glandium
The gtest lives still in xpcom/tests/gtest/TestMruCache.cpp since it relies on nsString.

Differential Revision: https://phabricator.services.mozilla.com/D168007
2023-01-31 17:59:25 +00:00
Norisz Fay 73c377bc06 Backed out changeset 7d4b830c1cf6 (bug 1811934) for causing wpt failures on pointerevent_pointerrawupdate_in_pointerlock.html CLOSED TREE 2023-01-31 21:44:59 +02:00
Johan Lorenzo 5628b484c0 Bug 1793219 - Bump taskcluster-taskgraph to 3.5.2 and mozilla-repo-urls to 0.1.1 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D168355
2023-01-31 17:41:13 +00:00
Marco Bonardo db055a5e76 Bug 1813484 - Use new URI <-> URL conversion in Places. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D168253
2023-01-31 17:36:22 +00:00
Mozilla Releng Treescript ecad6bc2f2 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
da -> 140194e1e96f0a1b61784728ea5503dfda588301
gn -> 3ab565a9322544d1314d020fa585cd748f94a2c1
ja -> 9197de369f66a233f7c1566c21bced4d0b6a9fac
ja-JP-mac -> b806081612f0eca4c0c841ea5e0ffb3060b59fb1
lo -> e95469adac71b45a2c3e80959b05f76722ebc63c
ru -> cb42ef06d707058d5bcdb92808170833bda7083f
zh-CN -> d0387d03bfe3ee524bfa2372bf4fe9f99e101e22
2023-01-31 19:07:13 +00:00
Doug Thayer 6995647b35 Bug 1812508 - Set dependency of result in MMegamorphicLoadSlotByValue::foldsTo r=jandem
I assumed that this would have been covered in ValueNumbering.cpp, but it
appears this is a one-of-a-kind foldsTo, in that every other one either folds
to an existing node or to a constant?

Differential Revision: https://phabricator.services.mozilla.com/D168128
2023-01-31 17:34:27 +00:00
Cosmin Sabou cf44a6155b Backed out changeset ffba597a6455 (bug 1813127) for causing build bustages on RenderPassEncoder.cpp. CLOSED TREE 2023-01-31 20:31:45 +02:00
Kagami Sascha Rosylight ad248024a6 Bug 1812315 - Part 2: Implement ReadableStream::CreateNative and WritableStream::ErrorNative for WebTransport r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D167825
2023-01-31 17:31:09 +00:00
Kagami Sascha Rosylight d377991e6f Bug 1812315 - Part 1: Implement WritableStream::SetUpNative for File System r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D167824
2023-01-31 17:31:08 +00:00
Julien Wajsberg 44009be00a Bug 1813310 - Do not instanciate the Profiler Runnable RAII if the profiler isn't running r=florian
In Bug 1688300, we implemented that we emit markers when a Runnable
runs. But this has some performance consequences because we instanciate
the RAII even when the profiler doesn't run, even though we don't do
anything in it. Especially we're running TimeStamp::Now() which can be
slow on some platforms.

This patch avoids this by instanciating the RAII only when the profiler
runs.

Differential Revision: https://phabricator.services.mozilla.com/D168374
2023-01-31 17:24:05 +00:00
Mike Hommey 1248412d66 Bug 1814134 - Fix clang plugin to build with recent clang trunk. r=firefox-build-system-reviewers,ahochheiden
Clang trunk recently removed Optional (replaced with std::optional).

Differential Revision: https://phabricator.services.mozilla.com/D168406
2023-01-31 17:18:03 +00:00
Mike Hommey 2fe409322f Bug 1813356 - Partially revert clang upstream change to index profile data files. r=firefox-build-system-reviewers,ahochheiden
In bug 1811960, the change was fully reverted, but that now conflicts with
more recent changes to clang trunk. So instead, we only revert the part that
affects the writing of the profile data files.

Differential Revision: https://phabricator.services.mozilla.com/D168404
2023-01-31 17:17:17 +00:00
Hubert Boma Manilla 5590a753bd Bug 1810979 - [devtools] Show source id for source without urls r=nchevobbe
This patch displays a source id for sources without urls in the project search results.
This source id matches that shown for the source tab.

Differential Revision: https://phabricator.services.mozilla.com/D168246
2023-01-31 17:16:49 +00:00
Hubert Boma Manilla a8c20b3cc0 Bug 1810979 - [devtools] Fix source tab names for sources with no urls r=nchevobbe
Found a bug where we just showing `SOURCE` in the tab for sources without urls,
instead of the actual source ids. e.g `SOURCE` instead of `SOURCEsource39`
This patch fixes the issue to show
- The source id ie. `(source39)`
- No need for the duplicate `SOURCE`

Differential Revision: https://phabricator.services.mozilla.com/D168245
2023-01-31 17:16:48 +00:00
Hubert Boma Manilla 83f86a9fce Bug 1812023 - [devtools] Move jest tests to mochitests r=ochameau
- Trying to move all the jest tests for project-search to mochitests
- Renaming browser_dbg-search-project.js to browser_dbg-project-search.js for consistency.
- Keeping project-search.spec.js for now, will figure out how to move to xpcshell in abit.

Differential Revision: https://phabricator.services.mozilla.com/D167786
2023-01-31 17:16:47 +00:00
Jason Prickett 810bba0add Bug 1813947 - Fix pdf location evaluation for feature callout in chrome r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D168327
2023-01-31 16:55:18 +00:00
Alexandre Poirot c2c8426a63 Bug 1813476 - [devtools] Convert a few non-actor code to ES Classes. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D168260
2023-01-31 16:50:11 +00:00
Alexandre Poirot 8bf9a7646f Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*/*.js to ES Classes. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D168259
2023-01-31 16:50:10 +00:00
Alexandre Poirot c4aab2d940 Bug 1813476 - [devtools] Mass migrate all actors from devtools/server/actors/*.js to ES Classes. r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D168258
2023-01-31 16:50:10 +00:00
Alexandre Poirot 63582a6a12 Bug 1813476 - [devtools] Convert Thread actor to ES Class. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D168257
2023-01-31 16:50:09 +00:00
Alexandre Poirot 109b9327f7 Bug 1813476 - [devtools] Convert RootActor to ES Class. r=devtools-reviewers,nchevobbe
We might followup and remove "echo" which is only used by test?

Differential Revision: https://phabricator.services.mozilla.com/D168256
2023-01-31 16:50:08 +00:00
Alexandre Poirot 6081889a65 Bug 1813476 - [devtools] Ensure instantiating via "new" all actors. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D168255
2023-01-31 16:50:07 +00:00
Daniel Holbert 8fadefc5be Bug 1813865: Add 'Material Icons Extended' to the allowlist of known ligature icon fonts. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D168326
2023-01-31 16:47:44 +00:00
Byron Campen [:bwc] f41fca9210 Bug 1812293: Remove this code that was breaking the replaceTrack(null->non-null) case. r=pehrsons
We don't need to do anything like this, since setting the nullptr on the pipeline
accomplishes what we want here.

Differential Revision: https://phabricator.services.mozilla.com/D168388
2023-01-31 16:46:23 +00:00
Byron Campen [:bwc] 30acadee01 Bug 1812293: Test-case for bug. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D167981
2023-01-31 16:46:22 +00:00
serge-sans-paille 2dfe139f78 Bug 1811934 - Have nsID::ToString() return an managed string instead of a raw pointer r=xpcom-reviewers,nika
And use nsID::ToProvidedString(...) method when suitable.

This naturally fixes a memory leak in dom/fetch/FetchParent.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D167606
2023-01-31 16:44:04 +00:00
Niklas Baumgardner f50ece2128 Bug 1799215 - Screenshots overlay buttons should have focus states. r=cmkm
Differential Revision: https://phabricator.services.mozilla.com/D167583
2023-01-31 16:20:48 +00:00
Jim Blandy 4832fa9ed3 Bug 1813127: Have GPURenderPassEncoder.setBlendConstant accept sequence<double> colors. r=nical,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D168265
2023-01-31 16:14:13 +00:00
Angus Sawyer 843eab98fc Bug 1785635 Add flag to enforce from-image orientation for createImageBitmap r=emilio
New flag added to nsLayoutUtils to ensure any exif specified orientation
is applied to surfaces obtained from HTMLImage elements irrespective of the
presence of the element in the DOM. For use in createImageBitmap where from-image is
the required behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D168356
2023-01-31 16:04:17 +00:00
Iulian Moraru a8e5bce81b Backed out 3 changesets (bug 1811538) for causing build bustages on Promise.cpp. CLOSED TREE
Backed out changeset 0a665be7896a (bug 1811538)
Backed out changeset b949053bae31 (bug 1811538)
Backed out changeset 57d4dbe88611 (bug 1811538)
2023-01-31 19:00:59 +02:00
Matthew Gaudet 577eea2622 Bug 1813624 - Remove unused variable warmup counter increment r=jandem
Depends on D168288

Differential Revision: https://phabricator.services.mozilla.com/D168289
2023-01-31 15:59:07 +00:00
Matthew Gaudet 16640a592e Bug 1813624 - Remove old IonBuilder warmup heuristic r=jandem
This was added in this [1] commit, but the actual purpose and intent have been
lost, though the comment has nevertheless survived.

[1]: https://hg.mozilla.org/mozilla-central/rev/251540232d8f8890458446fcb2e89f8a87b02cd7

Differential Revision: https://phabricator.services.mozilla.com/D168288
2023-01-31 15:59:07 +00:00
Julian Seward 8a803fd80c Bug 1812283 - WasmArrayObject::create: don't create zero-sized payload blocks. r=rhunt.
The Dart Barista-3 benchmark creates around 662,000 wasm-gc arrays.  Of these,
308,000 have no elements (bizarrely); as a result we end up malloc-heap
allocating a zero-sized payload area for them.  It would be better not to.

This patch changes WasmArrayObject::createArray so as to allocate the data
area only if the number of elements is non-zero.  As a result the invariant
for WasmArrayObject "data pointer is never null" is changed to "data pointer
is null iff the number of elements is zero".  But that's no big deal.

::obj_trace and ::obj_finalize are updated accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D168239
2023-01-31 15:55:25 +00:00
Stephen A Pohl bc29fba3c6 Bug 1779478: Replace the deprecated use of NSGraphicsContext's graphicsPort with CGContext. r=mstange
Depends on D153637

Differential Revision: https://phabricator.services.mozilla.com/D153639
2023-01-31 15:50:00 +00:00
Stephen A Pohl cd10e42b26 Bug 1779478: Replace the deprecated use of NSStatusItem.image with NSStatusItem.button.image. r=mstange
Depends on D153636

Differential Revision: https://phabricator.services.mozilla.com/D153637
2023-01-31 15:50:00 +00:00