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

649771 Коммитов

Автор SHA1 Сообщение Дата
Mitchell Hentges 3025d26ab8 Bug 1535056 - Validate taskgraph parameters using a schema r=tomprince
Validate taskgraph parameters using a schema.

Previously, parameters were verified using handwritten comparison to a sample set of parameters.
Switch to using an explicit schema instead.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 02:09:14 +00:00
Mathieu Leplatre f34404096e Bug 1513854 - Read Normandy recipes from Remote Settings on Nightly r=mythmon
Read Normandy recipes from Remote Settings on Nightly

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

--HG--
extra : moz-landing-system : lando
2019-04-30 13:51:00 +00:00
Mike de Boer 799660b14d Bug 1548031 - Enable the QuantumBar on Nightly and early Beta. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D29538

--HG--
extra : moz-landing-system : lando
2019-05-01 17:46:23 +00:00
Cosmin Sabou 2bdc813aeb Bug 1539615 - Disable window-open.tentative.https.sub.html on linux debug for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D29558

--HG--
extra : moz-landing-system : lando
2019-05-02 08:57:10 +00:00
Oana Pop Rus 594cead134 Backed out changeset 5f451bcec205 (bug 1539759) for build bustages in nsExpatDriver.cpp on a CLOSED TREE 2019-05-02 11:52:32 +03:00
Gijs Kruitbosch 170118c247 Bug 1539759 - improve DTD entity handling, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D27904

--HG--
extra : moz-landing-system : lando
2019-05-02 08:19:08 +00:00
Masayuki Nakano c842b7b133 Bug 253889 - part 4: Finally, get rid of nsIPresShell r=emilio
And also this cleans up some legacy comments of PresShell users.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 02:28:59 +00:00
Masayuki Nakano 8a9d031686 Bug 253889 - part 3: Move all remaining members of nsIPresShell to mozilla::PresShell r=emilio
Additionally, this sorts out the order of member variables for minimizing the
instance size.

And also this changes `enum RenderFlags` to `enum class RenderingStateFlags`.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 02:28:25 +00:00
Masayuki Nakano 1c74a4dc50 Bug 253889 - part 2: Move all methods and public structs of nsIPresShell into mozilla::PresShell r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D29311

--HG--
extra : moz-landing-system : lando
2019-05-01 02:27:53 +00:00
Masayuki Nakano 982428a83e Bug 253889 - part 1: Get rid of nsIPresShell from gfx r=jwatt
`gfxUtils::WriteAsPNG()` is the only user of `nsIPresShell` in `gfx`, but
nobody calls it.  So, we can get rid of it with `nsIPresShell` reference.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 07:43:49 +00:00
J. Ryan Stinnett 2b2dc014eb Bug 1548375 - Remove redundant canvas log info. r=baku
Now that we're reporting to the page console, there's no need to include the top
document URI, since that's obvious from the tab.

In addition, the script file and line are already added by the console reporting
path (and displayed with nicer formatting), so we don't need to add them to the
message text.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 21:54:43 +00:00
J. Ryan Stinnett 8af52444f1 Bug 1548375 - Send canvas fingerprinting logs to page console. r=baku
By directing fingerprinting logs to the page console (instead of the browser
console), web developers are much more likely to see them and understand what's
wrong.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 21:51:41 +00:00
Boris Zbarsky 672a92c434 Bug 1548305. Fix incorrect Maybe<JSAutoRealm> use in Element::Animate. r=jandem
We just want to enter the Realm unconditionally.  Also, we can get the global
from our GlobalObject.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 07:14:35 +00:00
Emilio Cobos Álvarez aaaed5755e Bug 1548057 - Crashtest. r=boris
This crashes both debug and opt builds pretty badly without the fix for this
bug.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 07:32:26 +00:00
Haik Aftandilian b59a99943d Bug 1548406 - Part 2 - Conditionally include WindowServer access in the GMP sandbox r=handyman
Conditionally include WindowServer access in the GMP sandbox so that it is only allowed for the Widevine CDM plugin, and not OpenH264.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 07:04:58 +00:00
Haik Aftandilian 58067ff840 Bug 1548406 - Part 1 - Simplify MacSandboxInfo and sandbox type enums r=handyman
Replace the MacSandboxType_Plugin sandbox type with MacSandboxType_Flash and MacSandboxType_GMP so that there is a 1:1 association between MacSandboxType values and sandbox policies.

Remove the MacSandboxPluginType enum. Instead of having different MacSandboxPluginTypes, we will just have MacSandboxType_GMP. We only use GMP for two plugin types, Widevine and OpenH264, and they only differ in that Widevine requires accss to the WindowServer.

