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

699372 Коммитов

Автор SHA1 Сообщение Дата
Timothy Nikkel 609d380eac Bug 1626863. Add a test for bug 1415987.
Since it involves animation it is hard to test but I managed to come up with a test using large fuzz that I verified would catch regressing the original bug *some* of the time, which is better than no test.

Depends on D69322

Differential Revision: https://phabricator.services.mozilla.com/D69323

--HG--
extra : moz-landing-system : lando
2020-04-02 07:48:37 +00:00
Florin Strugariu 4dbdc934bd Bug 1626274 - Remove aframe pageload test r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D69159

--HG--
extra : moz-landing-system : lando
2020-04-02 07:10:48 +00:00
sotaro 4ccefc3181 Bug 1624817 - Fix Tile invalidation during disabling WR native compositor r=gw
Differential Revision: https://phabricator.services.mozilla.com/D69168

--HG--
extra : moz-landing-system : lando
2020-04-02 06:27:25 +00:00
Emilio Cobos Álvarez f2e6aec070 Bug 1625530 - Reenable a test with fission now that the underlying problem is fixed. r=pbone
Differential Revision: https://phabricator.services.mozilla.com/D69180

--HG--
extra : moz-landing-system : lando
2020-04-02 03:55:57 +00:00
Logan Smyth 077832ce70 Bug 1626508 - Part 2: Add flow-typed definitions for Redux v4. r=jlast
Depends on D69156

Differential Revision: https://phabricator.services.mozilla.com/D69157

--HG--
extra : moz-landing-system : lando
2020-04-01 16:42:06 +00:00
Logan Smyth 64797343f8 Bug 1626508 - Part 1: Add flow-typed metadata to react-redux type definition. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D69156

--HG--
extra : moz-landing-system : lando
2020-04-01 16:41:56 +00:00
Bob Clary 459478d384 Bug 1626351 - Support mach jstests and mach jit-test for android devices, r=sfink.
./mach jstests --remote
./mach jit-test --remote

Remove xrange usage as python3 incompatible when running
mach jit-test.

Move device initialization code from js/src/tests/lib/jittests.py
to js/src/tests/lib/remote.py. Make device initialization into a
singleton to prevent multiple attempts to initialize a device.

Initialize device in XULInfoTester and support evaluation of test
predicate conditions using the js shell on the device.

Standardize directory names on android device for both jit-test and jstest.

Add arguments to jstests to support chunking.

Differential Revision: https://phabricator.services.mozilla.com/D69054

--HG--
extra : moz-landing-system : lando
2020-04-01 17:30:46 +00:00
Morgan Reschenberg bb48588461 Bug 1625832: Feed mouse synthesizer gecko coordinates instead of Mac coordinates. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D69035

--HG--
extra : moz-landing-system : lando
2020-04-01 05:07:53 +00:00
James Teh 5d7440007c Bug 1626802 part 2: Implement HandlerProvider::IsInterfaceMaybeSupported for a11y. r=aklotz,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D69286

--HG--
extra : moz-landing-system : lando
2020-04-02 04:09:20 +00:00
James Teh 132a49a8a1 Bug 1626802 part 1: mscom: Provide a way for Interceptors to avoid unnecessary cross-thread QueryInterface calls. r=aklotz
When marshaling a11y calls from the content process, there are quite a lot of cross-thread QueryInterface calls (ipc::mscom::Interceptor::QueryInterfaceTarget).
Some of these are for special COM interfaces like IAgileObject and IFastRundown, which we could just special case in Interceptor::QueryInterface like we do for INoMarshal.
However, it seems there are a lot of other interfaces being queried and it's not clear why.
This patch adds a new HandlerProvider method: IsInterfaceMaybeSupported.
This allows implementations to indicate when there are interfaces which they definitely don't support, allowing the call to be answered without a cross-thread call.

Differential Revision: https://phabricator.services.mozilla.com/D69285

--HG--
extra : moz-landing-system : lando
2020-04-01 23:30:21 +00:00
Mark Striemer 71bcb7f89c Bug 1559392 - Support drag+drop of add-ons into HTML about:addons r=rpl
Depends on D65834

Differential Revision: https://phabricator.services.mozilla.com/D65835

--HG--
extra : moz-landing-system : lando
2020-04-02 02:06:25 +00:00
Markus Stange 04fd0b27d7 Bug 1626111 - Fix two variable names in Matrix4x4TypedFlagged::TransformAndClipBounds. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D68930

--HG--
extra : moz-landing-system : lando
2020-04-02 04:01:01 +00:00
Markus Stange d00525a3a9 Bug 1626113 - Use mozilla::Span in TransformAndClipRect and do some refactoring. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D68929

