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

706116 Коммитов

Автор SHA1 Сообщение Дата
Dmitry Bezhetskov 646accd995 Bug 1599722 - Changed baseline addressing mode for incoming stack argument from SP based to FP based r=wingo,lth
Make the WebAssembly baseline compiler address incoming stack arguments from the frame pointer instead of from the stack pointer.

We have a plan to allow interstitial trampoline frames to be inserted between callers and callees, but only for cross-instance calls. This will mean offset to incoming stack arguments from SP is no longer a constant. The design has us instead address stack arguments from the frame pointer, as adding an interstitial trampoline frame won't modify the frame pointer.

The followup patch will do the same for the Ion compiler.

Differential Revision: https://phabricator.services.mozilla.com/D72298
2020-05-07 09:49:07 +00:00
Dorel Luca 1bdc12f332 Bug 1626570 - FIX-toolchain-bustage. CLOSED TREE 2020-05-07 13:03:31 +03:00
Joel Maher f43adba2ec Bug 1465776 - run css/css-variables/variable-transitions* tests as backlog (tier-2). r=hiro
run css/css-variables/variable-transitions* tests as backlog (tier-2)

Differential Revision: https://phabricator.services.mozilla.com/D74212
2020-05-07 09:44:02 +00:00
Simon Giesecke daf66e3fc8 Bug 1626570 - Improve handling of copying arrays in dom/cache/. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D73643
2020-05-07 08:49:15 +00:00
Simon Giesecke dbf542e979 Bug 1626570 - Improve handling of copying arrays in widget/. r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D73639
2020-05-07 08:49:18 +00:00
Simon Giesecke 61ad805d68 Bug 1626570 - Use CopyableTArray in ipdlc as member type for now. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D73685
2020-05-07 08:11:08 +00:00
Simon Giesecke c4fb12bd56 Bug 1626570 - Improve handling of copying arrays in dom/messagechannel/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D73653
2020-05-07 08:10:14 +00:00
Simon Giesecke 7a24ea2236 Bug 1626570 - Improve handling of copying arrays in dom/html/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D73647
2020-05-07 08:09:51 +00:00
Florian Quèze c1fe95dc03 Bug 1630982 - Terminate browser-chrome mochitests with an exit(0), r=gbrown,dthayer.
Differential Revision: https://phabricator.services.mozilla.com/D71336
2020-05-07 09:25:57 +00:00
prathiksha b2b25fb8b4 Bug 1627337 - Remove breached logins lockwise section from the Monitor card. r=ewright,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D72899
2020-05-07 09:23:41 +00:00
prathiksha a4ed2b48f2 Bug 1627337 - Update lockwise card display and copy. r=ewright,fluent-reviewers,flod
Depends on D72693

Differential Revision: https://phabricator.services.mozilla.com/D72694
2020-05-07 09:23:41 +00:00
prathiksha 9ed228ef9c Bug 1627337 - Remove the connected devices label from the lockwise card. r=ewright,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D72693
2020-05-07 09:15:17 +00:00
Marco Bonardo 410cff4774 Bug 1634650 - Add whitelisting of domain suffixes for URIFixup. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D74015
2020-05-07 08:42:10 +00:00
Philipp Zech 46da657360 Bug 1635160 - Convert style-font #defines to an enum class. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D73728
2020-05-07 08:32:27 +00:00
Emilio Cobos Álvarez 46cce048ef Bug 1635728 - Move nsMenuFrame::BuildAcceleratorText to JS. r=Gijs
The place where it's done right now is just unsound. It modifies
attributes during frame construction and it causes assertions to fire
with lazy frame-construction enabled.

Differential Revision: https://phabricator.services.mozilla.com/D74029
2020-05-07 08:28:29 +00:00
Sebastian Hengst 746a9a08b8 Bug 1614078 - Disable browser/components/aboutconfig/test/browser/browser_observe.js on Linux ccov because it times out. r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D74037
2020-05-07 08:22:50 +00:00
Dorel Luca 9340fa2b2d Backed out 11 changesets (bug 1635001, bug 1634253) for Browser-chrome failures in browser_bug295977_autoscroll_overflow.js
Backed out changeset c3c27cb46db6 (bug 1635001)
Backed out changeset 6cea251e5910 (bug 1635001)
Backed out changeset 3cb0a05be7fc (bug 1635001)
Backed out changeset 1cbb2866a3ad (bug 1634253)
Backed out changeset 53fd00dcf95c (bug 1634253)
Backed out changeset e3acd9db7065 (bug 1634253)
Backed out changeset 5c0b7aa99406 (bug 1634253)
Backed out changeset dc7e17f772be (bug 1634253)
Backed out changeset 6e47af64396a (bug 1634253)
Backed out changeset 8865de9ae0ef (bug 1634253)
Backed out changeset 6fac93b596c2 (bug 1634253)
2020-05-07 11:00:04 +03:00
Timothy Nikkel 7994dd5c2d Bug 1634839. Call UpdateState on the animation state in RasterImage::NotifyProgress. r=aosmond
Since AnimationState::UpdateState now depends on a specific frame of the animation being in the surface cache we need to call UpdateState whenever we add a new frame.

