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

803258 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gaudet 11c3d438fc Bug 1782267 - Fix comment around WrappedFunction prototype r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D153227
2022-08-02 13:21:47 +00:00
Emilio Cobos Álvarez 87ca092596 Bug 1782623 - Rename nsNativeTheme::IsDarkBackground to IsDarkBackgroundForScrollbar, and clean up a bit surrounding code. r=dholbert
This patch shouldn't change behavior. The Cocoa changes in particular
just save useless frame tree walks, since ThemeColors already computes
the color scheme in ColorSchemeForWidget.

Differential Revision: https://phabricator.services.mozilla.com/D153424
2022-08-02 13:20:40 +00:00
Florian Queze 80cd7c460f Bug 1782098 - specify the utf-8 encoding when opening a local profile to symbolicate it, r=mstange,perftest-reviewers,sparky.
Differential Revision: https://phabricator.services.mozilla.com/D153103
2022-08-02 12:36:55 +00:00
Dão Gottwald 7c4732f5fe Bug 1782675 - Add `button` helper to FirefoxViewHandler and make `attention` a boolean attribute. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D153447
2022-08-02 12:20:07 +00:00
Norisz Fay 6b6c07c221 Backed out changeset f0d33d068908 (bug 1779205) for causing gfx related crashes CLOSED TREE 2022-08-02 15:24:49 +03:00
pmcmanis e744c1f7a6 Bug 1780621 test size limits of updated Memory Distribution Accumulate r=Dexter
Also adds a small guardrail consistent with the implementation in Timing Distribution

Differential Revision: https://phabricator.services.mozilla.com/D153384
2022-08-02 12:14:16 +00:00
Dimi 66a89641e4 Bug 1781977 - Remove URLCLASSIFIER_UPDATE_REMOTE_SETTINGS_RESULT telemetry r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D153133
2022-08-02 12:13:23 +00:00
Sarah Clements f0e1d0730e Bug 1768695 - Add error states handling to FirefoxView r=sfoster,fluent-reviewers,desktop-theme-reviewers
* Add new card and styling for network offline, sync error and sync disabled by admin errors
* Change loading spinner to rotating sync svg
* Add tests

Differential Revision: https://phabricator.services.mozilla.com/D153069
2022-08-02 11:56:23 +00:00
Mohamed Atef dc4af7919e Bug 1341943: Do not emit JSOp::RetRval for arrow function with expression body. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D153342
2022-08-02 11:49:21 +00:00
Florian Quèze c8c15f9004 Bug 1782693 - Stop ticking after page load when there are no pending tasks, r=smaug.
Differential Revision: https://phabricator.services.mozilla.com/D153451
2022-08-02 11:47:28 +00:00
Jonathan Kew dfc7e85147 Bug 1779205 - Drop variation tables entirely during sanitization if we don't support variations on the current platform. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D153444
2022-08-02 11:47:11 +00:00
Timothy Nikkel 5f9393c35d Bug 1780315. Use a timer to make sure all profiler screenshots get submitted. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D152232
2022-08-02 11:14:17 +00:00
Sandor Molnar 646227cd7d Backed out 2 changesets (bug 1777198) for causing build bustage in dom/ipc/ProcessHangMonitor.cpp CLOSED TREE
Backed out changeset 472fe2d7af01 (bug 1777198)
Backed out changeset 0b9cb5b44360 (bug 1777198)
2022-08-02 14:08:45 +03:00
Julian Seward 8ec529562a Bug 1782490 - Fix vague/misleading names in BacktrackingAllocator.cpp. r=jandem.
BacktrackingAllocator.{h,cpp} contain a few functions whose names are vague or
misleading or both.  This patch renames four such functions.  There is no
functional change.

BacktrackingAllocator::splitAndRequeueBundles
  -> BacktrackingAllocator::updateVirtualRegisterListsThenRequeueBundles

BacktrackingAllocator::resolveControlFlow
  -> BacktrackingAllocator::createMoveGroupsFromLiveRangeTransitions

BacktrackingAllocator::reifyAllocations
  -> BacktrackingAllocator::installAllocationsInLIR

