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

750065 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 7eba371387 Backed out 10 changesets (bug 1581859) for causing hazard failures on ExtensionsParent.cpp.
Backed out changeset 6020ec7d7f32 (bug 1581859)
Backed out changeset 07901e457839 (bug 1581859)
Backed out changeset e23389fc98b5 (bug 1581859)
Backed out changeset 4287eebc2c77 (bug 1581859)
Backed out changeset eeff6f501cfc (bug 1581859)
Backed out changeset 22db36f7d16d (bug 1581859)
Backed out changeset 16831d45d0ed (bug 1581859)
Backed out changeset 816643de7694 (bug 1581859)
Backed out changeset 6fd5aa7895e3 (bug 1581859)
Backed out changeset 2b68d2eee18e (bug 1581859)
2021-03-23 05:48:27 +02:00
Barret Rennie ca179d4005 Bug 1672431 - Provide a shutdown client for IOUtils r=xpcom-reviewers,nika
IOUtils now provides a shutdown client for clients to register IO jobs with
that need to run before shutdown finishes. This allows IO jobs to run during
the profileBeforeChange phase.

IOUtils' event queuing has been refactored into a singleton EventQueue class,
which is responsible for running tasks and setting up shutdown blockers. It is
now guarded behind a StaticDataMutex so that is more explicitly clear what is
and is not re-entrant. (The atomic sShutdownFinished cannot be placed behind
the mutex because we need to keep track of that state even when we do not have
an EventQueue.)

Differential Revision: https://phabricator.services.mozilla.com/D103973
2021-03-23 04:26:50 +00:00
Barret Rennie 3ba0fd279a Bug 1672431 - Remove unsued InvokeToIOPromise r=nika
Differential Revision: https://phabricator.services.mozilla.com/D103972
2021-03-23 04:26:50 +00:00
Markus Stange 196055761d Bug 1700022 - Only cache [NSColor controlBackgroundColor] once. r=mac-reviewers,bradwerth
Depends on D109255

Differential Revision: https://phabricator.services.mozilla.com/D109256
2021-03-23 02:18:19 +00:00
Markus Stange 03b56a8c48 Bug 1700022 - Only cache [NSColor gridColor] once. r=mac-reviewers,bradwerth
Depends on D109254

Differential Revision: https://phabricator.services.mozilla.com/D109255
2021-03-23 02:18:19 +00:00
Markus Stange b179feb309 Bug 1700022 - Only cache [NSColor controlTextColor] once. r=mac-reviewers,bradwerth
Depends on D109253

Differential Revision: https://phabricator.services.mozilla.com/D109254
2021-03-23 02:18:18 +00:00
Markus Stange 65e99f17fd Bug 1700022 - Only store [NSColor alternateSelectedControlTextColor] once. r=mac-reviewers,bradwerth
Depends on D109252

Differential Revision: https://phabricator.services.mozilla.com/D109253
2021-03-23 02:18:18 +00:00
Markus Stange 07e94bcccd Bug 1700022 - Remove mColorButtonText member because it's always white. r=mac-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D109252
2021-03-23 02:18:17 +00:00
Jeff Muizelaar 4231661a1d Bug 1696688. Set IOSurface color space to sRGB. r=mstange
This lets the WindowServer do all of the color correction for us
including WebGL and 2D canvas.

There's some concern that this will increase GPU usage as
reported in https://bugs.chromium.org/p/chromium/issues/detail?id=417150#c34.
However, the alernative of doing everything in device space isn't very
attractive because we'd have to color manage canvas and webgl ourselves.

Further, Chrome doesn't seem to be using the device space and it seems
like there's typically already a mix of color spaces in use so hopefully
the GPU increase is not high.

Differential Revision: https://phabricator.services.mozilla.com/D109383
2021-03-23 01:33:54 +00:00
sotaro 6f9594cf0a Bug 1699352 - Fix DrawTargetD2D1::mVRAMUsageSS handling r=jrmuizel
Implementation is borrowed from SourceSurfaceD2DTarget::mOwnsCopy that existed in the past.