Depends on D73583

Differential Revision: https://phabricator.services.mozilla.com/D73584
2020-05-04 18:49:13 +00:00
Timothy Nikkel 9f72de06ce Bug 1634839. Teach RasterImage::NotifyDecodeComplete to deal with getting notified about new frames. r=aosmond
It takes a frame count argument but probably never gets a value we haven't already seen in a NotifyProgress call, so this doesn't fix anything as far as I know.

Depends on D73564

Differential Revision: https://phabricator.services.mozilla.com/D73583
2020-05-04 18:46:53 +00:00
Timothy Nikkel 2534a47d4f Bug 1634839. Fix img.decode for animated images that aren't in the document. r=aosmond
The img.decode promise for animated images that aren't in the document might not resolve in common cases. Specifically for animated images that have been decoded and then discarded, so that mCompositedFrameInvalid is true.

mCompositedFrameInvalid is cleared by either:
  1) the image is fully decoded and NotifyDecodeComplete is called.
  2) RequestRefresh is able to advance to the current frame.

We don't call RequestRefresh on animated images that aren't in the document and we only decode a certain number of frames ahead of the current frame (even for fully retained animation buffers), so neither of these will happen with long enough animated images.

So we need to make sure that mCompositedFrameInvalid eventually gets cleared any time a decode is requested (which the FrameAnimator gets notified about via GetCompositedFrame). We do that be calling UpdateState in GetCompositedFrame whenever mCompositedFrameInvalid is true and the image is in the surface cache.

This runs into a second problem: UpdateState uses |mIsCurrentlyDecoded = aResult.Surface().IsFullyDecoded()| to determine when to clear mCompositedFrameInvalid. As mentioned above, we don't fully decode animated images. Further, for animated images that are large enough we use a discarding animation buffer that never keeps around all the frames and so IsFullyDecoded always returns false. So we replace that with a check that we can seek to the current animated frame index.

Differential Revision: https://phabricator.services.mozilla.com/D73564
2020-05-04 18:43:32 +00:00
Valentin Gosu ef574a0fc2 Bug 1635899 - Cancel TRR::mTimeout timer in OnStopRequest r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D74133
2020-05-06 21:58:37 +00:00
Jan de Mooij a713c7c46d Bug 1635717 - Don't use an IC for JSop::InitElemArray in WarpBuilder. r=evilpie
Similar to the IonBuilder optimization but a lot simpler because we don't have
to worry about TI invariants. Once WarpBuilder is enabled by default we could do
the same thing in Baseline.

Differential Revision: https://phabricator.services.mozilla.com/D74025
2020-05-06 17:32:11 +00:00
Christoph Kerschbaumer b7be38ab70 Bug 1635788: Use WindowID instead of rootDoc when logging mixed content messages to the console.r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74047
2020-05-07 05:53:41 +00:00
alwu 9540cb0d22 Bug 1633830 - part4 : update comment to describe the reason of having this class and remove out-of-date comment. r=bryce
This patch will do :
- update the comment to describe its usage and where it should be used
- remove out-of-date comment

The advantage of doing so :
- help future reader to easily understand its usage

Differential Revision: https://phabricator.services.mozilla.com/D72940
2020-05-07 02:32:56 +00:00
alwu 1e7981c8c4 Bug 1633830 - part3 : rename `PlaybackController` to `ContentPlaybackController`. r=bryce
This patch will do :
- rename `PlaybackController` to `ContentPlaybackController`

The advantage of doing so :
-  explicitly mention this class is only used in the content, to help its readbility

Differential Revision: https://phabricator.services.mozilla.com/D72939
2020-05-07 05:49:03 +00:00
alwu 15e309beba Bug 1633830 - part2 : rename `MediaActionHandler` to `ContentMediaActionHandler`. r=bryce
This patch will do :
- rename `MediaActionHandler` to `ContentMediaActionHandler`