LiveRange::distributeUses
  -> LiveRange::tryToMoveDefAndUsesInto

Differential Revision: https://phabricator.services.mozilla.com/D153348
2022-08-02 10:43:32 +00:00
Bob Owen f29f23d58b Bug 1682520 p2: Register the WER Runtime Exception Module very early in process start up. r=gsvelto,glandium
Depends on D152198

Differential Revision: https://phabricator.services.mozilla.com/D152199
2022-08-02 10:41:14 +00:00
Bob Owen d6333678d8 Bug 1682520 p1: Move GeckoProcessType and implementation of get and set into mozglue. r=glandium
This means we can set and use the process type earlier in process startup.

Differential Revision: https://phabricator.services.mozilla.com/D152198
2022-08-02 10:41:14 +00:00
Pier Angelo Vendrame 2f55a1a885 Bug 1774413: Bundled fonts are not picked up on macOS r=jfkthame
Bundled fonts were not picked up because also child processes need to
register them.
Also, they were assigned User visibility, instead of Base, which was
not coherent with other platforms.

Differential Revision: https://phabricator.services.mozilla.com/D150400
2022-08-02 10:30:35 +00:00
Nicolas Chevobbe ba30834aad Bug 1616273 - [devtools] Wait for webconsole reloaded event in _watchForPanelReload. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D63184
2022-08-02 10:06:56 +00:00
Jon Coppeard 26490d4e4f Bug 1770768 - Part 6: Calculate balanced heap limits r=sfink
This patch adds the calculation of the heap limit based on the formula from the paper.

Differential Revision: https://phabricator.services.mozilla.com/D152867
2022-08-02 10:05:06 +00:00
Jon Coppeard 6a736bc9ba Bug 1770768 - Part 5: Calculate the allocation rate r=sfink
Calculate the allocation rate per zone. This requires remembering the previous
heap size and also tracking the amouth of memory freed in the mean time.

This uses an exponential moving average to smooth the result but with a much
lower factor, so that the allocation rate decays slowly when a zone stops
allocating.

Differential Revision: https://phabricator.services.mozilla.com/D152866
2022-08-02 10:05:06 +00:00
Jon Coppeard ca53bac91e Bug 1770768 - Part 4: Calculate the garbage collection rate r=sfink
This estimates the collection rate per zone based on GC time (including
off-thread sweeping) and zone size pre-GC. The result is smoothed using an
exponential moving average.

We don't have per-zone time information for main thread GC time, so we estimate
proportionally based on the zone's initial size. The patch records per-zone
sweeping time and includes that in the calculation. Compacting time is not
included since that is relatively rare and will skew the result.

Differential Revision: https://phabricator.services.mozilla.com/D152865
2022-08-02 10:05:05 +00:00
Jon Coppeard 0ebad143ef Bug 1770768 - Part 3: Add browser prefs for the new GC parameters r=mccr8,sfink
Differential Revision: https://phabricator.services.mozilla.com/D152864
2022-08-02 10:05:05 +00:00
Jon Coppeard d5ad2725fb Bug 1770768 - Part 2: Add a GC parameter for the heap growth factor used when balanced heap limits are enabled r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D152863
2022-08-02 10:05:05 +00:00
Jon Coppeard 9d60e6b077 Bug 1770768 - Part 1: Add a GC parameter to enable or disable balanced heap limits r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D152862
2022-08-02 10:05:04 +00:00
Norisz Fay e0b8c9c19e Merge mozilla-central to autoland CLOSED TREE 2022-08-02 12:46:00 +03:00
Norisz Fay c454f13d83 Merge autoland to mozilla-central a=merge 2022-08-02 12:36:49 +03:00
Dão Gottwald 93460d3aaa Bug 1778907 - Open Firefox View tab on mousedown. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D153387
2022-08-02 09:30:36 +00:00
Christian Holler 99924b2804 Bug 1781043 - Disable some diagnostic asserts in a11y for IPC fuzzing. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D152638
2022-08-02 09:14:28 +00:00
Jens Stutte f9302b34cc Bug 1777198 - Cancel content JS execution on quit-application-granted or on normal content process shutdown. r=smaug
We want to signal content processes to cancel content JS unconditionally on shutdown.
In the case of parent shutdown this has to happen as early as "quit-application-granted", given that both extensions and session storage shutdown rely on the possibility to interact with content processes (which is not possible when they are inside long running JS).
In addition in the case of a normal child shutdown we cancel content JS execution, too.
For now we put this behind the pref "dom.abort_script_on_child_shutdown" which remains default off.

