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

787115 Коммитов

Автор SHA1 Сообщение Дата
Csoregi Natalia 3bbe5b075b Backed out changeset e665e278f4ac (bug 1730515) for causing issues on search functionality. a=backout 2022-03-04 20:04:18 +02:00
Cristian Tuns 9efff64959 Merge autoland to mozilla-central. a=merge 2022-03-04 10:58:54 -05:00
Peter Van der Beken 23774f7181 Bug 1758062 - Convert parameters upfront. r=smaug, a=tritter
Differential Revision: https://phabricator.services.mozilla.com/D140337
2022-03-04 14:00:25 +00:00
Jan Varga 4b0b18b972 Bug 1757577 - Fix non-unified-build bustage in layout/base/PresShell.cpp; r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D139949
2022-03-04 12:40:23 +00:00
William Durand c1292fa5c4 Bug 1736584 - Initial implementation of `scripting.unregisterContentScripts()`. r=robwu
Depends on D139503

Differential Revision: https://phabricator.services.mozilla.com/D138819
2022-03-04 12:12:37 +00:00
Nazım Can Altınova c7cba430c9 Bug 1709104 - Send the IPC markers in sender/receiver/background threads to the main thread if they are not profiled r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D140089
2022-03-04 12:10:02 +00:00
Nazım Can Altınova 186ed89c0e Bug 1755965 - Send the IPC markers in IPC I/O thread to the main thread if they are not profiled r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D140088
2022-03-04 12:10:01 +00:00
Emilio Cobos Álvarez 311c01e6ef Bug 1751882 - Vertically align submenus on Linux. r=stransky,dao
Much like OSX and Windows do:

  https://searchfox.org/mozilla-central/rev/7f1db1d2c556b82114b62f5aa4aa29397ad5bce4/toolkit/themes/osx/global/popup.css#24
  https://searchfox.org/mozilla-central/rev/7f1db1d2c556b82114b62f5aa4aa29397ad5bce4/toolkit/themes/windows/global/popup.css#77

Differential Revision: https://phabricator.services.mozilla.com/D140312
2022-03-04 11:51:43 +00:00
Petr Sumbera ff767440fc Bug 1695863 - fix toolkit.asyncshutdown.crash_timeout conversion on some systems r=jstutte
Differential Revision: https://phabricator.services.mozilla.com/D140214
2022-03-04 11:46:45 +00:00
Emilio Cobos Álvarez cff9bc48a3 Bug 1757996 - Improve context menu handling on Wayland. r=stransky
What caused the issue was that nsMenuPopupFrame::MoveTo didn't account
for the change in bug 312891. But our context menu / popup positioning
code can be much simpler if we account for the context menu offset
before-hand as an extra horizontal / vertical margin in all directions.

Then we don't need to special-case it at all.

Differential Revision: https://phabricator.services.mozilla.com/D140263
2022-03-04 11:45:41 +00:00
Noemi Erli d69b2997c4 Backed out changeset 86a8141f5590 (bug 1757996) for causing failures in test_popup_attribute.xhtml CLOSED TREE 2022-03-04 13:27:43 +02:00
Emilio Cobos Álvarez 9c57b41359 Bug 1757996 - Improve context menu handling on Wayland. r=stransky
What caused the issue was that nsMenuPopupFrame::MoveTo didn't account
for the change in bug 312891. But our context menu / popup positioning
code can be much simpler if we account for the context menu offset
before-hand as an extra horizontal / vertical margin in all directions.

Then we don't need to special-case it at all.

Differential Revision: https://phabricator.services.mozilla.com/D140263
2022-03-04 10:31:32 +00:00
Jon Coppeard ce2dcb95f0 Bug 1757573 - Use the correct zone when looking up nuked WeakRef CCWs r=sfink
WeakRefs are exposed to the user so anyone can create CCWs to WeakRefs. Don't
assume that a nuked WeakRef CCW is one that we created but get it's target to
find which zone to look it up in.

