659263 Commits

Author SHA1 Message Date
Mike Hommey
280a850db7 Bug 1561821 - Enable frame pointers in Rust code when building with --enable-frame-pointers. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D37021

--HG--
extra : moz-landing-system : lando
2019-07-05 00:08:32 +00:00
Mike Hommey
3ea251d03f Bug 1561821 - Bump toolkit/crashreporter's minimum supported rust version. r=dmajor
As it turns out, the version the minidump-stackwalk tasks use (1.31), is
the first version that actually builds the project: 1.30 and earlier
fail because for some reason, cargo wants to read all Cargo.toml files
in the workspace, including unrelated ones, and barfs on features that
weren't supported until 1.31.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 22:01:23 +00:00
Hiroyuki Ikezoe
dcfdeea7f1 Bug 1556275 - Handle unknown values for width and height as 'Auto' in viewport meta tag. r=botond
Without the change a green rectangle in each reftest in this commit covers whole
screen.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 00:02:48 +00:00
Paul Bone
546bfbc874 Bug 1561506 - Make startOrRunIfIdle safe when threads are disabled r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D36326

--HG--
extra : moz-landing-system : lando
2019-07-05 13:18:27 +00:00
Paul Bone
c31fd2d225 Bug 1506733 - (part 4) Decommit unused portion of Nursery chunks r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D35591

--HG--
extra : moz-landing-system : lando
2019-07-05 13:18:17 +00:00
Paul Bone
08d45f17bc Bug 1506733 - (part 3) Re-initalise memory regions when growing the nursery r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D36863

--HG--
extra : moz-landing-system : lando
2019-07-05 15:56:53 +00:00
Paul Bone
112005db9e Bug 1506733 - (part 2) Refactor how the NurseryDecomitter finishes r=jonco
This refactoring is required for the next change.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 13:18:09 +00:00
Paul Bone
070151d46c Bug 1506733 - (part 1) Rename NurseryDecommitChunkTask r=jonco
This class will not just decommit whole chunks, so rename it to not imply
that as much.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 13:18:05 +00:00
shindli
f5dea34efe Backed out 5 changesets (bug 1421938) for bustages in /builds/worker/workspace/build/src/layout/base/nsQuoteList.cpp CLOSED TREE
Backed out changeset 4e25a6db1f5b (bug 1421938)
Backed out changeset 11a8f9bc0418 (bug 1421938)
Backed out changeset f27980997dc5 (bug 1421938)
Backed out changeset adb2e2714c14 (bug 1421938)
Backed out changeset 33e38a62b400 (bug 1421938)
2019-07-09 02:52:38 +03:00
Nicholas Nethercote
abf15f999d Bug 1560530 - Split StaticPrefs_accessibility.h from StaticPrefs.h. r=froydnj
This implements the machinery for the splitting of static prefs headers, and
uses it for a single header. #includes are used in such a way that the amount
of boilerplate for each static prefs header file is minimal.

Future patches will split the remaining prefs into more header files.

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

--HG--
rename : modules/libpref/StaticPrefs.h => modules/libpref/StaticPrefsBase.h
rename : modules/libpref/StaticPrefs.h => modules/libpref/init/StaticPrefListBegin.h
extra : moz-landing-system : lando
2019-07-08 23:40:39 +00:00
Brian Stack
f0b92f7367 Bug 1542233 - Add link to treeherder for all notification emails r=tomprince
This should make all emails from pushes link to treeherder as requested in the bug. I've made  a try push and confirmed that the "thanks for your submission" email still happens with proper links.  I am pretty sure this will set the link in non-try pushes correctly but if it doesn't, nothing will actually break afaict.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 18:47:27 +00:00
Hiroyuki Ikezoe
901885347c Bug 1562503 - Create GeckoMVMContext and ZoomConstraintsClient only for the root top level document. r=botond
browserElement_ScrollEvent.js is affected by this change. Before this change
the document for iframe mozbrowser was not considered as the root content
document, but after this change, it's considered as the root content document.
Given the nature of iframe mozbrowser, I believe it's the right behavior.

The browser mochitest in this commit fails without this change since
the minimum-scale size is used in the out-of-process iframe so that the visual
viewport size gets 3x bigger than the expected size.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 22:39:31 +00:00
Daosheng Mu
ecf2505849 Bug 1562679 - Checking if OpenVR vrinput() is null when doing initialization. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D37312

--HG--
extra : moz-landing-system : lando
2019-07-08 22:24:00 +00:00
Ehsan Akhgari
127357ac73 Bug 1558570 - Move HTMLDocument.clear/captureEvents/releaseEvents to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D34567

--HG--
extra : moz-landing-system : lando
2019-07-08 21:59:10 +00:00
Jonathan Kew
a48246ed51 Bug 1421938 - Add WPT reftests for nested quotes and 'auto' behavior. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D37158

--HG--
extra : moz-landing-system : lando
2019-07-08 20:16:17 +00:00
Jonathan Kew
6bea7b3966 Bug 1421938 - Add an 'auto' value for the CSS 'quotes' property, and make it use language-dependent quote marks. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36429

