Commit Graph

64532 Commits

Author SHA1 Message Date
Narcis Beleuzu
2783aa1322 Merge inbound to mozilla-central. a=merge 2018-06-06 12:36:55 +03:00
arthur.iakab
fade8462cb Merge mozilla-central to inbound on a CLOSED TREE 2018-06-06 01:10:33 +03:00
arthur.iakab
fd0ee7c9b8 Merge inbound to mozilla-central a=merge 2018-06-06 00:58:30 +03:00
Mats Palmgren
81f9403270 Bug 1465290 part 3 - [css-grid-2] Add frame bits to nsGridContainerFrame that are set if it has an item that is a subgrid in that axis. r=dholbert 2018-06-05 21:46:28 +02:00
Mats Palmgren
1bc6740ba2 Bug 1465290 part 2 - [css-grid-2] Add bits to the GridItemInfo state that are set if the item is a subgrid in the container's axis. r=dholbert 2018-06-05 21:46:28 +02:00
Mats Palmgren
59ec467d3a Bug 1465290 part 1 - [css-grid-2] Add frame bits to nsGridContainerFrame that is set if it's a subgrid in an axis. r=dholbert 2018-06-05 21:46:28 +02:00
Boris Zbarsky
0ee5c15150 Bug 1466673 part 5. Remove the nsITreeColumns interface. r=mossop 2018-06-05 13:30:17 -04:00
Boris Zbarsky
d20d5e61f5 Bug 1466673 part 4. Stop using nsITreeColumns in various other C++ code. r=mossop 2018-06-05 13:30:17 -04:00
Boris Zbarsky
362122ad32 Bug 1466673 part 2. Remove use of nsITreeColumns in other xpidl interfaces. r=mossop 2018-06-05 13:30:17 -04:00
Boris Zbarsky
d6c3dd9961 Bug 1466673 part 1. Mark nsITreeColumns builtinclass. r=mossop
There are no JS implementors.
2018-06-05 13:30:17 -04:00
Boris Zbarsky
fb69fccb09 Bug 1466643 part 2. Remove nsITreeContentView. r=mosssop 2018-06-05 13:30:17 -04:00
Boris Zbarsky
195b295697 Bug 1466643 part 1. Mark nsITreeContentView builtinclass. r=mossop
There are no JS implementations that I can see, but this will get us nicer bisectability if it turns out I'm wrong.
2018-06-05 13:30:17 -04:00
Markus Stange
1a2b4adf51 Bug 1466695 - Don't use fallback for invisible outlines. r=Gankro
MozReview-Commit-ID: HnNWbew9rwh

--HG--
extra : rebase_source : 88f937b21a5b61da534a3648374bff607e0866a9
2018-06-04 18:11:18 -04:00
Jonathan Watt
4963d6e99c Bug 1465983 part 3 - Fix the use of Promise.then() in test_font_loading_api.html. r=orange 2018-05-22 19:30:35 +01:00
Emilio Cobos Álvarez
d340d64a61 No bug - Fix some comment and indentation typos in RestyleManager. r=me
MozReview-Commit-ID: Bnsl8vhpr28
2018-06-05 17:18:06 +02:00
Jonathan Watt
f2e51eedfa Bug 1465983 part 2 - Don't resolve FontFaceSet's ready promise in its constructor. r=heycam 2018-05-22 12:53:11 +01:00
Jonathan Watt
c9ad9a1bd6 Bug 1465983 part 1 - Fix race in test_font_loading_api.html. rs=heycam
This patch changes 'TEST 3' so that instead of testing that all the
documents' document.fonts.ready Promises are resolved at a certain time, that
instead it just waits for them to resolve and then checks that they resolved
to the correct object.

The test previously assumed that calling SpecialPowers.pushPrefEnv on the
page's 'load' and waiting for pushPrefEnv's callback would be enough time
for document.fonts.ready to have been resolved for the top-level document and
all of its frames.  That is not necessarily the case.  Even the Promise in the
top-level document itself is not guaranteed to have resolved by that point.
The Promises will not have been resolved at least until style and layout has
been flushed, and in fact in Mozilla's implementation it frequently won't
happen until the first refresh driver tick after layout has finished.  The
result of this is that the CI machine 'Linux x64 QuantumRender opt' was
failing 'TEST 3' intermittently.
2018-05-22 12:46:18 +01:00
Emilio Cobos Álvarez
f46383f8bd Bug 1466656: Make ErrorReporter a smaller Rust type. r=heycam
And use the C++ ErrorReporter only to actually output errors.