Depends on D150539

Differential Revision: https://phabricator.services.mozilla.com/D150598
2022-08-02 09:08:23 +00:00
Jens Stutte 3310ed6b3c Bug 1777198 - Have a long running content JS shutdown hang test. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D150539
2022-08-02 09:08:23 +00:00
Jon Coppeard cb16796396 Bug 1782496 - Handle uncatchable exceptions during module evaluation r=yulia
This makes sure we still set the module state to evaluated when there's an
uncatchable exception. The module's error will be set to undefined, which is
not great but it will probably never be used in this case.

Differential Revision: https://phabricator.services.mozilla.com/D153372
2022-08-02 08:36:19 +00:00
Norisz Fay 17e1015627 Backed out 2 changesets (bug 1776795) for causing bc failures on browser_test_swipe_gesture.js CLOSED TREE
Backed out changeset 7bed4509ae7c (bug 1776795)
Backed out changeset 344336b54939 (bug 1776795)
2022-08-02 10:48:53 +03:00
Norisz Fay f411d84051 Backed out 7 changesets (bug 1774043, bug 1780878) for causing gv-junit failures
Backed out changeset 465a045a5068 (bug 1780878)
Backed out changeset 05aac2c873a6 (bug 1780878)
Backed out changeset f3039b217acd (bug 1780878)
Backed out changeset 63a4b92b5453 (bug 1774043)
Backed out changeset f44a9d0f46ab (bug 1774043)
Backed out changeset 5fff79016cb6 (bug 1774043)
Backed out changeset ffbb26d2a3c1 (bug 1774043)
2022-08-02 10:47:21 +03:00
Raphael Ferrand a289e424bb Bug 1579774 - New inactive CSS rule to show warning when width or height is used on ruby element. r=nchevobbe,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151138
2022-08-02 07:22:18 +00:00
Mozilla Releng Treescript e1c063152a no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
dsb -> 714d0004198859c564a1f95a4f5b0d4f1db7ca9a
hsb -> adc647b964dea41fc78eb9339d031895721e031c
it -> 27f488b90b438fcfcd64be9d97f0df64f3be5ffa
pt-PT -> b894adb66d423fe414548a2876e0fc21e2c21961
tg -> aeb23ac036a29949c349d2e1899d9522dc46d61b
2022-08-02 06:56:17 +00:00
Nicolas Chevobbe cc96b2b490 Bug 1782488 - [devtools] Clear console service cache in browser_console_modes.js for non-fission case. r=jdescottes.
In the test, when fission isn't supported, we use Cu.reportError within
a SpecialPowers task, which puts the message in the console service cache.
If the test runs multiple time, the next iteration will run the test
with Fission support, which will consume cached messages, making the reportError
message appears more than we want.
This isn't a problem we can face in normal usage as when Fission is not supported,
we don't retrieve cached messages.
In order to fix the test failure, we simply clear the console service cache from
the content process.

Depends on D153327

Differential Revision: https://phabricator.services.mozilla.com/D153353
2022-08-02 06:54:06 +00:00
Hiroyuki Ikezoe 0cc2a4681a Bug 1776795 - Move the swipe-to-nav icon in response to the swipe gestures on Windows. r=tnikkel,desktop-theme-reviewers,sfoster
Both Chrome and Edge on Windows also move the swipe-to-nav arrow icon, the
distance of move seems to be a fixed value, it doesn't depend on the browser
window size. So we also use a fixed value, 100px here.