Differential Revision: https://phabricator.services.mozilla.com/D108906
2021-03-23 01:17:19 +00:00
Makoto Kato 3888581ee0 Bug 1694046 - Don't wait for selection event. r=geckoview-reviewers,droeh
Bug 1650705's geckoview-junit test counts the number of input event times.
It is unnecessary to wait for selection event and Gecko may not sometimes
fire selection event on input or textarea element. So use
InputConnection.setSelection directly instead of waiting for DOM event.

Differential Revision: https://phabricator.services.mozilla.com/D109354
2021-03-23 01:06:19 +00:00
Edgar Chen 51ca98dfcb Bug 1700138 - Make wpt keyboard-accesskey-click-event.html pass on Mac; r=masayuki
Gecko use the same combination as other browsers to trigger accesskey.

Differential Revision: https://phabricator.services.mozilla.com/D109369
2021-03-23 00:49:39 +00:00
Jeff Muizelaar 9290181962 Bug 1700113 - Use the builtin gettid() on Android. r=glandium
Syscalls can be pretty slow on Android and this lets us use the
gettid() cache that bionic has:
d7c52625f2/libc/bionic/gettid.cpp

Differential Revision: https://phabricator.services.mozilla.com/D109353
2021-03-23 00:41:12 +00:00
Kartikaya Gupta 8578230f3f Bug 1699997 - Remove unused moveMouseAndScrollWheelOver function. r=botond
Everybody uses the promise-style equivalent so we can just move over
the documentation and drop the function.

Depends on D109248

Differential Revision: https://phabricator.services.mozilla.com/D109249
2021-03-22 23:25:42 +00:00
Kartikaya Gupta f9ea14eba7 Bug 1699997 - Remove unused synthesizeNativeMouseEventWithAPZAndWaitForEvent function. r=botond
It was only used by the promise-style equivalent, so this folds the two together.

Depends on D109247

Differential Revision: https://phabricator.services.mozilla.com/D109248
2021-03-22 23:25:41 +00:00
Kartikaya Gupta 6fd1b63595 Bug 1699997 - Remove synthesizeNativeWheelAndWaitForScrollEvent and migrate callers to promiseNativeWheelAndWaitForScrollEvent. r=botond
Depends on D109246

Differential Revision: https://phabricator.services.mozilla.com/D109247
2021-03-22 23:25:41 +00:00
Kartikaya Gupta 016e398f2f Bug 1699997 - Convert synthesizeNativeWheelAndWaitForObserver from callback-style to promise-style. r=botond
This function has only one caller, which was trivial to migrate.

Depends on D109245

Differential Revision: https://phabricator.services.mozilla.com/D109246
2021-03-22 23:25:40 +00:00
Kartikaya Gupta 4b1b64c91f Bug 1699601 - Rename promiseApzRepaintsFlushed to promiseOnlyApzControllerFlushed. r=botond
This was a mechanical search-and-replace operation, plus adding some docs on
renamed function.

Differential Revision: https://phabricator.services.mozilla.com/D109245
2021-03-22 23:25:40 +00:00
Sean Feng a0fc34d157 Bug 1693327 - Assert the global is dying when EventCounts fails to set values r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D106530
2021-03-22 23:22:23 +00:00
Kris Maglione 8fcbfe770b Bug 1671656: Remove intersection observer after calling finish(). r=nika
Differential Revision: https://phabricator.services.mozilla.com/D109386
2021-03-22 23:20:14 +00:00
Kris Maglione ed88fc8bd1 Bug 1646510: Remove deprecated nsContentUtils::GetCrossDocParentNode. r=nika
Moves its last remaining (parent-process-only) caller to use a local static
copy instead.

Differential Revision: https://phabricator.services.mozilla.com/D109420
2021-03-22 23:19:59 +00:00
Bogdan Tara 2e4b430900 Backed out 3 changesets (bug 1693008) for browser_contentOrigins.js mochitest failures CLOSED TREE
Backed out changeset 0201beb76f6b (bug 1693008)
Backed out changeset 8ea5931ae7f7 (bug 1693008)
Backed out changeset dde156c20eb1 (bug 1693008)
2021-03-23 02:13:07 +02:00
Bogdan Tara 393125c6c4 Backed out changeset c0c671865b2e (bug 1699828) for browser_ext_menus_replace_menu_context.js mochitest failures CLOSED TREE 2021-03-23 02:11:07 +02:00
Hiroyuki Ikezoe 16cc3d1669 Bug 1699367 - Skip browser_ext_popup_select_in_oopif.js without Fission. r=kmag
The test basically was written for Fission, but unfortunately it fails
intermittently without Fission becasue, I assume, there was a pre-existing race
condition causing the failure without Fission, so we are going to skip the
test without Fission for now.