The advantage of doing so :
-  explicitly mention this class is only used in the content, to help its readbility

Differential Revision: https://phabricator.services.mozilla.com/D72938
2020-05-05 00:04:55 +00:00
alwu d2a3d048f9 Bug 1633830 - part1 : reuse duplicated code in PlaybackController. r=bryce
This patch will do :
- implement new reusable functions

The advantage of doing so :
- to reduce code duplication

Differential Revision: https://phabricator.services.mozilla.com/D72937
2020-05-04 20:05:08 +00:00
Ian Moody 546e04f723 Bug 1635677 - Import Components in devtools so Components.Exceptions can be thrown. r=Honza
This was a regression from automated changes in bug 1536556
6936e9640d4e41b2c470a022a2e7066b72b7d906

Differential Revision: https://phabricator.services.mozilla.com/D74098
2020-05-07 05:30:43 +00:00
Masayuki Nakano 5ba34b8230 Bug 1633700 - Make `CreateElementTransaction::InsertNewNode()` check the relation between container and child only when the point has child node r=m_kato
I guess that this crash may occur in these conditions:

1. It pointed end of a node, but the node has fewer children at redo.
2. The storing point has already been reset by cycle collector.

So, anyway, the check should be tested only when the point stores a
child node.

This adds WPT tests for related situation.  Although "insertLineBreak" of
Blink and WebKit behave odd when selection is collapsed between 2 elements.

Differential Revision: https://phabricator.services.mozilla.com/D73416
2020-05-07 02:25:03 +00:00
Jean-Yves Avenard d258c14e4a Bug 1635001 - P3. Fix APZ controller thread-safety access. r=kats
The APZ was keeping a raw pointer to the controller thread. This was a dangerous exercise.
This was okay on desktop, as the controller thread was the main thread and would have outlived everything else. On Android however it's the UI thread and it could get deleted before we received a last input event.

So we use a strong pointer instead to prevent the thread from being deleted and as such, we now needs to explicitly clear it on shutdown.

This requires the various methods in APZThreadUtils to be made thread-safe so that the controller thread can be shutdown mid-air.

Differential Revision: https://phabricator.services.mozilla.com/D73830
2020-05-07 05:07:02 +00:00
Jean-Yves Avenard e6903a6550 Bug 1635001 - P2. Don't use MessageLoop threads with APZ. r=kats,geckoview-reviewers,snorp
It is unclear on why MessageLoop was ever used with this code.

Differential Revision: https://phabricator.services.mozilla.com/D73829
2020-05-07 05:07:00 +00:00
Jean-Yves Avenard f69423d1a2 Bug 1635001 - P1. Make threading model clearer when dispatching tasks on the controller thread. r=kats
RemoteContentController::PostDelayedTask must be called on the controller thread; and all the 3 implementations are doing is dispatching the task on the current MessageLoop.

The naming and that the method was pure virtual made it a bit confusing as it gave the impression we would dispatch the task on the controller's internal thread, which wasn't the case.

So we make a generic implementation and assert to the documented use.

Differential Revision: https://phabricator.services.mozilla.com/D73828
2020-05-07 05:06:07 +00:00
Jean-Yves Avenard 41502d2149 Bug 1634253 - P8. Remove use of MessageLoop in Canvas. r=mattwoodrow
MessagePool brings no benefit over the traditional nsIThread.

Additonally, replace some incorrect use of RefPtr for xpcom objects.

Differential Revision: https://phabricator.services.mozilla.com/D73827
2020-05-07 05:03:57 +00:00
Jean-Yves Avenard 43ebde7c58 Bug 1634253 - P7. Re-enable BackgroundHangMonitor on Compositor thread. r=froydnj
We re-enable the option to have a BackgroundHangMonitor on the compositor thread that was removed earlier..

Differential Revision: https://phabricator.services.mozilla.com/D73826
2020-05-07 05:03:50 +00:00
Jean-Yves Avenard 96d7622823 Bug 1634253 - P6. Remove MessageLoop use from gfx. r=kats,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D73825
2020-05-07 05:03:42 +00:00
Jean-Yves Avenard 147c8cf3ef Bug 1634253 - P5. Make threading model clearer. r=kats
CompositorBridgeParent::ScheduleTask was always called from the compositor thread ; so make it explicit that we are dispatching the task to the compositor thread.

We inline the method instead.

