Commit Graph

649785 Commits

Author SHA1 Message Date
Tom Schuster
069f9b2851 Bug 1547131 - JS shell: show the stack for thrown values that are not Error objects. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D28967

--HG--
extra : moz-landing-system : lando
2019-05-02 11:12:27 +00:00
Jan de Mooij
5e3db1106f Bug 1541404 part 18 - Various minor changes for debugger support. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D28993

--HG--
extra : moz-landing-system : lando
2019-05-02 08:38:06 +00:00
Axel Hecht
bcc7eeb6bd Bug 1353680, create test to prevent bad content in localizable strings, r=ahal,flod
Differential Revision: https://phabricator.services.mozilla.com/D20465

--HG--
extra : moz-landing-system : lando
2019-05-02 10:50:43 +00:00
Axel Hecht
ddd561b21c Bug 1353680, update compare-locales to 7.2.1, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D29000

--HG--
extra : moz-landing-system : lando
2019-05-02 10:48:32 +00:00
James Teh
6cf69b31f4 Bug 1546633: PanelMultiView: Send mousedown event when activating a button via the keyboard. r=Gijs
Previously, we sent a command event and a click event.
Normally, the command event executes the action, then the click event closes the menu.
However, in some cases (e.g. the Library button), there is no command event handler and the mousedown event executes the action instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 10:35:57 +00:00
James Teh
32a5b927ef Bug 1545766: PanelMultiView: Don't override keyboard navigation in embedded documents. r=Gijs
Extension panels contain embedded documents; i.e. a <browser> element.
We want users to be able to tab to these and we want them to be focused automatically if a subview is opened from the keyboard, so treat them as tabbable.
However, once an embedded document is focused, we can't manage keyboard navigation inside it, so don't try.
Previously, we tried, which meant keys were overridden even though they didn't do anything, breaking keyboard navigation in extensions altogether.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 10:35:49 +00:00
Narcis Beleuzu
762dbd77f4 Backed out changeset 0727a51d7ae1 (bug 1547929) as requested by petru. CLOSED TREE 2019-05-02 13:46:56 +03:00
Narcis Beleuzu
c8e45a1834 Backed out changeset 4c6e2e3f23f9 (bug 1539759) for failures on nsExpatDriver::WillBuildModel . CLOSED TREE 2019-05-02 13:42:29 +03:00
Valentin Millet
f9d6a0877e Bug 1530178 - Update WPT expectations. r=padenot
https://github.com/WebAudio/web-audio-api/issues/1004

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

--HG--
extra : moz-landing-system : lando
2019-05-02 09:24:57 +00:00
Paul Adenot
a8fb83f275 Bug 1530178 - Fix audiobuffer-copy-channel.html to allow copyFromChannel/copyToChannel wth an offset of n on an array that is n elements long. r=karlt
This is a no-op, but is allowed per spec:

> An optional offset to copy the data to. If startInChannel is greater than the
> length of the AudioBuffer, an IndexSizeError MUST be thrown.

If the numbers are equals, this shouldn't throw.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 09:24:57 +00:00
Valentin Millet
d934ec2ff8 Bug 1530178 - copyFromChannel/copyToChannel until end of buffer when destination/source is longer r=padenot,karlt
than available space, as clarified in https://github.com/WebAudio/web-audio-api/issues/1004

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

--HG--
extra : moz-landing-system : lando
2019-05-02 09:24:57 +00:00
diana.iacos
3af8effac4 Bug 1547929 - [Tablet] Make default browser option not displayed on top of the Settings Menu; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D29636

--HG--
extra : moz-landing-system : lando
2019-05-02 09:16:05 +00:00
Gijs Kruitbosch
54d985d143 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 09:22:10 +00:00
shindli
c7089180a6 Backed out 2 changesets (bug 1535056, bug 1513854) for linux build bustages and failed Gecko Decision Task CLOSED TREE
Backed out changeset f5eea3706636 (bug 1535056)
Backed out changeset 9b66e9b91074 (bug 1513854)
2019-05-02 12:25:40 +03:00
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