--HG--
extra : moz-landing-system : lando
2019-07-08 20:16:19 +00:00
Jonathan Kew
531c3f1fe0 Bug 1421938 - Implement a mozilla::intl::QuotesForLang utility to return localized quotation marks for a given locale, based on CLDR data. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36428

--HG--
extra : moz-landing-system : lando
2019-07-08 21:47:05 +00:00
Jonathan Kew
bb8b761782 Bug 1421938 - Make the nsAtomCString constructor accept a const nsAtom pointer. r=emilio
Depends on D36426

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

--HG--
extra : moz-landing-system : lando
2019-07-08 20:16:23 +00:00
Jonathan Kew
d6632784c7 Bug 1421938 - Add a set of WPT reftests (based on the manual i18n-wg testcases) for localized quote marks. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D36426

--HG--
extra : moz-landing-system : lando
2019-07-08 20:16:15 +00:00
shindli
a060733df8 Backed out changeset b59c9bfa328d (bug 1541603) for causing xpcshell failure in toolkit/crashreporter/test/unit_ipc/test_content_annotation.js CLOSED TREE 2019-07-09 02:10:29 +03:00
Brindusan Cristian
104c343759 Backed out changeset a8520d54fccb for ESlint failure at test_trr.js:684:30. CLOSED TREE 2019-07-09 01:23:51 +03:00
Brindusan Cristian
094a24980d Backed out 6 changesets (bug 1554208) for reftest failures at font-sans-serif.html and geckoview failures at AccessibilityTest.testMoveByLine. CLOSED TREE
Backed out changeset 14b2c3daeaf0 (bug 1554208)
Backed out changeset 7bd8be02631a (bug 1554208)
Backed out changeset 3e6c11ef906c (bug 1554208)
Backed out changeset f72e750ec20d (bug 1554208)
Backed out changeset 3e824f3e3c9c (bug 1554208)
Backed out changeset b610a6988076 (bug 1554208)
2019-07-09 01:07:08 +03:00
shindli
c6da65d833 Backed out changeset d1bfe8eb6e7c (bug 1498188) for causing ES lint failure in /builds/worker/checkouts/gecko/toolkit/components/aboutperformance/content/aboutPerformance.js:487:21 CLOSED TREE 2019-07-09 00:51:39 +03:00
mandy cheang
b5650ccc80 Bug 1541603 - remove creation of minidumps folder on startup, create it lazily in crash reporter. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D36370

--HG--
extra : moz-landing-system : lando
2019-07-08 18:25:09 +00:00
Hiroyuki Ikezoe
3c50a262de Bug 1516322 - Enable all reftests in layout/reftests/meta-viewport on Windows. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37032

--HG--
extra : moz-landing-system : lando
2019-07-08 18:51:51 +00:00
Geoff Brown
583c46ea6a Bug 1563625 - Run Android 7.0/debug mochitests as tier 1; r=snorp
Debug mochitests are running as well as opt now, and sufficient for tier 1.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:29:55 +00:00
Geoff Brown
ba35c1c343 Bug 1524493 - Skip crashtest 1419902.html on geckoview/debug; r=snorp
Skipping this test clears the way for running geckoview debug crashtests, finally.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:24:52 +00:00
Boris Zbarsky
669d84824b Add tests for the comma-separation aspect of the network.trr.excluded-domains preference. No bug. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37308

--HG--
extra : moz-landing-system : lando
2019-07-08 20:45:41 +00:00
Kartikaya Gupta
3adcd28bac Bug 1563811 - Increase max runtime for WPT on linux64-qr/debug. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D37309

--HG--
extra : moz-landing-system : lando
2019-07-08 21:16:55 +00:00
Daniel Holbert
318c553806 Bug 1487493: Remove early-beta restriction on CSS Containment (i.e. let it ride the trains to release). r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D37303

--HG--
extra : moz-landing-system : lando
2019-07-08 21:11:54 +00:00
Alvina Waseem
627ccdaaa3 Bug 1558372 - Fixed Crash Reporter on Mac. r=snorp,froydnj,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D35877

--HG--
extra : moz-landing-system : lando
2019-06-27 19:51:04 +00:00
Charlie Marlow
1e64f27aad Bug 1561657: fixed text-underline-offset so that positive lengths represent movement outwards from the text r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D36669

--HG--
extra : moz-landing-system : lando
2019-07-08 20:15:54 +00:00
Charlie Marlow
dd89a93a34 Bug 1562704: fixed text-underline-offset for Japanese and Korean text, where underlines appear to the right of text r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D36519

--HG--
extra : moz-landing-system : lando
2019-07-08 20:15:56 +00:00
fluks
10c442b350 Bug 1498188 - Show graphically relative energy impacts of tabs. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D35652

--HG--
extra : moz-landing-system : lando
2019-07-08 17:05:50 +00:00
Alastor Wu
3a3f6a61b1 Bug 1544455 - part3 : consider the result of computed position alignment to return correct computed position. r=heycam
In the spec [1], it only considers text's alignment when computing the `position`. However, the text alignment `start` and `end` can make the same result of what `left` and `right` make, depending on what direction the text uses.