Chrome on Mac also moves the icon, but in a slightly different way. The icon is
a semicircle shape, it never leaves the edge of the browser window even if it's
moving during swipe gestures. So we introduce a new preference named
"browser.swipe.navigation-icon-move-distance" to implement platform dependent
swipe-to-nav icon behaviors. As of now the value on platforms other than Windows
is zero so that the icon never moves on the platforms.

Differential Revision: https://phabricator.services.mozilla.com/D150433
2022-08-02 06:49:55 +00:00
Hiroyuki Ikezoe 8b8fc4f309 Bug 1776795 - Fix the swipe-to-nav icon position on RTL environments. r=desktop-theme-reviewers,tnikkel,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D152951
2022-08-02 06:49:55 +00:00
Kelsey Gilbert ae9bf670e5 Bug 1768190 - Forbid same tex unit different sampler types even if unbound. r=gfx-reviewers,lsalzman
Previously, we checked this but only if there was a texture bound to the
tex unit. However technically we're supposed to check regardless. ANGLE
and Mesa both do, which causes this error.

Differential Revision: https://phabricator.services.mozilla.com/D153422
2022-08-02 05:56:20 +00:00
Glenn Watson 6e214817ef Bug 1782317 - Fix segment building scrolled local clip bug. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D153428
2022-08-02 05:28:09 +00:00
Chris Peterson 114aa88738 Bug 1782171 - Enable gcc -Wlogical-op warnings. r=firefox-build-system-reviewers,andi
gcc -Wlogical-op warns about suspicious uses of logical operators in expressions. This includes using logical operators in contexts where a bit-wise operator is likely to be expected. Also warns when the operands of a logical operator are the same:

    extern int a;
    if (a < 0 && a < 0) { … }

Differential Revision: https://phabricator.services.mozilla.com/D153305
2022-08-02 04:58:43 +00:00
Chris Peterson c477304353 Bug 1782337 - Remove unused LineWatcher. r=ipc-reviewers,jld
Differential Revision: https://phabricator.services.mozilla.com/D153304
2022-08-02 04:58:07 +00:00
Chris Peterson c82e77a6da Bug 1782338 - Fix non-unified debug build errors in netwerk/protocol/http. r=necko-reviewers,kershaw
Bug 1767609 broke non-unified debug builds because some debug MOZ_ASSERT()s call OnSocketThread() but the .cpp files don't directly #include the header file with the OnSocketThread() function declaration.

netwerk/protocol/http/Http2Stream.cpp:204:14: error: use of undeclared identifier 'OnSocketThread'

MOZ_ASSERT(OnSocketThread(), "not on socket thread");
           ^

Differential Revision: https://phabricator.services.mozilla.com/D153303
2022-08-02 04:54:23 +00:00
Morgan Rae Reschenberg e58f00a0c6 Bug 1780878: [Part 3] Cache FLOWS_TO and FLOWS_FROM relations r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D152581
2022-08-02 02:51:06 +00:00
Morgan Rae Reschenberg 186ab99a74 Bug 1780878: [Part 2] Cache DESCRIBED_BY and DESCRIPTION_FOR relations r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D152580
2022-08-02 02:51:05 +00:00
Morgan Rae Reschenberg 2743551b63 Bug 1780878: [Part 1] Cache CONTROLLED_BY and CONTROLLER_FOR relations r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D152578
2022-08-02 02:51:05 +00:00
Morgan Rae Reschenberg 6a2350e1e7 Bug 1774043: [Part 4] Add tests for relations caching r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D151883
2022-08-02 02:51:04 +00:00
Morgan Rae Reschenberg 65f8ec4b9d Bug 1774043: [Part 3] Make remote ::Relations and ::RelationByType functions to use cache r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D152102
2022-08-02 02:51:04 +00:00
Morgan Rae Reschenberg 42cc6cfdb8 Bug 1774043: [Part 2] Add implicit relations map, pre- and post-update map processing in ApplyCache r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D152101
2022-08-02 02:51:04 +00:00
Morgan Rae Reschenberg 4d3f82861a Bug 1774043: [Part 1] Add cache domains, caching logic for LABEL_FOR and LABELLED_BY relations r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D152100
2022-08-02 02:51:03 +00:00