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
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
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
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
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
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
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
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
- 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
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
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
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