Commit Graph

650187 Commits

Author SHA1 Message Date
Andrew Osmond
1a022002f5 Bug 1540200 - Part 1. Move picture local rect calculation to update visibility. r=kvark
We currently calculate a picture's local rect when we are doing the
first picture traversal. It was composed of the union of the clipped
local rects of its children. However the true local rect of a picture is
the union of the snapped clipped local rects of its children. The
snapping is done in device space, but we won't know the exact transform
until we establish the raster roots, which is based on the picture's
local rect.

As such, we create an estimated local rect which is how we currently
calculate the local rect. Then once the raster roots have been selected,
we recalculate the local rect of the picture based on its children
during update visibility.

This patch should have not contain any functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D28881
2019-05-06 08:36:50 -04:00
Mats Palmgren
af98466fc0 Bug 1549223 - [css-grid-2] Remove single keyword 'subgrid' as a valid value for the 'grid' and 'grid-template' shorthands. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D29974

--HG--
extra : rebase_source : 4f76c70ab6335cd41e23bd692c0a4ea432b525e9
2019-05-06 02:43:50 +02:00
Mihai Alexandru Michis
e7d9a87493 Merge mozilla-inbound to mozilla-central a=merge 2019-05-06 12:49:43 +03:00
Jan de Mooij
0ef93c53db Bug 1547179 - Remove an assertion that's no longer valid because rt->profilingScripts no longer implies IsLCovEnabled. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D28952

--HG--
extra : moz-landing-system : lando
2019-05-03 12:28:57 +00:00
Paul Bone
cc7e371160 Bug 1532838 - Set minimum nursery size to 256KB r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29816

--HG--
extra : moz-landing-system : lando
2019-05-06 03:16:06 +00:00
Paul Bone
d3857d4888 Bug 1532838 - Add a pref for the minimum nursery size r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29815

--HG--
extra : moz-landing-system : lando
2019-05-06 03:14:22 +00:00
Paul Bone
6eabff94c7 Bug 1532838 - Use correct units in a preference name r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29814

--HG--
extra : moz-landing-system : lando
2019-05-06 03:13:51 +00:00
Jeff Muizelaar
0e7d61fe73 Bug 1539846. Ensure building rect changes cause invalidations. r=mstange
Typically this would be handled by the visible region of the layer
changing. However, since we build the container layer for the filter
item directly the visible region doesn't get set or checked. As a
shortcut to using more of FLB we just ensure the building rect hasn't
changed.

The situations under which this bugs shows up are somewhat rare:
- The filtered item needs to be in transform so that it's bounds
  are not changed by scrolling.
- The filtered item needs to contain items that change their drawing
  depending on the building rect. In this case an image with downscale
  on decode.
- The filter needs to be unsupported by WebRender.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 20:46:07 +00:00
Erica Wright
cdc02f4c8b Bug 1548626 - Delay showing the Privacy-UI onboarding by 30 min for new users. r=johannh
Wait 30 min after a new profile is created before showing the onbording.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 00:37:05 +00:00
Daniel Varga
f59107b417 Backed out changeset a0a023dac829 (bug 1392760) for debugger failure at object-inspector/types 2019-05-06 03:14:57 +03:00
Oriol Brufau
4687ff5e88 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-04-26 15:32:50 +00:00
Paul Zuehlcke
15881e3dff Bug 1412561 - Block addon installation prompts in fullscreen mode. r=johannh,aswan
Differential Revision: https://phabricator.services.mozilla.com/D27734

--HG--
extra : moz-landing-system : lando
2019-05-03 21:44:24 +00:00
Jeremy Ir
79895773c2 Bug 1548341 - Convert NS_STYLE_BORDER to an enum class in nsStyleConsts.h. r=dholbert
Converting the NS_STYLE_BORDER definitions in to enumerated classes as
per bug 1277133.

The original constants broke the convention used by the rest of the
definitions as the CSS property being described is `border-collapse`,
so corrections were made with the migration to the enumerated class.

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

--HG--
extra : moz-landing-system : lando
2019-05-05 23:39:27 +00:00
Cosmin Sabou
43e85c587a Bug 1140656 - Disable test_socks.js on mac debug for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D29967

--HG--
extra : moz-landing-system : lando
2019-05-05 22:40:37 +00:00
Cosmin Sabou
8602101987 Backed out changeset 6abefa3e063b (bug 1541450) for xpcshell failures on test_certs.js. CLOSED TREE 2019-05-06 02:15:56 +03:00
Andreas Farre
e135a08b5e Bug 1547911 - Don't assert that there are no children when restoring BC. r=nika
This is essentially equal to restoring cached children and removing
current children from a BrowsingContext, which is the correct
behaviour. It would've been better if the current children were
removed in a more transparent manner, but it is more important to
remove an assert that too eagerly triggers.

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