--HG--
extra : moz-landing-system : lando
2020-04-02 04:01:01 +00:00
Markus Stange 6b7047492f Bug 1595038 - Make sure that TransformAndClipBounds returns an empty clipped rect when the clip itself is already empty. r=kip
The test added in this changeset is already fixed by the no-normalization change, but there are probably cases that require the explicit check that this patch adds.
When we were still normalizing the plane normals, the TransformAndClipBounds call in the added test was returning (1023.999878, 1023.999878, 0.000061, 0.000122).

Depends on D68703

Differential Revision: https://phabricator.services.mozilla.com/D68704

--HG--
extra : moz-landing-system : lando
2020-04-02 04:00:53 +00:00
Markus Stange 70151209d3 Bug 1595038 - Stop normalizing the plane normals, in order reduce error from floating point inaccuracies. r=kip
For example, if the clipping rectangle has aClip.X() == 1024, then the normal for the clipping plane induced by the left edge of the clip will now be (1, 0, 0, -1024) rather than (0.0009765620343390458, 0, 0, -0.9999995231631829).

This change is mathematically valid:
 - The dot products computed from these vectors become multiplied by planeNormal.Length() (compared to before this patch).
 - The sign of the dot products is not affected, so the "intersection with plane" check is not affected:
   `if ((nextDot >= 0.0) != (prevDot >= 0.0)) {`
 - The value of the dot products is only used to compute `t`, as follows:
   `F t = -prevDot / (nextDot - prevDot);`
   Here, the length now appears both in the numerator and in the denominator, canceling itself out.

As a result from this change, the existing tests no longer require integer nudging in order to pass.

Depends on D68702

Differential Revision: https://phabricator.services.mozilla.com/D68703

--HG--
extra : moz-landing-system : lando
2020-04-01 01:06:23 +00:00
Markus Stange c1f3167506 Bug 1595038 - Add a planeNormal variable so that it's clear that the same plane is used for the entire inner loop. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D68702

--HG--
extra : moz-landing-system : lando
2020-04-02 02:42:17 +00:00
Gerald Squelart d4709d16f3 Bug 1625856 - ProfileBufferChunkManagerWithLocalLimit - r=canaltinova
`ProfileBufferChunkManagerWithLocalLimit` is a chunk manager that enforces a
memory limit in each process.

It is meant to mimic the main way `BlocksRingBuffer` works, so that we can more
easily switch to the new buffer storage without introducing the extra complexity
of inter-process memory coordination yet.

`ProfileBufferChunkManagerWithLocalLimit` will still offer a benefit over
`BlocksRingBuffer`, in that it won't allocate the maximum buffer size
immediately -- speeding the initialization, and hopefully even reducing the
total Firefox memory consumption in short-lived processes.

Differential Revision: https://phabricator.services.mozilla.com/D68770

--HG--
extra : moz-landing-system : lando
2020-04-02 03:09:36 +00:00
Ciure Andrei 0f9a0b7cdb Backed out changeset 9dc84057c6a9 (bug 1624468) for causing gradient-move-stops.html to fail CLOSED TREE 2020-04-02 06:08:51 +03:00
Timothy Nikkel 2d033fbd3f Bug 1597786. Skip layout/reftests/bugs/1553571-1.html on android with webrender.
It does fail intermittently it turns out.

Differential Revision: https://phabricator.services.mozilla.com/D69306

--HG--
extra : moz-landing-system : lando
2020-04-02 02:24:15 +00:00
Botond Ballo c48a7ae922 Bug 1626659 - Fix non-unified build errors in gfx/layers/composite. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69304

--HG--
extra : moz-landing-system : lando
2020-04-02 02:16:17 +00:00
Botond Ballo 79eaedc4fc Bug 1626659 - Fix non-unified build errors in gfx/layers/ipc. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69300

--HG--
extra : moz-landing-system : lando
2020-04-02 02:16:18 +00:00
alwu 69b441f50b Bug 1623486 - part6 : modify test. r=chunmin
As we want to check the metadata from the main controller, we should listen to `main-media-controller-changed` notification to ensure that we get the metadata from the correct controller. Otherwise, it might cause the intermittent failure.

Differential Revision: https://phabricator.services.mozilla.com/D67714

--HG--
extra : moz-landing-system : lando
2020-03-26 23:36:05 +00:00
alwu 2215f2957f Bug 1623486 - part5 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D67713

--HG--
extra : moz-landing-system : lando
2020-03-26 23:35:57 +00:00
alwu 09a518586f Bug 1623486 - part4 : update Picture-in-Picture mode status from media element. r=chunmin,padenot
Video element can start the Picture-in-Picture mode **BEFORE** or **AFTER** we start the listener for the media cotrol, so we have to ensure we always propagate this information to the chrome process via `ContentMediaAgent`.