ErrorReporter was so complicated because well, it was always enabled and had to
do a bunch of caching to not be (more) slow.

But since bug 1452143 it's disabled by default, so we can simplify this setup a
lot.

Also while at it make the error reporting pref a static pref so that we don't
mutate globals from CSS parsing unless we're actually reporting errors.

MozReview-Commit-ID: AuIyvJwt7AU
2018-06-05 11:09:39 +02:00
Emilio Cobos Álvarez
bb628e2970 Bug 1466406: Work around a bindgen bug on Android. r=xidorn
MozReview-Commit-ID: 2lltjH7IoZu
2018-06-05 01:57:31 +02:00
Jason Kratzer
8f763bb1b1 Bug 1340571 - Add crashtest. r=me DONTBUILD 2018-06-05 01:46:06 +02:00
Jason Kratzer
8d1d85b0d8 Bug 1423216: Crashtest. r=emilio
MozReview-Commit-ID: 3NSEoFdI1XG
2018-06-05 01:14:27 +02:00
Daniel Holbert
f1d17dbb67 Bug 1406252: Add crashtest. (test-only)
This testcase used to fatally assert, but doesn't anymore. Hooray!
Let's keep it that way.

--HG--
extra : rebase_source : dad40f528fc56b0d8c4430053d87fbbc4873fe40
extra : amend_source : 8417dcfd116303645fe3d2825e94d2ddf5c3123d
2018-06-04 15:34:44 -07:00
Mats Palmgren
680ca035e7 Bug 1464883 - [css-grid] Remove a redundant ResolveGapToLength call. r=dholbert
mGridGap is already initialized in nsGridContainerFrame::Tracks::Initialize.
2018-06-04 23:18:57 +02:00
Mats Palmgren
88c6f4d992 Bug 1464882 - [css-grid] Pass the content size relevant for the specific axis rather than requiring both only to discard one value. r=dholbert 2018-06-04 23:18:56 +02:00
Dorel Luca
535f1df913 Merge mozilla-central to mozilla-inbound 2018-06-04 21:48:29 +03:00
Dorel Luca
746fbfe0a7 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-04 21:11:34 +03:00
Boris Zbarsky
f550c5b2d0 Bug 1466298 part 1. Switch the geolocation service to using a singleton constructor. r=mccr8 2018-06-04 12:41:01 -04:00
Ryan Hunt
a6387dea53 Bug 1465745 - Fix reftest annotations for text-stroke now that POMTP is riding the trains. r=jfkthame
--HG--
extra : rebase_source : 8e8d17afadd6f62a338f48e8496f921b38bf5138
2018-06-01 09:00:07 -05:00
Emilio Cobos Álvarez
64d52f8175 Bug 1288572: Update test expectations. r=xidorn
MozReview-Commit-ID: DubkcRaaD4C
2018-06-04 15:56:01 +02:00
Emilio Cobos Álvarez
b09a776796 Bug 1288572: Don't hide -moz-box / -moz-inline-box yet. r=mats
I'd really prefer to not land this patch, but...

MozReview-Commit-ID: HzmvhTd32gz
2018-06-04 15:55:59 +02:00
Emilio Cobos Álvarez
ef20196c9a Bug 1288572: Hide -moz- display values from content behind a pref. r=xidorn
MozReview-Commit-ID: HDQPub043H1
2018-06-04 15:55:58 +02:00
Emilio Cobos Álvarez
ac1d879bce Bug 1419695: Remove some unused style struct setters. r=xidorn
MozReview-Commit-ID: Lx9yLjb8ddB
2018-06-04 15:55:54 +02:00
Emilio Cobos Álvarez
7e9ae6f96f Bug 1419695: Hide multiple -moz-window-* properties from content. r=xidorn
MozReview-Commit-ID: Jsqt3kqjPiq
2018-06-04 15:55:52 +02:00
Emilio Cobos Álvarez
552c62240b Bug 1419695: Allow transitioning chrome-only properties, as long as they're specified as a longhand. r=xidorn
MozReview-Commit-ID: 4hQfYbhxeq7
2018-06-04 15:55:51 +02:00
Emilio Cobos Álvarez
eef329bf9f Bug 1419695: Make the transition-property code make more sense. r=xidorn
We were working around the lack of alias support during parsing in
TransitionProperty by doing a Gecko lookup. That's a hack and is now gone.

