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

648928 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 6159d9a874 Bug 1546697 - Make BaselineSharingGroup an enum class. r=dholbert
It looked a bit weird when mixed up with the other enum classes I'm about to
rename.

Depends on D28679

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

--HG--
extra : moz-landing-system : lando
2019-04-25 22:42:13 +00:00
Emilio Cobos Álvarez c7aac206e4 Bug 1546697 - EnumeratedArray should have a copy assignment operator. r=froydnj
I'll use this in a following patch.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 16:40:47 +00:00
Emilio Cobos Álvarez 3e1e7ce302 Bug 1547138 - IntrinsicSize shouldn't use nsStyleCoord. r=dholbert
We have a better type to represent "a coord or nothing", and that's Maybe.

This code is shorter, and I think reads generally better / is less easy to
misuse.

I wrote this on top of bug 1547126 so there shouldn't be conflicts.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 23:48:14 +00:00
Will Hawkins 886fdd4434 Bug 1547087 - Fix arguments to PerformanceObserver.observe in wpt test
Per https://w3c.github.io/performance-timeline/#observe-method passing both entryTypes and buffer should result in a SyntaxError and the test seems to be intending to pass entryTypes only'

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

--HG--
extra : moz-landing-system : lando
2019-04-25 23:50:48 +00:00
Daniel Holbert 26a606eda1 Bug 1547126: Give nsIFrame::IntrinsicSize a convenience constructor that takes nscoord-valued width and height. r=TYLin
This patch shouldn't affect behavior; it's just simplifying existing code with
a new convenience constructor.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 23:44:53 +00:00
Mike Hommey e12a4b2881 Bug 1546587 - Convert TestZip to a gtest. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D28759

--HG--
extra : moz-landing-system : lando
2019-04-25 23:41:50 +00:00
Mike Hommey 36b33e0796 Bug 1546587 - Include the TestZip zip files as binary data. r=froydnj
We're going to convert the test to a gtest, and it's simpler not to have
to deal with finding the path to the testcase zip files. They're small
enough anyways, and can be inserted as raw binary data via some assembly
magic. This being android-only code, we don't need extreme portability
here. This is the same trick we use in
config/external/icu/data/icudata_gas.S.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 23:41:47 +00:00
Mike Hommey cf749be8f7 Bug 1546587 - Modernize loops in TestZip. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D28757

--HG--
extra : moz-landing-system : lando
2019-04-25 23:41:45 +00:00
Daniel Varga 46db25d004 Backed out 5 changesets (bug 1272409) for build bustage at /builds/worker/workspace/build/src/dom/base/nsGlobalWindowCommands. On a CLOSED TREE
Backed out changeset 2ad8260489d6 (bug 1272409)
Backed out changeset 224dad4cbdc3 (bug 1272409)
Backed out changeset 72775dbf35c8 (bug 1272409)
Backed out changeset c331a4a8b343 (bug 1272409)
Backed out changeset d817fbfc52b6 (bug 1272409)
2019-04-26 02:41:43 +03:00
Nathan Froyd 0eebba71e5 Bug 1540082 - add an aarch64-cross clang build; r=nalexander
Analogously to the existing `linux64-clang-8-android-cross` build, this
build is a linux x86-64 build with runtime library support for aarch64.

Depends on D28405

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

--HG--
extra : moz-landing-system : lando
2019-04-22 22:11:12 +00:00
Nathan Froyd 047805c859 Bug 1540082 - add support for extra runtime targets in build-clang.py; r=firefox-build-system-reviewers,chmanchester
This change enables us to build compiler-rt and related
libraries (e.g. address sanitizer, etc.) for whatever targets we like,
assuming that we have an accessible sysroot for the target on the build
machine.

Depends on D28404

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

--HG--
extra : moz-landing-system : lando
2019-04-23 19:45:06 +00:00
Nathan Froyd f1626f7f7b Bug 1540082 - add a `toolchain-arm64-build` docker image; r=nalexander
We need this image for building clang on machines with arm64
sysroots.  (Note that this image *is* a linux x86-64 image, just with
some arm64 cross-compilation packages available.)

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