--HG--
extra : moz-landing-system : lando
2019-05-05 19:26:51 +00:00
Frederik Braun
18a04317f0 Bug 1548773: Remove support for typemustmatch r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D29803

--HG--
extra : moz-landing-system : lando
2019-05-05 14:41:59 +00:00
Jonathan Kingston
cb55df3ae6 Bug 1549168 - Remove use of principal SerializationHelper in browser.js and replace with E10S.serializePrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D29958

--HG--
extra : moz-landing-system : lando
2019-05-05 13:43:10 +00:00
Razvan Maries
f0abfc328a Bug 1525580 - Disabled update-after-oneday.https.html for high frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D29908

--HG--
extra : moz-landing-system : lando
2019-05-05 20:39:12 +00:00
Andreea Pavel
e3e8cdca8a Bug 1450355 - disabled test_profile_management.py on osx/linux debug r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D29920

--HG--
extra : moz-landing-system : lando
2019-05-05 20:39:10 +00:00
Carolina Jimenez Gomez
f34fc8b3b1 Bug 1541450 - Add a Certs cleaner and defines that object in FLAGS_MAP. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27193

--HG--
extra : moz-landing-system : lando
2019-05-05 20:12:24 +00:00
Jeff Walden
710d4d71ea Bug 1547478 - XDR BinAST metadata using deduplicated BinAST data so that pointers in the metadata will correctly point into the deduplicated data, not into user-provided data that hasn't been deduplicated yet. r=tcampbell
Depends on D29266

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

--HG--
extra : moz-landing-system : lando
2019-05-03 21:49:52 +00:00
Liang-Heng Chen
784cd8785e Bug 1544598 - Part 1: use hash to record origin telemetry; r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29357

--HG--
extra : moz-landing-system : lando
2019-05-03 15:37:14 +00:00
Liang-Heng Chen
ec19e2a6a2 Bug 1544598 - Part 0: fix assertion when EncodedSnapshot with an unknown origin; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D29670

--HG--
extra : moz-landing-system : lando
2019-05-02 15:16:15 +00:00
Ed Lee
0ce3de9a83 Bug 1548952 - Add offline fallback, request timeouts and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D29909

--HG--
rename : browser/components/newtab/bin/vendor-react.js => browser/components/newtab/bin/vendor.js
extra : moz-landing-system : lando
2019-05-04 05:36:06 +00:00
Florens Verschelde
f00a2adf5f Bug 1548317 - Fix twisty color in selected TreeView rows; r=Honza,yzen
Changes impact theme-twisty icons in the TreeView component:
- Make sure theme-twisty uses the selection color (white) in selected rows;
  but override that style for Network details accordion headers.
- Improve the vertical alignment and pixel-perfect icon rendering by
  making sure the icon element takes the full available height (16px)
  and avoiding assymetrical padding (affects the rendering of centered
  background-image, making them blurry on 1x displays).
- Tweak the horizontal spacing of theme-twisty icons so that they take
  up a total of 20px width (similar to what is used in Debugger and
  Inspector), versus 17px previously.

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

--HG--
extra : moz-landing-system : lando
2019-05-05 13:39:41 +00:00
Timothy Nikkel
9e00c372a5 Bug 1547277. If the size of the document as recorded in the frame/view tree and the document viewer diverge as a result of a call to GetContentSize make sure to invalidate when they converge again because what we draw is changing. r=mattwoodrow
The code comment mostly explains things.

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

--HG--
extra : moz-landing-system : lando
2019-05-05 03:21:41 +00:00
Jon Coppeard
4f873399c9 Bug 1548242 - Use cross compartment wrapper map to calculate debugger's sweep group edges where possible r=sfink?
Rather than consulting the debugger weak maps to add reverse edges corresponding to forward edges added for cross compartment wrappers, add both forward and reverse edges when iterating the cross compartment wrapper map.  Remove zone counts from debugger weak maps.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:49:13 +00:00
Matt Woodrow
ca8d64ee34 Bug 1522455 - Position sticky can be handled by the compositor, so should be considered an async AGR. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D29796

--HG--
extra : moz-landing-system : lando
2019-05-03 13:22:27 +00:00
Kris Maglione
33d7656e97 Bug 1549133: Make intermediate add-on signing cert injection less insane. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D29955

