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

660487 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar 3b81239430 Bug 1565580. Improve blob metadata deserialization code. r=Gankro
This removes duplication and makes it a bit safer by using ConvertFromBytes to
do an unaligned read of the indexOffset.

Also, inner classes can't have template methods. Who knew.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:09:01 +00:00
Erica Wright c9d7e55b77 Bug 1564503 - Add missing pieces to the protection report graph. r=mtigley
Bug 1564503 - Add missing pieces to the graph on protections report.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 16:09:19 +00:00
Nicolas Chevobbe 9eee9f68e1 Bug 1521452 - Create a GridElementWidthResizer component. r=Honza.
This component is placed by the consumer on a grid, and act on
one of the grid element size.
The component can be placed at the inline start or the inline end
of the area it is in.
This component relies on the existing Draggable component.
A test is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 16:48:27 +00:00
Tim Nguyen ab07cce446 Bug 1549288 - Clean up about:newinstall CSS and make it support dark mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D37805

--HG--
extra : moz-landing-system : lando
2019-07-12 16:12:27 +00:00
Gijs Kruitbosch c097971fe3 Bug 1560178 - disallow unsafe loads in the parent, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36312

--HG--
extra : moz-landing-system : lando
2019-07-12 16:29:01 +00:00
Gijs Kruitbosch f862faa152 Bug 1560178 - fix devtools tests that load untrusted URIs in the parent, r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D36311

--HG--
extra : moz-landing-system : lando
2019-07-12 16:28:56 +00:00
Gijs Kruitbosch b5b5d6a0ab Bug 1560178 - fix miscellaneous tests to allow them to keep working when disallowing remote content in the parent process, r=aswan,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36310

--HG--
extra : moz-landing-system : lando
2019-07-12 16:27:58 +00:00
Gijs Kruitbosch a259e5a236 Bug 1560178 - adjust webextension tests that rely on loading untrusted URIs in the parent process when remote webextensions are turned off, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D36309

--HG--
extra : moz-landing-system : lando
2019-07-12 16:27:39 +00:00
Gijs Kruitbosch a44b86f060 Bug 1560178 - fix/remove about:addons tests that load discovery pane in the parent, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D36308

--HG--
extra : moz-landing-system : lando
2019-07-12 16:27:27 +00:00
Ed Lee e308710902 Bug 1559479 - mach lint complains about newtab node_modules r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D37818

--HG--
extra : moz-landing-system : lando
2019-07-12 15:24:07 +00:00
Razvan Caliman 5c78bb5b6b Bug 1554701 - Replace CssProperties.isValidOnClient() with CSS.supports() r=gl
Given that `CssProperties.isValidOnClient()` does only a client-side check for support of a CSS declaration, we can leverage the built-in `CSS.supports()` method and remove some of the inter-dependencies between the `CssProperties` object from the `CssPropertiesFront` and its consumers, `OutputParser` and `FilterWidget`.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:28:29 +00:00
Panos Astithas 4993f3303e Bug 1406915 - Convert uses of defer to DOM promises in devtools/shared/client/. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D37747

--HG--
extra : moz-landing-system : lando
2019-07-12 14:37:29 +00:00
Alvina Waseem 485de70925 Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-11 22:03:43 +00:00
Jonathan Kew 54cbb9d57b Bug 1554208 - patch 6 - Add PSName and FullName support to gfxFT2FontList shared font-list initialization, so that src:local() lookups will work. r=jwatt
Also ensure we consistently use the original-case family name in FontNameCache entries,
and only lowercase it to a "key" for lookup/insertion into the font list. This avoids
failures in test_font_whitelist.html due to inconsistency in whether family names have
been lowercased.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:34:30 +00:00
Jonathan Kew f91a1d3b2a Bug 1554208 - patch 5 - Implement shared-fontlist support in the gfxFT2FontList backend. r=jwatt
This is the main part of the implementation, except that it doesn't handle populating the
local names table (for @font-face src:local() lookups) with Full and PostScript names;
that follows in the next patch.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:34:04 +00:00
Jonathan Kew 9f9125a4d0 Bug 1554208 - patch 4 - Make the FontNameCache that we use to store the font list in the startupCache use a more robust and extensible serialization. r=jwatt
I'll need to add a couple of extra fields to the cache records, and realized that the current format
looks really fragile; in theory, it'd break if a font name ever contained a comma or semicolon
(unlikely though that may be). So let's fix it to be a bit more robust before we add to it further.
Using control characters from the C0 range to delimit fields/records, instead of ASCII punctuation,
removes the (tiny) risk of conflict with characters that actually occur in a name, and using
distinct field and record separators means that we can better check that the records we're loading
from the cache actually match the expected format.