--HG--
extra : moz-landing-system : lando
2019-04-23 19:44:55 +00:00
Nathan Froyd 29df08bb6d Bug 1546136 - dump cmake logs on command failures; r=firefox-build-system-reviewers,chmanchester
CMake errors can be pretty opaque, especially if CMake is being run
inside the Ninja build process.  Let's try to surface those errors to
make problems easier to debug.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 19:44:55 +00:00
Geoff Brown 1932f0061c Bug 1547103 - Simplify android xpcshell minidump handling; r=jmaher
setupMinidumpDir is no longer called from anywhere.
The check for a crash directory makes sense for browser tests, but not
for xpcshell: in xpcshell, crash reporter does not create the directory --
the harness does.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 21:52:34 +00:00
Byron Campen [:bwc] 1963cd0a3a Bug 1531894: Throw TypeError if both maxRetransmits and maxPacketLifeTime are set, and re-enable test case. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D28252

--HG--
extra : moz-landing-system : lando
2019-04-25 20:59:45 +00:00
Andrea Marchesini f8b91466be Bug 1545273 - User-Interaction required for trackers only for some urls, set in privacy.restrict3rdpartystorage.userInteractionRequiredForHosts, r=Ehsan
This patch fixes a bug about when the
privacy.restrict3rdpartystorage.userInteractionRequiredForHosts should be
considered.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:39:35 +00:00
Byron Campen [:bwc] 79f14c2299 Bug 1529595: Remove "token" from RTCIceCredentialType, re-enable a web-platform-test, and fix a mochitest. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D28496

--HG--
extra : moz-landing-system : lando
2019-04-25 20:58:12 +00:00
Boris Chiou 45ff9ed8a6 Bug 1272409 - Part 5: Update test meta. r=dholbert
In idlharness.window.js, ResizeObservation is not an public interface in
the current spec, so the test should be updated.

In eventloop.html, unfortunately, there are two issues:
1. The test framework will be timeout if there is any `assert_equals()`
   failed. We should rewrite it.
2. Actually, we only have one failure in this test file:
   `assert_equals(helper.rafCount, 1, "new loop");` in test0. We fire
   this event in the next Tick(), but we call the callback of
   `requestAnimationFrame()` after several Tick()s, so `helper.rafCount`
   is still 0 in this case. This may be a bug of the test because using
   `requestAnimationFrame()` cannot reflect the next event loop, or our
   scheduling of ResizeObserver is not correct.
   Note: this assert_equal() was added by Google, not by Fariskhi.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:30:18 +00:00
Fariskhi Vidyan 55597e55fc Bug 1272409 - Part 4: Integrate ResizeObserver with Document and reflow. r=dholbert,smaug
Depends on D27617

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:30:16 +00:00
Fariskhi Vidyan 68460618c3 Bug 1272409 - Part 3: Add ResizeObserverController. r=dholbert,smaug
Use ResizeObserverController to schedule the observers and manage them.
Document will hold this controller in the later patch.

Depends on D27616

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:30:36 +00:00
Fariskhi Vidyan 3d0af6e0c6 Bug 1272409 - Part 2: Add ResizeObserver webidl and implementation. r=dholbert,smaug
This implements the first version of spec, so the webidl file doesn't
match the current spec and we will fix them in the follow-up bugs.

i.e.
1. The default observer box is content-box.
2. `ResizeObserverBoxOptions`, `ResizeObserverOptions`, and `ResizeObserverSize`
   are not included in `ResizeObserver.webidl`.
3. `ResizeObserverEntry` doesn't have `borderBoxSize` and `contentBoxSize`
   attributes.

Depends on D27615

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:30:06 +00:00
Fariskhi Vidyan ee632b46da Bug 1272409 - Part 1: Add GetNodeDepth() to nsContentUtils. r=smaug
`GetNodeDepth()` will be used in the next patch.

Depends on D27614

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:30:04 +00:00
Brian Grinstead 4663e6262a Bug 1448213 - Migrate label-control to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D5686