--HG--
extra : moz-landing-system : lando
2019-05-05 04:44:34 +00:00
Coroiu Cristina
7bb82fa0dc Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-05-06 00:42:50 +03:00
Coroiu Cristina
6f634e87e9 Merge inbound to mozilla-central a=merge on a CLOSED TREE 2019-05-06 00:38:28 +03:00
Coroiu Cristina
4a840bbe4b Backed out 3 changesets (bug 1540200) for causing merge conflicts
Backed out changeset 4352d1f0da34 (bug 1540200)
Backed out changeset ff2ca836d8a7 (bug 1540200)
Backed out changeset 3e4cc0d312d0 (bug 1540200)
2019-05-06 00:37:06 +03:00
Coroiu Cristina
79b11a1ca9 Merge autoland to mozilla-central a=merge on a CLOSED TREE
--HG--
extra : amend_source : 787c174982a4fc831ece91fc26fbb95e3b37210a
2019-05-05 23:04:20 +03:00
Andrew Swan
220dcf8df1 Bug 1549075 Follow-up Fix loading built in manifests r=zombie a=pascalc CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D29963

--HG--
extra : amend_source : f6cd21d8189ad059bea00e4f4bd373a013d31401
2019-05-05 09:04:47 -07:00
Robert Helmer
b2015fdd46 Bug 1549147 - Disable corroborator test until new non-expired cert is available a=jcristau CLOSED TREE
Bug #: 1549147

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

--HG--
extra : histedit_source : 83a22fbbbc14d43cb615d6fc0e50199713a38dab
2019-05-05 12:20:43 +03:00
Andrew Swan
7bb54ec5aa Bug 1549075 Follow-up: Fix system addon test on CLOSED TREE r=kmag a=bustage 2019-05-04 22:12:55 -07:00
Kris Maglione
c5b95ad0ce Bug 1549075: Follow-up: Fix ESLint bustage on a CLOSED TREE. a=bustage
--HG--
extra : amend_source : 52d76b0c7fe42a57b90b6effcddb888647107ee1
2019-05-04 21:03:43 -07:00
Andrew Swan
acd424e5d9 Bug 1549075 Don't blow up on builtin addons while rebuilding the extensions database r=kmag a=lizzard CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D29954

--HG--
extra : amend_source : 0589d26ab75f9036034fb2d9f1e4280acf670b89
extra : histedit_source : fbb56252f19a30dd5c436f9cfe81a2b52ee037dc
2019-05-04 19:23:37 -07:00
Rob Wu
8aceea0bac Bug 1549061 - Add intermediate certificate r=kmag a=lizzard CLOSED TREE
This patch relies on a schema bump in a previous commit to be effective
for users.

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

--HG--
extra : histedit_source : fa86330bd31d9bbbff2fa97d40abdd4ffbfbddd9
2019-05-04 21:39:46 +00:00
Emilio Cobos Álvarez
06578bfadb Back out changeset fa013d593d02e29d9062900f89a14fd40a9ba687 (bug 1549010). a=sylvestre
CLOSED TREE
2019-05-04 11:59:37 +02:00
Cosmin Sabou
58c0da101a Backed out changeset 03166449953f (bug 1539759) on request from past for causing bug 1548990. CLOSED TREE 2019-05-04 11:02:30 +03:00
Kris Maglione
f9908e82a7 Bug 1549010: Part 2 - Bump DB schema version to force certificate reverification. r=zombie a=lizzard CLOSED TREE
Users who are affected by the intermediate add-on signing certificate expiry
need their add-on signatures re-verified as soon as possible after updating to
a version containging the fix. A database rebuild includes signature
reverifications, so a schema version achieves this.

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

--HG--
extra : rebase_source : 421fe35aaf00d24fa2d79ebcc7dd2c749e1c1280
2019-05-03 21:32:17 -07:00
Dana Keeler
1d1260c761 Bug 1549010 - verify add-on signing certificates at 2019-04-27T02:43:20.000Z r=jcj a=lizzard
Differential Revision: https://phabricator.services.mozilla.com/D29928

--HG--
extra : rebase_source : 468b1124eb11b379b11c041c2ea97f6d5b46fe52
extra : source : 9cdb06fa51891f31c4371b3d06d8e46148b5237a
2019-05-04 04:15:11 +00:00
Nico Grunbaum
705743fb99 Bug 1528078 - Adding WebRTC device access and deprecated interface telemetry r=jib,smaug
Adding telemetry for gUM, enumerate devices, and mozRTCPeerConnection

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