(Given that the startup cache gets re-created when the build ID is updated, a change in the format
between versions wasn't going to cause problems for users; their old cache just gets blown away
when upgrading. Still, a little more robustness seems like a good thing.)

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:33:35 +00:00
Jonathan Kew 01e8403527 Bug 1554208 - patch 3 - Rearrange gfxFT2Fonts code so that FindFonts() does just what it says, and other work is handled by the caller. r=jwatt
This makes the functional structure a bit cleaner, so that it'll be easier to slip in the alternative
codepath for the shared font-list.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:33:03 +00:00
Jonathan Kew 2469dbfb9d Bug 1554208 - patch 2 - Remove redundant member-reset code from gfxFT2FontList::FindFonts (already handled by gfxPlatformFontList before this is called). r=jwatt
A bit of cleanup of the existing code, before we start actually implementing new stuff.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:32:35 +00:00
Jonathan Kew 21b4c1cf5a Bug 1554208 - patch 1 - Add missing checks for shared charmap. r=jwatt
This isn't really specific to the FT2 fontlist, it's a general fixup that I noticed while
working on this. (The missing checks aren't crucial, but mean that we might re-read a cmap
when we shouldn't need to.)

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

--HG--
extra : moz-landing-system : lando
2019-07-12 15:32:05 +00:00
Paul Bone eb77b16ecc Bug 1562187 - (part 4) Move an assertion to it makes more sense r=jandem
Move this assertion so it's nearer to where its assuption is used.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 08:55:56 +00:00
Paul Bone 492004b6d3 Bug 1562187 - (part 3) Remove ifdefs from around Poison calls in Nursery.cpp r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D37361

--HG--
extra : moz-landing-system : lando
2019-07-10 08:55:53 +00:00
Paul Bone 75a0c9286c Bug 1562187 - (part 2) Use correct ifdef r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D37360

--HG--
extra : moz-landing-system : lando
2019-07-10 08:54:56 +00:00
Paul Bone 972012a873 Bug 1562187 - (part 1) All paths through Poison code make asan/valgrind calls r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D37359

--HG--
extra : moz-landing-system : lando
2019-07-10 08:54:42 +00:00
Alexis Beingessner 7d0ec2c7ed Bug 1547351 - Automatically set content process render root r=kats
This implements the idea of automatically setting a content proc's
render root based on the render root enclosing the iframe that
points to it. There was a bit of cleanup in here that was a bit
tricky to extract from the core patch revolving around how we
use the Api(...) helper. This was to avoid the situation where
we use the Api(...) helper before our render root is initialized,
when we don't actually have to. I.e., when we just want the root
WebRenderAPI in all cases.

An alternative to this approach could be to fully built out the
WebRender transactions and just queue those up to be sent. However,
transaction building has various side effects which are committed
before the transaction is actually sent, so we would have to build
out some scheme for deferring those as well. This seemed simpler.

Patch primarily written by :dthayer

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

--HG--
extra : moz-landing-system : lando
2019-07-12 03:19:28 +00:00
Doug Thayer b4d356d721 Bug 1547351 - Factor out RecvEmptyTransaction's core transaction building r=sotaro
This splits out the inner bit of RecvEmptyTransaction to just iterate over
the documents once, rather than iterating over them individually. Originally
I ran into difficulties with this and then left it on the table, but I think
it was enabled by splitting out the epochs in pipeline info by renderroot.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 03:19:28 +00:00
Bogdan Tara 4b7c4bf220 Backed out 2 changesets (bug 1550640) for webrender bustages CLOSED TREE
Backed out changeset 00e5a40ee249 (bug 1550640)
Backed out changeset 46c850f36c6f (bug 1550640)
2019-07-12 06:26:05 +03:00
Dan Glastonbury be054e6278 Bug 1550640 - P4: Remove bincode. r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D32783

--HG--
extra : moz-landing-system : lando
2019-07-12 02:47:25 +00:00
Dan Glastonbury c7d8e015b8 Bug 1550640 - P3: Replace bincode with peek-poke. r=Gankro
Replace `serde`-derived `bincode` with custom binary
serialization/deserialization that generates more efficient code at rustc
`opt-level = 2`.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 02:47:23 +00:00
thomasmo eb4b31835a Bug 1565295 - Create Command Line Handler for FxR on desktop r=mossop
This change introduces the stubs for nsFxrCommandLineHandler,
which will support launching Firefox Reality on Desktop.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 21:01:04 +00:00
Ting-Yu Lin 57a98efc97 Bug 1565037 Part 5 - Rename aBottomEdgeOfChildren to aBEndEdgeOfChildren in methods' declaration. r=dholbert
Their definitions already use aBEndEdgeOfChildren.

Depends on D37626

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

--HG--
extra : moz-landing-system : lando
2019-07-11 18:43:48 +00:00
Ting-Yu Lin 1d40e7045d Bug 1565037 Part 4 - Rename aContentBSize to aBEndEdgeOfChildren. r=dholbert
As described in https://bugzilla.mozilla.org/show_bug.cgi?id=1562122#c5,
this precomputed argument is not our children's block-size, but is the
block-end edge of children because aState.mBCoord is initialized as our
border-padding block-start in BlockReflowInput's constructor.

I also delete the sentence "The final block-size that is used in
aMetrics will be set ..." because this is the implementation details of
this function, and is likely to become inaccurate after considering the
block split by column-span.

Depends on D37625

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

--HG--
extra : moz-landing-system : lando
2019-07-11 18:43:35 +00:00
Ting-Yu Lin 271347c543 Bug 1565037 Part 3 - Cache our children's reflow status, and use it to guide the morphing into our reflow status. r=dholbert
Because aStatus is also used as an output argument, caching aStatus as
our children's reflow status can and make the logic that morphs aStatus
to our reflow status easier to follow. And this helps the patch I'm
going to add for computing the block-size for column-span split.

Depends on D37624

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

--HG--
extra : moz-landing-system : lando
2019-07-11 18:50:14 +00:00
Ting-Yu Lin b0c5d5ce8d Bug 1565037 Part 2 - Change aStatus to a reference for ComputeFinalBSize(). r=dholbert
We usually use reference to manipulate nsReflowStatus like in Reflow().

The documentation for aStatus needs edit, and is done in next part.

Depends on D37623

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

--HG--
extra : moz-landing-system : lando
2019-07-11 18:43:23 +00:00
Ting-Yu Lin a051547c37 Bug 1565037 Part 1 - Make nsBlockFrame::ComputeFinalBSize() return the final block size. r=dholbert
ComputeFinalBSize() doesn't need to modify the final inline-size, so we
don't need to pass the entire LogicalSize into it.

Also, aReflowInput.AvailableBSize() is used multiple times. Cache it to
shorten some statements.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 18:43:14 +00:00
Gurzau Raul 3697df8022 Backed out 2 changesets (bug 1550640) for webrenderer bustages on a CLOSED TREE.
Backed out changeset 2dcbe1372a05 (bug 1550640)
Backed out changeset 84db3a9838a5 (bug 1550640)
2019-07-12 04:56:07 +03:00
Gurzau Raul 7a46596592 Backed out 2 changesets (bug 1556789) for assertion failures in FF functional tests on a CLOSED TREE.
Backed out changeset 2d10e95cf0cd (bug 1556789)
Backed out changeset 0acf6bafda0f (bug 1556789)
2019-07-12 04:45:46 +03:00
Dan Glastonbury 3401662ae8 Bug 1550640 - P4: Remove bincode. r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D32783

--HG--
extra : moz-landing-system : lando
2019-07-12 01:28:29 +00:00
Dan Glastonbury f020cdec9b Bug 1550640 - P3: Replace bincode with peek-poke. r=Gankro
Replace `serde`-derived `bincode` with custom binary
serialization/deserialization that generates more efficient code at rustc
`opt-level = 2`.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 01:28:22 +00:00
Eric Rahm 7432760a32 Bug 1565359 - Fix trait objects without an explicit `dyn` are deprecated error. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D37771

--HG--
extra : moz-landing-system : lando
2019-07-12 00:25:21 +00:00
Matt Woodrow 17a41fa774 Bug 1562616 - Don't fail to create a GPUVideoTextureHost if the dependent texture isn't available, since that crashes the compositor. r=sotaro
Depends on D37781

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

--HG--
extra : moz-landing-system : lando
2019-07-12 00:39:49 +00:00
Sam Foster ae8c1da8cb Bug 1559994 - Add 'attention'-styled dismissed doorhanger when auto-saving a generated password. r=MattN
* Add a new optional 'notifySaved' argument to promptToSavePassword
* Give the notification an attention style when showing a login doorhanger for an auto-saved login with a generated password

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

--HG--
extra : moz-landing-system : lando
2019-07-12 00:34:08 +00:00
Ed Lee 4b6bf421fe Bug 1565293 - Copy actually used asrouter.ftl to locales-src r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37814

--HG--
extra : moz-landing-system : lando
2019-07-12 00:22:44 +00:00
Matt Woodrow 1a69639421 Bug 1562722 - Don't apply the background color to anything except the root document when using CrossProcessPaint. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D37679

--HG--
extra : moz-landing-system : lando
2019-07-11 14:01:15 +00:00
Bogdan Tara b3b754d03c Backed out changeset a82b17a644d7 (bug 1562762) for geckoview crashes on Android 4.3 CLOSED TREE 2019-07-12 02:40:19 +03:00
Emilio Cobos Álvarez 65d9b59c91 Bug 1565214 - Set the property restrictions flags from the centralized list. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D37721

--HG--
extra : moz-landing-system : lando
2019-07-11 23:07:20 +00:00
Emilio Cobos Álvarez 1bfffcd38a Bug 1565214 - Centralize property restrictions. r=boris
The assertion in properties.mako.rs ensures I got this right.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 23:07:09 +00:00
Emilio Cobos Álvarez 876daf8a87 Bug 1565214 - scroll-margin properties shouldn't apply to first-line / first-letter. r=boris
From https://drafts.csswg.org/css-scroll-snap-1/#placement:

> None of the properties in this module apply to the ::first-line and
> ::first-letter pseudo-elements.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 23:06:59 +00:00
Emilio Cobos Álvarez baa56e062d Bug 1565214 - Update spec link for font-variation-settings. r=boris
It had got outdated.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 23:06:50 +00:00
Emilio Cobos Álvarez 85c5fe106f Bug 1565214 - Don't apply property restrictions to pseudo-elements in UA stylesheets. r=boris
And remove some of the ::placeholder and ::cue hacks where we need to use
!important to make the property not apply for content but apply on UA sheets.

The comment about the white-space property was wrong, we don't enforce it with
!important in the UA stylesheets for <input> (we do for <textarea> though), so
I've kept the flag since it really applies.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 23:06:41 +00:00
Csoregi Natalia fcccd2b6b0 Merge mozilla-central to autoland. CLOSED TREE 2019-07-12 02:06:45 +03:00