Differential Revision: https://phabricator.services.mozilla.com/D140044
2022-03-04 10:08:31 +00:00
Cristian Tuns d50736cc2f Merge mozilla-central to autoland on a CLOSED TREE 2022-03-04 04:44:07 -05:00
Cristian Tuns d4ebb53e71 Merge autoland to mozilla-central. a=merge 2022-03-04 04:41:02 -05:00
Evgenia Kotovich 0af9958d76 Bug 1747689 - Changed browser_library_new_bookmark.js to pass with editBookmark.js pattern. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D137958
2022-03-04 09:36:49 +00:00
Glenn Watson 15704e4696 Bug 1757845 - Fix nested local scale within surface hierarchy r=gfx-reviewers,nical
Also include the raster scale in the PictureKey, so that WR will
invalidate when everything is the same apart from the raster
scale (was causing the included wrench reftest to not re-render).

Differential Revision: https://phabricator.services.mozilla.com/D140282
2022-03-04 09:18:31 +00:00
Alexandre Poirot ec21853e04 Bug 1757401 - [devtools] Simplify source selectors thanks to thread attribute on sources. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D140079
2022-03-04 09:14:21 +00:00
Mark Banner 176d459cc1 Bug 1758014 - Search settings should use an atomic operation when writing. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D140267
2022-03-04 07:45:36 +00:00
Nicolas Chevobbe a002fca482 Bug 1756822 - [devtools] Don't include unnecessary properties in console message resource. r=jdescottes.
Don't clone the whole message we receive as a result of a console API call, but select
properties that are being used on the client.
As a result, we're not sending some properties anymore (`functionName`, `addonId`, `workerType`),
and we also don't include some properties when they are falsy and wouldn't bring
any benefit (`counter`,`timer`, `private`, `prefix`, `stacktrace`)

Hopefully this helps save some cycle since we're not cloning an object, but also in the
JSActor communication since the packet we need to send is smaller.

We do similar changes to the webconsoleActor method, which is still used in non
fission scenarios, and remove WebConsoleUtils.cloneObject which is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D139686
2022-03-04 07:05:06 +00:00
Mozilla Releng Treescript 76d737100f no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
tg -> f66bbbbda7eee35287c9f8af29781cba07bf2f9c
2022-03-04 06:57:53 +00:00
Gerald Squelart 2258868d1b Bug 1755823 - Lock the ThreadRegistry non-exclusively when only reading the thread list, exclusively when adding/removing threads - r=canaltinova
This allows multiple threads to access ThreadRegistrations through the thread registry, as long as the registry itself is not modified. So in particular, ThreadRegistrations are guaranteed to stay alive as long as a non-exclusive lock is held.
This ensures cross-thread markers are not blocked while the sampler is running.

Differential Revision: https://phabricator.services.mozilla.com/D139917
2022-03-04 06:48:11 +00:00
Gerald Squelart 51a6a42c9a Bug 1755823 - BaseProfilerSharedMutex and exclusive&shared RAII locks - r=canaltinova
This is a profiler-specific shared lock (aka readers-writer lock) implemented on top of RWLockImpl.
Similar to BaseProfilerMutex, it records which thread is currently holding the exclusive lock.

Differential Revision: https://phabricator.services.mozilla.com/D139916
2022-03-04 06:48:11 +00:00
nchevobbe 7189e9cf74 Bug 1756941 - Add DebuggerObject#getOwnPropertiesLength. r=mgaudet.
This new method is being used in DevTools code to replace the usage
that was made of `getOwnPropertyNames` only to retrieve the length
property of the returned array.