--HG--
extra : moz-landing-system : lando
2019-05-03 23:50:22 +00:00
Razvan Maries
12bcfbb334 Backed out 2 changesets (bug 1543247) for build bustages. CLOSED TREE
Backed out changeset feb726e4f15d (bug 1543247)
Backed out changeset 4b3619d89abd (bug 1543247)
2019-05-04 03:10:55 +03:00
Dana Keeler
399a45f767 bug 1546361 - recreate cert_storage data as necessary r=jcj,myk
It turns out that an rkv database created on a 32-bit platform cannot be used on
a 64-bit platform and vice-versa. To work around this for now, we delete and
recreate the DB backing cert_storage and set flags to let our consumers know
to re-load all known data.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 23:41:17 +00:00
Nick Alexander
7128d7e528 Bug 1543247 - Part 2: Install visualmetrics.py prerequisites. r=ahal
Under the hood, browsertime invokes a certain `visualmetrics.py`
script.  That script depends on `ffmpeg` and ImageMagick's `convert`,
`compare`, and `mogrify` commands.  It also depends on certain Python
packages.

So this installs those dependencies, and then wires up the evaluation
environment such that `./mach browsertime` can find the dependencies.
It also adds a `./mach visualmetrics` command for processing a
captured MP4 file in the same way that browsertime processes such a
file.

In order to avoid downloading dependencies multiple time, the existing
artifact cache is extracted.  This is a small first step towards [Bug
1526021](https://bugzilla.mozilla.org/show_bug.cgi?id=1526021), which
might want to use this artifact cache as well.

At this time, hashes and filesizes are not verified.  During
development, the upstream files changed multiple times, and it's not
worth being completely locked down while experimenting with this
functionality.  If we start running this code in automation or in more
sensitive environments, we can build fetch tasks and TC indexes to
streamline the artifact gathering process.

It is expected that a future mach command will want to invoke
browsertime without suffering the overhead of invoking Python (and
mach, which is itself bulky) so a nod is given to exposing the
relevant environment pieces.

During testing, it was discovered that [MozillaBuild doesn't ship
git](https://bugzilla.mozilla.org/show_bug.cgi?id=1503028), so that
git repositories can't be used out-of-the-box on Windows.  So instead
we use a [tarball link from github.com/$USER/$REPO/tarball/$COMMIT-LIKE](https://github.blog/2008-03-03-tarball-downloads/).

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

--HG--
extra : moz-landing-system : lando
2019-05-03 22:45:22 +00:00
Nick Alexander
6df6c7ee39 Bug 1543247 - Part 1: Add mach browsertime command that installs and invokes browsertime. r=Standard8,ahal
[browsertime](https://github.com/sitespeedio/browsertime) is a harness
for running performance tests, similar to Mozilla's Raptor testing
framework.  The Performance Team is using it locally with some
success, but we're running a heavily modified toolchain that is
challenging to install.  This mach command is intended to be leverage
for getting more folks able to use browsertime easily.

In particular, the version of browsertime that this installs has
nalexander's changes to support testing GeckoView-based vehicles.  If
this approach meets with approval, I'll continue to follow-up with
additional configuration and tooling layers to make it even easier to
drive GeckoView-based vehicles.

I elected to piggy-back install on the eslint installation process,
since this is very similar.  To that end, I generalized what was there
very slightly.  I elected not to try to move the existing code into a
more obvious shared location, although it might be possible, because
it wasn't clear what contexts the existing code would be invoked
from.  In particular I wasn't certain the code could rely on a
complete mozbuild checkout.

I did need to ensure the local Node.js binary is early on the PATH;
this was an issue I ran into with my initial Node/Yarn prototyping
many months ago.  At heart the issue is that package scripts in the
wild invoke a bare `node` or `npm` command; if there was a culture of
invoking $NODE or $NPM, this wouldn't be necessary.  There's no harm
doing it for ESlint, and it will help the next person who wants to
install an NPM package for tooling in this manner.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 22:44:23 +00:00
Andrew Osmond
3a7c78906a Bug 1544105 - Part 2. Add new gfx driver vendor field to telemetry and about:support. r=jrmuizel,chutten,flod data-r=bmiroglio
Expose the driver vendor information (applies to Linux only at this
moment) to crash report telemetry and about:support. This will be useful
when debugging issues to know specifically what driver is in use.

Also expose the monitor information for Linux. Part 1 provides an
implementation to get the monitor information on said platform.

Differential Revision: https://phabricator.services.mozilla.com/D29472
2019-05-03 18:26:06 -04:00