--HG--
extra : moz-landing-system : lando
2019-04-23 20:16:46 +00:00
Andreas Tolfsen e4efcaa0dd bug 1546945: remote: re-enable remote agent in Firefox Nightly; r=ochameau
This patch negates the effect of 004d050a8ec4 (git 6dd9496ac0f9).

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:03:12 +00:00
Andreas Tolfsen 09e148f159 bug 1546945: remote: disable browser_cdp.js browser-chrome test on debug; r=ochameau
As detailed in https://bugzilla.mozilla.org/show_bug.cgi?id=1546945,
there is a memory leak in the remote agent that is triggered by
code paths in the remote/test/browser/browser_cdp.js browser-chrome test.

It is possible the memory leak is related to holding onto a reference
of the XPConnect C++ object nsSocketTransportService, but this has
yet to be confirmed.

This patch disables the test in question on debug builds, where
we run reference counting leakchecks, in order to get the remote
agent enabled in default Firefox Nightly builds.

Thanks-to: Alexandre Poirot <poirot.alex@gmail.com>

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:27:05 +00:00
Hiroyuki Ikezoe db7bfb0117 Bug 1546835 - Adjust start position of the target element as scroll offset in the scroll element. r=jfkthame
Depends on D28755

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

--HG--
extra : moz-landing-system : lando
2019-04-25 12:54:11 +00:00
Hiroyuki Ikezoe aaf3f89c1a Bug 1546835 - Restore the target left property when the test finishes. r=jfkthame
Othewise subsequent test cases would be affected by the change for
'vertical-rl'.

Depends on D28754

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

--HG--
extra : moz-landing-system : lando
2019-04-25 11:21:07 +00:00
Hiroyuki Ikezoe 6ef13b8677 Bug 1546835 - Rename `width` and `height` to `scroller_width` and `scroller_height`. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D28754

--HG--
extra : moz-landing-system : lando
2019-04-25 11:17:51 +00:00
Dale Harvey a2dd11585b Bug 1545517 - Remove engines that dont work over https. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D28342

--HG--
extra : moz-landing-system : lando
2019-04-25 20:51:16 +00:00
Geoff Brown 105f46a3c6 Bug 1250737 - Update android mozharness 'chunked' handling, for jittest; r=bc
It turns out there are several places where the change to suite 'jittest-chunked'
causes problem. I am abandoning that approach.
Desktop uses this trick, and this returns android '-chunked' handling to a state
similar to what it was before I started messing around!

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

--HG--
extra : moz-landing-system : lando
2019-04-25 21:17:59 +00:00
Dorel Luca 00afc0acfa Backed out changeset bd68b6dfd83e (bug 1546985) for Reftest failures. CLOSED TREE 2019-04-26 01:13:56 +03:00
Dorel Luca cf86de4259 Backed out changeset 3096a547bb84 (bug 1546546) for Cpp failures in TestDllInterceptor.exe. CLOSED TREE 2019-04-26 00:52:11 +03:00
Kartikaya Gupta a771e03566 Bug 1542826 - Add a pref to control the debug server. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D28358

--HG--
extra : moz-landing-system : lando
2019-04-25 19:31:11 +00:00
Kartikaya Gupta 5023b06a14 Bug 1542826 - Rebuild the debugger front-end. r=gw
This patch is the output of rebuilding the debugger frontend with a
recent npm installation. The changes to dist/ and the addition of
package-lock.json are a result of the build. The changes to package.json
and main.js were done manually to work around an incompatible change
in beufy 0.6.7 (the lib/ folder changed to dist/).

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:31:09 +00:00
Kartikaya Gupta 336a506446 Bug 1542826 - Add more debug flags to disable various things. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D28356

--HG--
extra : moz-landing-system : lando
2019-04-25 19:29:15 +00:00
Kartikaya Gupta 1e9c5710b7 Bug 1542826 - Add BSD-3-Clause license to about:license and whitelist sha1 which uses it. r=froydnj,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D28355

--HG--
extra : moz-landing-system : lando
2019-04-25 19:29:07 +00:00
Kartikaya Gupta 89f2f7d896 Bug 1542826 - Re-vendor rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D28354