Differential Revision: https://phabricator.services.mozilla.com/D139709
2022-03-04 05:58:42 +00:00
Jan Rio Krause 10f92fad6c Bug 1757754 - Fix MinGW build failure by defining `ERROR_CONTENT_BLOCKED`. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D140212
2022-03-04 05:52:19 +00:00
Butkovits Atila fed1c445a8 Backed out changeset 6f9edda31be0 (bug 1756518) for causing failures at TestHttpChannel.PBAsyncOpen. CLOSED TREE 2022-03-04 07:08:12 +02:00
Butkovits Atila 07447764bf Backed out changeset ef3284274d47 (bug 1754263) for cauisng failures at browser_parsable_css.js. 2022-03-04 06:45:25 +02:00
Butkovits Atila fcf5fc9517 Merge mozilla-central to autoland. CLOSED TREE 2022-03-04 06:22:52 +02:00
Toshihito Kikuchi 69d4c48340 Bug 1756518 - Delay starting UntrustedModulesProcessor. r=mhowell,necko-reviewers,kershaw
This patch is to delay starting `UntrustedModulesProcessor` to avoid
processing a massive amount of loaded modules in the browser process
during startup.

To achive that, this patch introduces "unblock-untrusted-modules-thread"
notification.  Before the notification, `UntrustedModulesProcessor` is
created but marked as not ready.  This means the processor does not
go beyond `ScheduleNonEmptyQueueProcessing`.  Once the notification is
observed, we propagate it to all existing child processes, and afterward
`UntrustedModulesProcessor` in new processes will be marked ready from
the beginning.

Differential Revision: https://phabricator.services.mozilla.com/D140123
2022-03-04 03:18:42 +00:00
Butkovits Atila 78f77536c7 Backed out 2 changesets (bug 1755823) for causing cpp failures at TestBaseProfiler.cpp. CLOSED TREE
Backed out changeset d758cab0d5cf (bug 1755823)
Backed out changeset 169754a1f337 (bug 1755823)
2022-03-04 05:36:41 +02:00
Ting-Yu Lin b48196dcda Bug 1758018 Part 2 - Add helpers testing only "position:relative", and adapt them at some callsites. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D140274
2022-03-04 03:02:01 +00:00
Ting-Yu Lin 7e0c39f9b1 Bug 1758018 Part 1 - Rename the helpers testing "position:relative" or "position:sticky". r=emilio
`nsIFrame::IsRelativelyPositioned()` tests "position:relative" or
"position:sticky", but its naming is misleading until you've dug into the
underlying helper `nsStyleDisplay::IsRelativelyPositionedStyle()`.

Differential Revision: https://phabricator.services.mozilla.com/D140273
2022-03-04 03:02:00 +00:00
Butkovits Atila 3416d20c66 Bug 1638958 - disable browser_label_and_icon.js on Linux_64_opt for frequent failures. r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140268
2022-03-04 02:51:29 +00:00
Barret Rennie d0559cad54 Bug 1757714 - Update ASRouter docs link, again r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D140230
2022-03-04 02:46:28 +00:00
Butkovits Atila 32e90c2555 Backed out changeset de7f88e226a1 (bug 1757714) for causing node failures. CLOSED TREE 2022-03-04 04:37:02 +02:00
Barret Rennie 09978d12d0 Bug 1757714 - Update ASRouter docs link, again r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D140230
2022-03-04 01:55:45 +00:00
Butkovits Atila 2fa3391c7b Backed out changeset 3336c8e9a43f (bug 1756518) for causing build bustages at Unified_cpp_xre_dllservices. CLOSED TREE 2022-03-04 03:49:23 +02:00
Butkovits Atila 396d1a212f Bug 1631178 - Update wpt expectations in webrtc-extensions/RTCRtpSynchronizationSource-senderCaptureTimeOffset.html.ini. r=test-fix 2022-03-04 03:31:06 +02:00
Andreea Pavel 794f08e4fd Merge autoland to mozilla-central 2022-03-04 06:16:25 +02:00
Butkovits Atila 02023dd110 Bug 1631178 - Update wpt expectations in webrtc-extensions/RTCRtpSynchronizationSource-senderCaptureTimeOffset.html.ini. r=test-fix. CLOSED TREE 2022-03-04 03:31:06 +02:00
Toshihito Kikuchi 216c399735 Bug 1756518 - Delay starting UntrustedModulesProcessor. r=mhowell,necko-reviewers,kershaw
This patch is to delay starting `UntrustedModulesProcessor` to avoid
processing a massive amount of loaded modules in the browser process
during startup.