Differential Revision: https://phabricator.services.mozilla.com/D73824
2020-05-07 05:02:53 +00:00
Jean-Yves Avenard 19c4486bed Bug 1634253 - P4. Have NS_NewNamedThread take a already_Refed<nsIRunnable. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73823
2020-05-07 05:02:46 +00:00
Jean-Yves Avenard 50d25d73f4 Bug 1634253 - P3. Don't cause assertion when delay is 0. r=froydnj
already_AddRefed destructor assert that it's nullptr.
DelayedDispatch check that the value passed isn't 0 and return an error code, leaving the already_AddRefed untouched.

Differential Revision: https://phabricator.services.mozilla.com/D73821
2020-05-07 05:02:39 +00:00
Jean-Yves Avenard d792bf2e0c Bug 1634253 - P2. Dissociate running a BackgroundHangMonitor from main thread. r=froydnj
This will allow to have other threads to use one such as the compositor thread.

Differential Revision: https://phabricator.services.mozilla.com/D73820
2020-05-07 05:02:31 +00:00
Jean-Yves Avenard 151a0ccd4e Bug 1634253 - P1. Fix constness. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73819
2020-05-07 05:02:21 +00:00
James Teh 21678aeb07 Bug 1636002: Don't use the parent IAccessible from DocAccessibleChild unless it is a top level document. r=MarcoZ
In-process iframes get a DocAccessibleChild, even though they're not top level in their process.
However, the parent IAccessible on DocAccessibleChild (sent from the parent process) is only relevant for the top level.
Previously, we used the parent IAccessible on the DocAccessibleChild for *all* documents, resulting in accParent returning null for in-process iframe documents.
Instead, we need to use the base implementation in this case.

Differential Revision: https://phabricator.services.mozilla.com/D74180
2020-05-07 04:53:39 +00:00
Mark Hammond 42513f056f Bug 1635688 - don't expose wipe_all to mozIExtensionStorageArea. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D74012
2020-05-07 04:37:51 +00:00
Mike Hommey 4f407cb9b4 Bug 1634204 - Upgrade Linux build docker images to Debian 8. r=froydnj
This gets rid for the need of a number of local packages (mostly related
to Gtk+3). One exception is that we now need a 32-bits version of the
xz-utils package, some -dev package depends on it, and that dependency
can't be fulfilled in the 32-bits image because we already have the
64-bits backport installed, which conflicts with it (we need both
32-bits and 64-bits package to be at the same version when installed).

The system binutils fails to link clang-7 for some reason, so we now use
our toolchain binutils instead, like we already do for newer versions of
clang.

The debian-packages docker image now needs an explicit installation of
git, because it's not pulled in via the recommends of some other
package.

For some reason, snapshot.debian.org doesn't contain the jessie-backports
archive at the same location as others, and only has a few snapshots of
the archive.

Differential Revision: https://phabricator.services.mozilla.com/D73784
2020-05-06 14:16:03 +00:00
Mike Hommey 47ab5edf18 Bug 1636003 - Add suppression for libfontconfig1 leak in Debian 8 and 9. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D74176
2020-05-07 04:28:56 +00:00
Mike Hommey 579ab8fd6f Bug 1635990 - Fix leak when gtk-decoration-layout setting is set. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D74167
2020-05-07 04:30:33 +00:00
Ryan Kelly 8d6a18e5bf Bug 1634093 - fix intermittent shutdown failures on sync telemetry test. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D74179
2020-05-07 04:17:53 +00:00
Cosmin Sabou 6a31abf429 Backed out 3 changesets (bug 1620098) for devtools jtest failures. CLOSED TREE
Backed out changeset a3a8244860bc (bug 1620098)
Backed out changeset 2996bd22bd97 (bug 1620098)
Backed out changeset 6b397048940f (bug 1620098)
2020-05-07 05:40:50 +03:00
Daisuke Akatsuka 7afda3c423 Bug 1620098: Avoid calling onUpdateDeviceModal twice when closing the device modal. r=mtigley
Depends on D67984

Differential Revision: https://phabricator.services.mozilla.com/D68141
2020-04-29 14:52:38 +00:00
Daisuke Akatsuka cb20d38a23 Bug 1620098: Remove unnecessary processing in RDM. r=mtigley
Depends on D67983

Differential Revision: https://phabricator.services.mozilla.com/D67984
2020-04-29 14:52:37 +00:00
Daisuke Akatsuka 26439c714e Bug 1620098: Show HTMLTooltip in html document as XUL popup. r=bgrins,jdescottes,mtigley,yzen,bdahl
Differential Revision: https://phabricator.services.mozilla.com/D67983
2020-05-07 02:04:17 +00:00