--HG--
rename : third_party/rust/block-buffer/LICENSE-MIT => third_party/rust/num-iter/LICENSE-MIT
rename : third_party/rust/block-buffer/LICENSE-MIT => third_party/rust/num-rational/LICENSE-MIT
rename : third_party/rust/block-buffer/LICENSE-MIT => third_party/rust/png/LICENSE-MIT
extra : moz-landing-system : lando
2019-04-25 19:28:59 +00:00
Kartikaya Gupta 26da9a6c9e Bug 1542826 - Expose a mozconfig flag to build the WR debugger feature. r=gw,froydnj
We can't yet enable the build by default since it pulls in networking functions
into libgkrust which runs afoul of the checks added in bug 1376621.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:31:16 +00:00
Kartikaya Gupta 0c6155d01f Bug 1542826 - Bump net2 to a version that builds on 64-bit android. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D28888

--HG--
extra : moz-landing-system : lando
2019-04-25 19:28:42 +00:00
Kartikaya Gupta 288d1e8e3e Bug 1542826 - Allow enabling/disabling the debug server at runtime. r=gw
This adds a RendererOption flag to control whether the debug server is
enabled. This allows the debug server feature to be built without
enabling the feature by default; it can then be enabled on a
per-renderer basis via the RendererOption.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:28:32 +00:00
Kartikaya Gupta 9fc3672251 Bug 1542826 - Reduce featureset enabled on image crate. r=gw
The debugger in WebRender uses the image crate to generate PNGs, and so
it only really needs the png codec feature from the image crate.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:28:23 +00:00
Nico Grunbaum 8a57537454 Bug 1400563 - timer deadlock fix r=drno,dminor
timer deadlock fix

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

--HG--
extra : moz-landing-system : lando
2019-04-23 05:32:57 +00:00
Mike Conley e14e511763 Bug 1543994 - Fade out Picture-in-Picture player controls after being open for 3 seconds, and reveal on hover. r=JSON_voorhees
Depends on D23231

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:49:08 +00:00
Julian Descottes 8253159952 Bug 1543093 - Fix RTL for DevTools in Browser Toolbox;r=nchevobbe
Using the toolbox window to read the "direction" seems to fix the issue.
Added a mochitest, had to create a dedicated browser ini file in order to setup RTL properly.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:53:32 +00:00
Daosheng Mu e9c4cae002 Bug 1545808 - Enable dom.vr.openvr.action_input in Release. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D28254

--HG--
extra : moz-landing-system : lando
2019-04-22 20:17:18 +00:00
Bryce Van Dyk 2862090894 Bug 1545108 - Use a diagnostic assert to check for nullptr when pushing into MediaQueue. r=alwu
We're rarely getting nullptrs out of MediaQueues. It's not clear where these are
coming from, as we have many guards against them. Upgrade this assert to a
diagnostic to help us track the source and determine if the value is null before
entering the queue.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 17:08:27 +00:00
Andreas Pehrson cef48c8ec4 Bug 1545133 - Avoid trying to double-suspend a MediaStream if external code makes the suspendCount negative. r=padenot
We don't currently know any ways in which external code can make the
suspendCount negative, but this will keep us safe should a future bug enable it.

Depends on D28805

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

--HG--
extra : moz-landing-system : lando
2019-04-25 16:41:15 +00:00
Andreas Pehrson b53e315572 Bug 1545133 - Add crashtest. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D28805

--HG--
extra : moz-landing-system : lando
2019-04-25 16:41:33 +00:00
Joel Maher 02f0bd77f7 Bug 1546610 - reduce marionette-headless to run on linux64/shippable as tier2 only. r=whimboo
reduce marionette-headless to run on linux64/shippable as tier2 only

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:39:23 +00:00
Robert Strong 101a310643 Bug 1546261 - Fix the app update phase telemetry tests so they work with BITS update downloads. r=bytesized
Changes BITS downloads to use the patch's errorCode to determine whether a partial staging failure should make the code download a complete update. This makes it so an apply failure will use the same logic.
Fixes a Truncating float/double number JavaScript Warning when submitting telemetry for the apply interval.
Modifies getTelemetryUpdatePhaseValues for BITS support.
Fixes all of the app update phase telemetry tests.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:14:38 +00:00