Differential Revision: https://phabricator.services.mozilla.com/D67712

--HG--
extra : moz-landing-system : lando
2020-04-01 23:04:58 +00:00
alwu 44bd719954 Bug 1623486 - part3 : add a method on ContentMediaController to propagate Picture-in-Picture status to the chrome process. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D67711

--HG--
extra : moz-landing-system : lando
2020-04-01 23:03:01 +00:00
alwu 9ec32fbe45 Bug 1623486 - part2 : update main controller when controller starts being used in Picture-in-Picture mode. r=chunmin
We would like to ensure that the controller being used in Picture-in-Picture mode can always be the main controller, which means even if there are other controllers starting later than PIP video, they are not able to become the main controller, but we would still maintain a correct order of controllers that can ensure that the main controller can be selected correctly after current main controller get destroyed.

For example, we have a list `[A, B, C]` and `C` is the main controller. And `D` is new coming controller, then the list would become `[A, B, D, C]` and `C` is still the main controller. But if `C` gets destroyed, the list would become `[A, B, D]` and `D` is the main controller.

Differential Revision: https://phabricator.services.mozilla.com/D67710

--HG--
extra : moz-landing-system : lando
2020-03-26 23:35:50 +00:00
alwu f9aaf98cd6 Bug 1623486 - part1 : add methods to set/get the status of being in PIP mode or not for media controller. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D67709