Differential Revision: https://phabricator.services.mozilla.com/D109250
2021-03-22 22:59:08 +00:00
Hiroyuki Ikezoe 02782145d1 Bug 1697679 - Start an OverscrollAnimation in OnPan for momentum gestures if we"ve been into overscrolled state and ignore subsequent momentums during the animation is running. r=botond,mstange
Depends on D108901

Differential Revision: https://phabricator.services.mozilla.com/D109012
2021-03-22 22:56:45 +00:00
Hiroyuki Ikezoe 54a1fed65e Bug 1697679 - Start an OverscrollAnimation in OnPanEnd if we are in overscrolled state. r=botond,mstange
Differential Revision: https://phabricator.services.mozilla.com/D108901
2021-03-22 22:56:44 +00:00
Oliver Pope 0fc5685f2c Bug 1695266 - Create documentation for the Picture-in-Picture Overrides extension r=mtigley,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D108073
2021-03-22 22:50:52 +00:00
Mike Hommey 4e512a5e67 Bug 1699321 - Avoid DMD crashes on Windows debug builds. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D109425
2021-03-22 22:50:25 +00:00
alaaemad 4c0ff82c4e Bug 1694311 - Populate PinchGestureInput::mLineOrPageDeltaY on Linux. r=tnikkel
This ensures that, in addition to wheel events, DOMMouseScroll events are
also dispatched to Gecko during pinches.

Differential Revision: https://phabricator.services.mozilla.com/D107390
2021-03-22 22:48:45 +00:00
Botond Ballo 6608cc83e3 Bug 1694311 - Promiseify scenario 4 in helper_zoom_with_touchpad.html. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D109430
2021-03-22 22:48:45 +00:00
Gijs Kruitbosch 6e6a2e8c23 Bug 1693008 - add a test for showing the origin for web content dialogs in proton, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D109152
2021-03-22 22:47:04 +00:00
Gijs Kruitbosch d6446d3b82 Bug 1693008 - show only the origin in web content dialogs when using proton, r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D108713
2021-03-22 22:47:04 +00:00
Gijs Kruitbosch 04f78c6cba Bug 1693008 - add an iconified title to commonDialog using a reusable script, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D108656
2021-03-22 22:47:03 +00:00
Gijs Kruitbosch cd3973b64b Bug 1699828 - put extension items at the top of the content menu on macOS, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D109367
2021-03-22 22:42:26 +00:00
Marco Bonardo 2d41b94d25 Bug 1699806 - Implement the Proton zoom indicator spec. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D109368
2021-03-22 22:31:08 +00:00
Dão Gottwald d5586f2738 Bug 1695497 - Fix Proton Places tooltip appearance on Linux and High Contrast. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108926
2021-03-22 22:19:01 +00:00
Bogdan Tara 30da78e3f9 Bug 1699375 - fix non-unified failure CLOSED TREE 2021-03-23 00:53:11 +02:00
Bogdan Tara a3fae8602d Backed out 3 changesets (bug 1536094) for causing bug 1700228 CLOSED TREE
Backed out changeset 464143c2b6ac (bug 1536094)
Backed out changeset 3462cb6573b1 (bug 1536094)
Backed out changeset d566c1c9e82f (bug 1536094)
2021-03-23 00:46:34 +02:00
Bogdan Tara 9b79771d52 Backed out 5 changesets (bug 1697696) for assertion failure at Lowering-shared.cpp CLOSED TREE
Backed out changeset c63cb20621ed (bug 1697696)
Backed out changeset cf4b946a34e8 (bug 1697696)
Backed out changeset 0d61913db431 (bug 1697696)
Backed out changeset f390ba6ff610 (bug 1697696)
Backed out changeset 677484243897 (bug 1697696)
2021-03-23 00:28:13 +02:00
Jared Wein 339aebc595 Bug 1692320 - Brighten the color of the selected tab in Alpenglow Dark. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109419
2021-03-22 22:07:01 +00:00
Cosmin Sabou 03b3f8984e Merge mozilla-central to autoland. 2021-03-23 00:05:36 +02:00
Mike Conley 54e4bd3357 Bug 1695700 - Apply some polish to Proton AppMenu Zoom controls. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D109190
2021-03-22 21:52:12 +00:00
Mike Hommey 8e4cf752da Bug 1699613 - Allow the build resources usage report to display arbitrary resource usage json files. r=firefox-build-system-reviewers,sheehan,mhentges
AFAIK, while mochitests have resource-usage.json data with the same
format as build_resources.json, there isn't much of anything to display
that data in a human-friendly manner. As a helper of sort for all the
tasks that already expose their json data without a nice way to display
it, allow the build resources usage report UI that `mach resource-usage`
displays (or build_resources.html on build tasks on treeherder), to load
arbitrary json files if their url is dropped on the page (from e.g.
drag-and-dropping the link to the file from treeherder).