To achive that, this patch introduces "unblock-untrusted-modules-thread"
notification.  Before the notification, `UntrustedModulesProcessor` is
created but marked as not ready.  This means the processor does not
go beyond `ScheduleNonEmptyQueueProcessing`.  Once the notification is
observed, we propagate it to all existing child processes, and afterward
`UntrustedModulesProcessor` in new processes will be marked ready from
the beginning.

Differential Revision: https://phabricator.services.mozilla.com/D140123
2022-03-04 01:21:32 +00:00
Bryce Seager van Dyk 7926e88315 Bug 1751821 - Correct GMPInit signature in fake openh264 GMP. r=jesup,media-playback-reviewers,alwu
The signature for GMPInit should have a const arg. This is missing for the fake
plugin here, and that is potentially problematic (if for no other reason than it
breaks UBSan checking of functions). Given that the function doesn't do anything
with its arg for the fake plugin, we can trivially make it const.

Differential Revision: https://phabricator.services.mozilla.com/D139906
2022-03-04 00:47:03 +00:00
Mike Hommey f7b39f73c2 Bug 1758021 - Get is_{arm,aarch64}_feature_detected from std::arch on rustc >= 1.60. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D140278
2022-03-04 00:39:40 +00:00
Sam Foster 3f85a16731 Bug 1754263 - Remove %includes from menu.css stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D139901
2022-03-04 00:03:37 +00:00
Andrew Osmond 6eff3fa786 Bug 1691774 - Check shmem allocation/mapping failures in ClientWebGLContext. r=jgilbert
We use webgl::RaiiShmem in a few places to read in pixel buffers from a
call to the compositor process. Shmems might fail to be mapped into our
process, probably due to virtual memory constraints, and we should check
for that condition.

Depends on D136355

Differential Revision: https://phabricator.services.mozilla.com/D136365
2022-03-03 23:21:36 +00:00
Gerald Squelart ae676b6b1b Bug 1755823 - Lock the ThreadRegistry non-exclusively when only reading the thread list, exclusively when adding/removing threads - r=canaltinova
This allows multiple threads to access ThreadRegistrations through the thread registry, as long as the registry itself is not modified. So in particular, ThreadRegistrations are guaranteed to stay alive as long as a non-exclusive lock is held.
This ensures cross-thread markers are not blocked while the sampler is running.

Differential Revision: https://phabricator.services.mozilla.com/D139917
2022-03-03 23:03:06 +00:00
Gerald Squelart b204f08834 Bug 1755823 - BaseProfilerSharedMutex and exclusive&shared RAII locks - r=canaltinova
This is a profiler-specific shared lock (aka readers-writer lock) implemented on top of RWLockImpl.
Similar to BaseProfilerMutex, it records which thread is currently holding the exclusive lock.

Differential Revision: https://phabricator.services.mozilla.com/D139916
2022-03-03 23:03:05 +00:00
Andreea Pavel 2e2899b994 Bug 1721261 - disable browser_browsingContext-webProgress.js on linux64 debug r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140264
2022-03-03 22:57:42 +00:00
Dão Gottwald 825ae02700 Bug 1757955 - Implement --focus-outline-inset variable. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D140210
2022-03-03 22:47:40 +00:00
Andrew Osmond d5519206c8 Bug 1757898 - Mark OffscreenCanvas transferToImageBitmap WebGL tests as failing on 32-bit Linux. r=gfx-reviewers,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D140215
2022-03-03 22:46:18 +00:00