Remove the MacSandboxPluginInfo struct and move the two needed fields pluginPath and pluginBinaryPath to MacSandboxInfo.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 07:04:44 +00:00
Noemi Erli 54a0234766 Backed out 6 changesets (bug 1540573) for failures in test_CSP.html
Backed out changeset 599e6e06599d (bug 1540573)
Backed out changeset bf725b7daa5b (bug 1540573)
Backed out changeset 814c94b26028 (bug 1540573)
Backed out changeset 3496ca48f6e0 (bug 1540573)
Backed out changeset 2c4303b175ec (bug 1540573)
Backed out changeset b49cd2b191ae (bug 1540573)
2019-05-02 06:41:33 +03:00
Noemi Erli 15d9c099fb Backed out changeset 10a025aed3d4 (bug 1414033) for failing in opacity-keep-intermediate-surface-too-long.html 2019-05-02 06:05:10 +03:00
Glenn Watson 51efa36789 Bug 1548405 - Do all resource requests during visibility pass in WR. r=kvark
This builds on earlier patches to move all remaining resource requests
to occur during the visibility pass, and change the block on glyph
rasterization to occur after the visibility pass.

This allows batch generation to occur during the prepare_prims pass,
which is useful for generating a batch set per-dirty-region, while
only doing a single pass of the picture / primitive tree.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 01:54:32 +00:00
Chris Pearce 7a98bf47e2 Bug 1548410 - Disable DXVA on Qualcomm WoA drivers. r=mattwoodrow
This driver version is known to have busg which cause the output of green
frames from the decoder, and to cause BSODs.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 02:42:31 +00:00
Cosmin Sabou a884fb99d8 Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Paul Bone 6a6e6728fd Bug 1548161 - Add a JSGC parameter for zoneAllocDelayBytes r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29476

--HG--
extra : moz-landing-system : lando
2019-05-01 12:30:46 +00:00
Dzmitry Malyshau 9512939607 Bug 1548131 - WR reset texture allocation r=gw
Introduce a new texture allocation operation "reset", which acts like a "realloc" but without the contents preserved.
Use it for the picture texture cache.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 22:43:16 +00:00
Doug Thayer 512461990a Bug 1538540 - Sanity check frames after TextureCache clears r=bholley
In trying to diagnose bug 1538540, I'm hitting my limits as far as
simply staring at the code and trying to work out possible ways to
hit the crash goes. This assertion will split the search space into
clear-related causes and non-clear-related causes to narrow things
down.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 01:37:02 +00:00
Ted Campbell 39a94f4b88 Bug 1545537 - Disable some jit-tests on android due to harness issues. r=sstangl
Disable certain jit-tests until Bug 1532654 is fixed.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 22:08:40 +00:00
Ted Campbell deb97066b7 Bug 1545537 - Add 'android' as a jsshell buildConfiguration property. r=sstangl
Differential Revision: https://phabricator.services.mozilla.com/D28842

--HG--
extra : moz-landing-system : lando
2019-05-01 22:06:53 +00:00
violet 96e3a70dc5 Bug 608812 - GetTransformForRendering() should have the same rounding behavior r=emilio
The comment in nsDisplayTransform::GetTransformForRendering() clearly
says that |aOutOrigin| should return the same offset as GetTransform().

GetTransform() will pass the offset to GetResultingTransformMatrix()
which will round it in many cases to avoid subpixel blurry rendering.

But GetTransformForRendering() doesn't take this rounding into account,
thus contradicting the intent described by the comment.

This rounding is important to keep subpixel behavior consistent with
or without webrender enabled. Currently, SVG will be rendered blurry
in some cases if it's at a subpixel position. After fixing the problem
in non-webrender case, the strange blur still occurs in webrender case.
It turns out to be caused by this inconsistency.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 15:20:31 +00:00
violet d6376ab7df Bug 608812 - Remove a bunch of WPT meta files that are no longer valid r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D29366

--HG--
extra : moz-landing-system : lando
2019-05-02 01:23:12 +00:00
violet 3c2c9a686e Bug 608812 - Should snap subpixel value for outer svg and anon child r=longsonr
We should  snap subpixel value at nsDisplayTransform::GetResultingTransformMatrix
for outer svg and the anon child. This will solve blurry rendering for subpixel position
when webrender is __not__ enabled.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 17:53:32 +00:00
Chris Pearce ce390c7a4f Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:21 +00:00
Chris Pearce 4c240bf871 Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:17 +00:00
Chris Pearce 217bd1680c Bug 1540573 - P4. Use larger MediaCache sizes when on cellular connection. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D26233

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:13 +00:00
Chris Pearce 8ad76b6460 Bug 1540573 - P3. Expose network link type on ContentChild for use in content process. r=snorp
In GeckoView the nsINetworkLinkService doesn't work in the content process, as
we don't seem to have an AndroidBridge there, so just maintain the network
connection type on the ContentChild.

(I had considered keeping this on the NeckoChild, but the creation of that is
initiated from the content process side, and there's not an easy and clean way
to have the parent process send us the connection type after construction of
the NeckoParent, other than have the NeckoChild request it either
synchronously, or doing it async and hoping it's not asked for the value before
the response comes in.)

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:46:23 +00:00
Chris Pearce 6d77c96a1d Bug 1540573 - P2. Have GeckoRuntime listen for network link changes when in the foreground. r=snorp
This allows Gecko to react to network link/status changes events as needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:45:53 +00:00
Eugen Sawin ext:(%2C%20Chris%20Pearce%20%3Ccpearce%40mozilla.com%3E) 03a2295044 Bug 1540573 - P1. Observe ProcessLifecycle events in GeckoRuntime. r=snorp
This is esawin's patch from Bug 1544076; D28083.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:45:33 +00:00
Matt Woodrow 6fe6d1d590 Bug 1414033 - Recursively invalidate any cached ContainerLayer surfaces for new attached Layers, since they might have been moved and we don't track invalid areas within them. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29452