Differential Revision: https://phabricator.services.mozilla.com/D109030
2021-03-22 21:46:53 +00:00
Timothy Nikkel 379be147cb Bug 1700064. Disable double tap to zoom inside pdf.js. r=botond
Chrome and Safari either disable this or handle it badly. We don't handle it great so disable it.

Although the document principal looks like it can change I think if that happened at minimum the presshell would be recreated, which creates the ZoomConstraintsClient so we shouldn't need to register to be notified if this changes.

The other option would be to implement support for prevent default of double taps and then have modify pdf.js (if it doesn't already prevent default ctrl wheel events).

Differential Revision: https://phabricator.services.mozilla.com/D109421
2021-03-22 21:45:40 +00:00
Mike Hommey 2d8e1ab04a Bug 1699397 - Upgrade mach environment to glean-sdk 36.0.0. r=firefox-build-system-reviewers,sheehan,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D108921
2021-03-22 21:41:44 +00:00
Mike Hommey 4d8e18962b Bug 1699375 - Move WalkTheStack to mozglue. r=nika
A long standing issue is that MOZ_ASSERT and related don't print stack
traces in debug builds when they're directly or indirectly emitted from
non-libxul code. Moving WalkTheStack to mozglue alleviates the problem.

It's also not printing stack traces when emitted from C code (and for
some C third party libraries, we do redirect assert to MOZ_ASSERT),
which we solve by making the corresponding API available without C++
(which WalkTheStack being a static method of the nsTraceRefCnt class
didn't allow, or the use of a closure on Android).

This requires some adjustements to headers that indirectly assume that
Assertions.h includes ErrorList.h through nsError.h through nscore.h
through nsTraceRefcnt.h.

We also remove TestStackCrawl.cpp because it hasn't been built since
bug 158528, 19 years ago.

Differential Revision: https://phabricator.services.mozilla.com/D108913
2021-03-22 21:25:30 +00:00
Mike Hommey 9f69fef1e9 Bug 1699375 - Make MozFormatCodeAddress* return the printed size, and use that instead of strlen. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D108912
2021-03-22 21:25:30 +00:00
Mike Hommey 6cb10c45a4 Bug 1699375 - Add {Vs,S}printLiteral-like functions for buffers of arbitrary size. r=nika
and use them in MozFormatCodeAddress.

Differential Revision: https://phabricator.services.mozilla.com/D108911
2021-03-22 21:25:30 +00:00
Mike Hommey 86270cdf01 Bug 1699375 - Move MozStackWalkThread to a separate header. r=gerald
It requires including <windows.h>, preventing the inclusion of StackWalk.h
from some places (and upcoming changes will make StackWalk.h included in
more places).

Differential Revision: https://phabricator.services.mozilla.com/D108910
2021-03-22 21:25:29 +00:00
Micah Tigley 0b398068bf Bug 1694277 - DevTools button should show the "More Tools" panel view. r=jdescottes,mconley
Differential Revision: https://phabricator.services.mozilla.com/D106558
2021-03-22 21:23:40 +00:00