MozReview-Commit-ID: EptUvJNTrZr
2018-06-04 15:55:50 +02:00
Emilio Cobos Álvarez
29985b3f24 Bug 1449243: Remove invalid assertion. r=me
We can look at stale styles while trying to figure out if we need any
invalidation, and that's ok.

MozReview-Commit-ID: 4mBIFNm9qJv
2018-06-04 14:51:47 +02:00
Jonathan Watt
81fa515ba7 Bug 1466432 - Make sure the document.fonts.ready Promise resolves even when there's no refresh driver. r=heycam 2018-05-18 20:39:11 +01:00
Jonathan Watt
6d4c239fd8 Bug 1466431 - Fix resolving of the document.fonts.ready Promise for documents that never load fonts. r=heycam 2018-05-18 12:45:18 +01:00
Jonathan Watt
28123a9dcb Bug 1465997 - Don't replace FontFaceSet's ready Promise when it's pending. r=heycam 2018-05-17 19:09:42 +01:00
Kartikaya Gupta
ea2d83d47e Bug 1465058 - Update reftest annotations for WR PR 2784. r=Gankro
MozReview-Commit-ID: F3YX2m6Z2UP

--HG--
extra : rebase_source : 3f1c36583a760a7c420e9728247830b8cbead538
2018-06-04 10:54:03 -04:00
Miko Mynttinen
4c85ef17cc Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab
7e765f798b Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4 Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Miko Mynttinen
9e0fa68289 Bug 1465118 - Part 4: Cache inverted transformation matrix for nsDisplayTransform r=mattwoodrow
MozReview-Commit-ID: H1b2oRCFkjZ

--HG--
extra : rebase_source : d7f9bf13c63f3418225dd48ebc6d34a465775992
2018-05-29 17:48:59 +02:00
Miko Mynttinen
d7c986461e Bug 1465118 - Part 3: Use Maybe<T> to cache transformation matrix r=mattwoodrow
MozReview-Commit-ID: 1oBc77ijXcv

--HG--
extra : rebase_source : a11a54ba3dc660c5f23cc310b0eae8c36aa9ee06
2018-05-29 15:07:43 +02:00
Miko Mynttinen
445dc3332d Bug 1465118 - Part 2: Remove unused nsDisplayTransform contructor r=mattwoodrow
MozReview-Commit-ID: 9kRBP6aQUcD

--HG--
extra : rebase_source : aed5f5051635330612901f6c06a90b12e65738ea
2018-05-29 15:07:10 +02:00
Miko Mynttinen
105dea894f Bug 1465118 - Part 1: Disable broken nsDisplayTransform::IsUniform() logic to avoid unnecessary work r=mattwoodrow
MozReview-Commit-ID: EuoSzUr1A9A

--HG--
extra : rebase_source : 68fa9f8d156b3751968ee9cf9440ad210a1be834
2018-05-29 00:36:12 +02:00
Andreea Pavel
4ced6e8b2d Merge mozilla-central to autoland. a=merge 2018-06-03 07:27:01 +03:00
Mats Palmgren
8f2a5e19c9 Bug 1466330 - Make nsITheme::GetWidgetBorder return the border directly instead of using an out-param (idempotent patch). r=emilio 2018-06-02 19:10:48 +02:00
Andrea Marchesini
d13a49eca5 Bug 1466023 - nsHostObjectURI renamed BlobURL, r=qdot
--HG--
rename : dom/file/nsHostObjectURI.cpp => dom/file/BlobURL.cpp
rename : dom/file/nsHostObjectURI.h => dom/file/BlobURL.h
2018-06-02 15:51:42 +02:00