--HG--
extra : moz-landing-system : lando
2019-05-02 01:14:46 +00:00
Cameron McCormack dca00b9a3e Bug 1539318 - Prevent getComputedTextLength() from working on non-display SVG text elements. r=jwatt
This adds the same bailing out behavior that was added in bug 1402109 to a number
of other functions implementing SVG DOM text methods.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 01:08:39 +00:00
Cosmin Sabou aaedb26cee Backed out changeset e9ea26dd5b68 (bug 1539318) for crashtest failures on 1539318-1.html. 2019-05-02 03:18:12 +03:00
Wes Kocher a53bab646c Bug 1544658 - Disable webxr web-platform tests on geckoview android due to frequent crashes r=kip
Differential Revision: https://phabricator.services.mozilla.com/D29561

--HG--
extra : moz-landing-system : lando
2019-05-01 23:22:38 +00:00
Andrea Marchesini 7a0fabb9f6 Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D29356

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:19 +00:00
Andrea Marchesini 181c865701 Bug 1320404 - Remove appId from origin attributes - part 3 - Permissionmanager, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29355

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:56 +00:00
Andrea Marchesini 36718d66c8 Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:54 +00:00
Andrea Marchesini 7e61125d8f Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:45 +00:00
Alastor Wu b8d3f16ea7 Bug 1535005 - part2 : add test. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D29095

--HG--
extra : moz-landing-system : lando
2019-05-01 23:02:38 +00:00
Alastor Wu b8c30ffe3c Bug 1535005 - part1 : no need to update 'mLastTimeMarchesOnCalled' in 'DidSeek()' r=jya
According to spec [1],  `mLastTimeMarchesOnCalled` is used to represent the `last time` in step3. It's used to record last time we run `TimeMarchOn()`, so there is no need to upate it on `DidSeek()`.

[1] https://html.spec.whatwg.org/multipage/media.html#time-marches-on

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:16:42 +00:00
Jean-Yves Avenard 703b321635 Bug 1532867 - Force unsigned arithmetic. r=gerald
"For negative a, the behavior of a << b is undefined." https://en.cppreference.com/w/cpp/language/operator_arithmetic

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

--HG--
extra : moz-landing-system : lando
2019-05-01 07:20:23 +00:00
Jean-Yves Avenard da336c5aa4 Bug 1532849 - Prevent arithmetic overflow. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D29461

--HG--
extra : moz-landing-system : lando
2019-05-01 23:13:34 +00:00
Jean-Yves Avenard 8926b1a54d Bug 1534156 - Get around int32_t to float rounding error. r=bryce
float(INT32_MAX); gets compiled into 2.14748365E+9 using clang, which is slightly bigger than INT32_MAX, as such 2.14748365E+9 <= INT32_MAX will return true (as INT32_MAX gets converted to a float)

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:11:56 +00:00
Timothy Nikkel 64306c8162 Bug 1377457. Only apply locks to the image if SetHasImage has been called. r=aosmond
This was observed in an intermittent failure of image/test/mochitest/test_discardAnimatedImage.html. What happened was:

1) Document::MaybePreLoadImage was called for the images in the test.
2) imgRequest::OnDataAvailable is called on at least one of the images. This creates the RasterImage, so any proxy for this imgRequest will now return the image via GetImage(). imgRequest::OnDataAvailable also queues the FinishPreparingForNewPartRunnable back to the main thread to call OnImageAvailable on the progress tracker on the main thread.
3) We get the actual LoadImage calls for the images of the document. We create new proxies for the existing imgRequests. imgRequestProxy::Init calls mBehaviour->SetOwner(aOwner), which sets mOwnerHasImage to true because the progress tracker has an mImage (the one we created above).
4) We get a call to LockImage, this gets forwarded to the RasterImage because mOwnerHasImage is true and we can access the image.
5) The FinishPreparingForNewPartRunnable finally runs on the main thread. The OnImageAvailable notification from the progress tracker ends up in imgRequestProxy::SetHasImage. imgRequestProxy::SetHasImage applies our local count mLockCount to the RasterImage, even though we've already forwarded one of those LockImage calls to the image. LockImage calls are now unbalanced and the image will always remain locked.

The fix is simple. Only apply the Lock/Unlock calls if the FinishPreparingForNewPartRunnable has hit the main thread (ie ignore an image we can access until this happens).

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:05:47 +00:00
Ed Lee f2e01bb6c1 Bug 1548388 - Add focus states, fill telemetry and bug fixes to Activity Stream r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D29577

--HG--
extra : moz-landing-system : lando
2019-05-01 22:55:10 +00:00