For example, setting text alignment `left` is equal to `start` for the LTR text. Therefore, we could check the result of `ComputedPositionAlign`, which would return correctly direction automatically accoding to the text's base direction.

[1] https://www.w3.org/TR/webvtt1/#cue-computed-position

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

--HG--
extra : moz-landing-system : lando
2019-07-02 23:02:19 +00:00
Alastor Wu
7df6fd26b7 Bug 1544455 - part2 : modify test 'test_webvtt_positionalign.html'. r=heycam
Add new test cases for alignment `start` and `end` for both LTR and RTL text.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 17:51:29 +00:00
Alastor Wu
d5695bf69c Bug 1544455 - part1 : check the base direction of cue text in 'ComputedPositionAlign()'. r=heycam
According to the spec [1], when text alignment is `start` or `end`, we have to check the base direction of the cue text in order to decide the position alignment.

[1] https://www.w3.org/TR/webvtt1/#cue-computed-position-alignment

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

--HG--
extra : moz-landing-system : lando
2019-07-03 00:39:50 +00:00
Brindusan Cristian
88dcb17147 Backed out changeset 8e741ae8dcab (bug 1559975) as requested by ahal on irc. CLOSED TREE 2019-07-08 23:40:47 +03:00
shindli
2c12986a7f Backed out 5 changesets (bug 1421938) for causing a bustage in /builds/worker/workspace/build/src/intl/locale/cldr-quotes.inc:21:448 CLOSED TREE
Backed out changeset 3958f2af0e34 (bug 1421938)
Backed out changeset 89a0866d1aa0 (bug 1421938)
Backed out changeset f150702af11f (bug 1421938)
Backed out changeset b8ebd4d241e0 (bug 1421938)
Backed out changeset 1d38eb5eff6e (bug 1421938)
2019-07-08 23:09:34 +03:00
shindli
3836f557ea Backed out 3 changesets (bug 1561657, bug 1557857, bug 1562704) for causing Wr permafailures in z:/build/build/src/layout/base/nsCSSFrameConstructor.cpp:3962 CLOSED TREE
Backed out changeset 3fd103a9fce8 (bug 1557857)
Backed out changeset c4ffd7ba0442 (bug 1561657)
Backed out changeset 4b67dff062c6 (bug 1562704)
2019-07-08 22:56:35 +03:00
Gregory Mierzwinski
89a3cf398b Bug 1561729 - Add unit tests for android power measurement parsing. r=perftest-reviewers,rwood
This patch adds three unit tests (in one file) to the set of the raptor tests. The tests include (i) an Android 8 power parsing test, (ii) an android 7 power parsing test, and (iii) a test for android OS baseline parsing (tested using android 8 data).

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

--HG--
extra : moz-landing-system : lando
2019-07-08 18:30:00 +00:00
Jonathan Kew
da0f34be06 Bug 1554208 - patch 6 - Add PSName and FullName support to gfxFT2FontList shared font-list initialization, so that src:local() lookups will work. r=jwatt
And with this, all tests pass on tryserver when the shared list is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 19:47:17 +00:00
Jonathan Kew
d45e85e785 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-08 19:47:03 +00:00
Jonathan Kew
7a6bb0577c 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-08 19:46:44 +00:00
Jonathan Kew
920998b64e 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-08 19:46:30 +00:00
Jonathan Kew
8b058ab5a1 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-08 19:46:16 +00:00
Jonathan Kew
192c1d4cb4 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-08 19:46:01 +00:00
Jonathan Kew
1e08aef182 Bug 1560437 - Ignore font.system.whitelist if no whitelisted fonts are found. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D35499

--HG--
extra : moz-landing-system : lando
2019-06-30 01:35:29 +00:00
Jonathan Kew
4650cbd942 Bug 1559044 - Improve criteria for deciding whether to kick off download of a @font-face resource, so that we don't defer resources that will actually be needed. r=heycam
The original patch in bug 1422530 checked whether we're currently hiding a given piece of text
because we're waiting for a resource to download, and used this as a signal that we should not
initiate another download.

However, that's not really a good criterion to use when we're doing font selection for a given
character, both because it's an indirect signal -- whether painting the text is suppressed will
depend on timing and the font-display property -- and because it doesn't consider whether any
resource that's already being downloaded will actually be relevant for the specific character
we're trying to display.

So this patch instead checks for a relevant in-progress load earlier in the font list during
the specific FindFontForChar call, so that when unicode-range is used to split a font across
multiple subsets, an in-progress load for one subset won't make us defer the downloads of other
subsets if they are also needed for the characters present in the text.

With this, the repeated blinking no longer happens on the site here, as loading of all the
required font subsets is initiated early.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 15:14:24 +00:00
Jonathan Kew
be09c8f61c Bug 1421938 - Add WPT reftests for nested quotes and 'auto' behavior. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D37158

--HG--
extra : moz-landing-system : lando
2019-07-08 12:13:28 +00:00