--HG--
extra : moz-landing-system : lando
2020-04-01 23:04:13 +00:00
Chun-Min Chang ad5358ae60 Bug 1626697 - P2: Update cubeb-coreaudio to 432259a. r=padenot
Pick commits:
- 432259a: Run `cargo fmt`
- c9f0499: Revert `derive(Debug)` removal (#75)
- f9abca8:  Replace the custom input linear buffer by something based on ringbuf. (#74)
- 4eafcc8: Fix the resampler-calling code to use the correct semantic (#71)
- 828efbc: Merge pull request #72 from ChunMinChang/rm-debug-trait

Differential Revision: https://phabricator.services.mozilla.com/D69250

--HG--
extra : moz-landing-system : lando
2020-04-02 01:29:44 +00:00
Chun-Min Chang 1ae748c840 Bug 1626697 - P1: Update cubeb-pulse to 72f813a. r=padenot
Pick commits:
- 72f813a: Fix warning
- f05a33f: Update ringbuf to 0.2

Differential Revision: https://phabricator.services.mozilla.com/D69253

--HG--
extra : moz-landing-system : lando
2020-04-02 01:29:36 +00:00
Ciure Andrei e1cb0f1e21 Backed out 4 changesets (bug 1619349, bug 1619350) for causing test_font_whitelist.html to fail CLOSED TREE
Backed out changeset ba16b09b5da0 (bug 1619349)
Backed out changeset f8ca02252dfc (bug 1619349)
Backed out changeset 01a2a527aa1a (bug 1619350)
Backed out changeset 67ee13868a44 (bug 1619350)
2020-04-02 04:34:31 +03:00
Bert Peers 04704c8605 Bug 1624468 - Add a fast path for more gradient types in WR r=gw
Differential Revision: https://phabricator.services.mozilla.com/D68945

--HG--
extra : moz-landing-system : lando
2020-04-02 01:25:54 +00:00
Botond Ballo ef74ceb9d9 Bug 1626659 - Fix non-unified build errors in gfx/layers/apz. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D69293

--HG--
extra : moz-landing-system : lando
2020-04-02 00:08:33 +00:00
Matt Woodrow 7f9f26d6de Bug 1626417 - Try enabling DocumentChannel for about:privatebrowsing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D69096

--HG--
extra : moz-landing-system : lando
2020-04-02 00:47:43 +00:00
David Walsh 0154ca4c67 Bug 1625814 - Update CodeMirror line class for new API r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D68741

--HG--
extra : moz-landing-system : lando
2020-04-01 20:38:44 +00:00
Nicholas Nethercote f25403924e Bug 1626804 - Clarify about:memory's `explicit` description. r=erahm
This commit clarifies that only some OS-level allocations are covered; the old
wording made it sound like they all were.

It also moves the allocator-level allocations first in the list, because
they're more common.

Depends on D43842

Differential Revision: https://phabricator.services.mozilla.com/D69287

--HG--
extra : moz-landing-system : lando
2020-04-02 00:58:45 +00:00
Timothy Nikkel a8f3da7ff2 Bug 1626155. nsLayoutUtils::TransformAncestorPointToFrame passes null for ancestor frame. r=botond
It probably doesn't case any problems because the two callers of the function don't hit the case with the bug.

nsLayoutUtils::TransformRootPointToFrame passes nullptr for the ancester frame.

nsIFrame::GetContentOffsetsFromPoint only calls this function if aFrame is in an svg text subtree, so it takes the other branch.

Looks like this was a simple oversight in this change

https://hg.mozilla.org/mozilla-central/rev/204b51a6c6458a30be158a3d1bdca8e9b4edfd67

where TransformRootPointToFrame was changed to TransformAncestorPointToFrame and it originally passed nullptr (which was correct to the Root version fo the function) but didn't get updated in the change.

Differential Revision: https://phabricator.services.mozilla.com/D68954

--HG--
extra : moz-landing-system : lando
2020-04-02 00:38:46 +00:00
aarushivij 338bc99a4f Bug 1573758 - Extend TTL for syncing tabs to 1 year. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D69278

--HG--
extra : moz-landing-system : lando
2020-04-02 00:25:42 +00:00
Bogdan Tara 3f9a2e0a21 Backed out changeset 500c7e81bdcc (bug 1626413) for browser_loginSortOrderRestored.js failures CLOSED TREE 2020-04-02 03:18:38 +03:00
Mike Hommey ebe0ffad56 Bug 1607552 - Remove MOZ_LTO=cross from win64-aarch64 mozconfigs. r=dmajor
The builds that should be doing LTO now all have PGO+LTO enabled through
taskcluster, and the others shouldn't be wasting time doing LTO.

Differential Revision: https://phabricator.services.mozilla.com/D69174

--HG--
extra : moz-landing-system : lando
2020-04-02 00:09:34 +00:00
Mike Hommey 641f53cc04 Bug 1607552 - Make win64-aarch64 devedition in line with other Windows deveditions. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69173

--HG--
extra : moz-landing-system : lando
2020-04-01 22:24:28 +00:00
Mike Hommey dc4a3c7f24 Bug 1623523 - Switch Windows devedition builds to cross-builds. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69172

--HG--
extra : moz-landing-system : lando
2020-04-01 22:13:58 +00:00
Mike Hommey b5409be38c Bug 1623523 - Switch Windows add-on-devel builds to cross-builds. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69171

--HG--
extra : moz-landing-system : lando
2020-04-01 22:28:07 +00:00
Martin Thomson cbd463110b Bug 1626495 - Re-enable TLS 1.0 for release, r=keeler
This effectively backs out https://hg.mozilla.org/mozilla-central/rev/1d07ac23cc5a95bd8247054acd87883fc4585738

MozReview-Commit-ID: 8tI373kNU62

Differential Revision: https://phabricator.services.mozilla.com/D69149

--HG--
extra : moz-landing-system : lando
2020-04-01 15:24:12 +00:00
Dragana Damjanovic 722d96a748 Bug 1626799 - Update Neqo to 0.2.3 r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D69290

--HG--
rename : third_party/rust/neqo-common/src/once.rs => third_party/rust/neqo-crypto/src/once.rs
extra : moz-landing-system : lando
2020-04-01 23:48:22 +00:00
Matthew Noorenberghe b39cdcb6f5 Bug 1619851 - Only record in bucket 0 of PWMGR_PROMPT_*_ACTION when the prompt is actually displayed. r=sfoster
I didn't add an automated test as it's a trivial change without existing telemetry tests and I want to replace this histogram with event telemetry soon anyways.

Differential Revision: https://phabricator.services.mozilla.com/D69280

--HG--
extra : moz-landing-system : lando
2020-04-01 22:50:08 +00:00
Dragana Damjanovic 0530999f38 Bug 1626359 - Make mSlowConsumersReadyForRead actually hold references. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D69094

--HG--
extra : moz-landing-system : lando
2020-04-01 19:58:07 +00:00
Jan-Ivar Bruaroey b8a25afdf2 Bug 1620448: Have addIceCandidate's chained steps return rejected promise when remoteDescription is null. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D65637

--HG--
extra : moz-landing-system : lando
2020-04-01 18:40:42 +00:00
Gijs Kruitbosch 1ed2ab8ca7 Bug 1625938 - work around fluent bug in wizard code, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D69246

--HG--
extra : moz-landing-system : lando
2020-04-01 22:21:04 +00:00
Ciure Andrei b34bb097a0 Backed out changeset 3c84f9fd1f93 (bug 1624468) for causing css-gradients reftest failures CLOSED TREE 2020-04-02 01:46:06 +03:00
Cosmin Sabou 28a4757c10 Backed out changeset 13ed73c1c335 (bug 1551615) for causing wpt leaks in Gecko Media Process. 2020-04-02 01:20:13 +03:00