Commit Graph

64491 Commits

Author SHA1 Message Date
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
Andrea Marchesini
7ba8b77e07 Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot
This patch splits FontTableURI and BlobURL in 2 classes:
FontTableURIProtocolHandler and BlobURLProtocolHandler
both under mozilla::dom.

It also removes a memory reporter because that report is already covered by the
BlobURL one.

--HG--
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/file/BlobURLProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/file/BlobURLProtocolHandler.h
2018-06-02 15:51:42 +02:00
Jonathan Watt
cb1e759fc3 Bug 1466004 part 1 - Flush layout when script asks for document.fonts.ready. r=heycam 2018-05-14 14:53:25 +01:00
Peter Van der Beken
0dbc31467c Bug 1451973 - Split off process from non-process message managers. r=bz.
Process and non-process managers have different script loader interfaces
(ProcessScriptLoader/GlobalProcessScriptLoader vs FrameScriptLoader). The WebIDL
conversion used the same interface for some process and
non-process managers, but because of the different script loader interfaces they really
should be using separate interfaces.

--HG--
rename : dom/base/ChromeMessageBroadcaster.cpp => dom/base/MessageBroadcaster.cpp
rename : dom/base/ChromeMessageBroadcaster.h => dom/base/MessageBroadcaster.h
rename : dom/base/ChromeMessageBroadcaster.cpp => dom/base/ParentProcessMessageManager.cpp
rename : dom/base/ChromeMessageBroadcaster.h => dom/base/ParentProcessMessageManager.h
rename : dom/base/ChromeMessageSender.cpp => dom/base/ProcessMessageManager.cpp
rename : dom/base/ChromeMessageSender.h => dom/base/ProcessMessageManager.h
extra : rebase_source : c9b0c543f9f367535919a6c6840e5ba038023112
extra : histedit_source : 7749f98e11e25423fcf414cc1f0415104343798a
2018-04-16 15:18:48 +02:00
Emilio Cobos Álvarez
1e9c395548 Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
Same approach as the other bug, mostly replacing automatically by removing
'using mozilla::Forward;' and then:

  s/mozilla::Forward/std::forward/
  s/Forward</std::forward</

The only file that required manual fixup was TestTreeTraversal.cpp, which had
a class called TestNodeForward with template parameters :)

MozReview-Commit-ID: A88qFG5AccP
2018-06-02 09:33:26 +02:00
Boris Zbarsky
15b087c696 Bug 1465875 part 4. Eliminate random mentions of nsIDOMNSEditableElement. r=qdot 2018-06-01 22:35:23 -04:00
Boris Zbarsky
c7f378d7ab Bug 1465875 part 1. Eliminate pointless QIs to nsIDOMNSEditableElement. r=qdot
We expose the relevant APIs on textarea and input elements anyway
(chromeonly).  The QIs will throw on a non-input or non-textarea element, but
none of these consumers expect that to happen.
2018-06-01 22:35:22 -04:00
Gurzau Raul
8409fd4a82 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-02 05:12:32 +03:00
Gurzau Raul
b36972ff91 Backed out 7 changesets (bug 1461046) for permafailing reftest on /reftests/css-invalid/select/select-disabled-fieldset-1.html a=backout
Backed out changeset f5990eb1eb0d (bug 1461046)
Backed out changeset 8e0c340b9700 (bug 1461046)
Backed out changeset fbfe1d5b94e1 (bug 1461046)
Backed out changeset 48057a6ba3d6 (bug 1461046)
Backed out changeset 5c8648bcf6bb (bug 1461046)
Backed out changeset 157bbc74460a (bug 1461046)
Backed out changeset e990d4d07b0e (bug 1461046)
2018-06-02 05:07:03 +03:00
Cosmin Sabou
1bc774a842 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-01 12:44:57 +03:00
Cosmin Sabou
292d295d6b Merge inbound to mozilla-central. a=merge 2018-06-01 12:41:08 +03:00
Emilio Cobos Álvarez
fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Matt Woodrow
eed3fa7cdd Bug 1459670 - Add frame tracking for the nsDisplayTable* classes. r=miko 2018-06-01 14:33:15 +12:00
Matt Woodrow
a6cecda388 Bug 1464737 - Make nsDisplayPerspective simpler by using the transform frame as mFrame. r=miko
MozReview-Commit-ID: CDjdjE2xCzG

--HG--
extra : rebase_source : 1779b8c20ca8eca4b0859ebc638c4b5bdcbac28d
2018-06-01 14:15:36 +12:00
Noemi Erli
1fd69fa2bc Backed out 18 changesets (bug 1462784) for failures in devtools/client/performance/test/unit/test_tree-model-08.js on a CLOSED TREE
Backed out changeset a74d36598442 (bug 1462784)
Backed out changeset c8192175f360 (bug 1462784)
Backed out changeset cde492240e99 (bug 1462784)
Backed out changeset 8c8d30fa406c (bug 1462784)
Backed out changeset ad3802ffb780 (bug 1462784)
Backed out changeset 2fe10732076c (bug 1462784)
Backed out changeset 268a72b7c3c4 (bug 1462784)
Backed out changeset 4055eb6c3bc6 (bug 1462784)
Backed out changeset 3901070e2e60 (bug 1462784)
Backed out changeset 2faf787fbbdf (bug 1462784)
Backed out changeset 8f06963c7c6f (bug 1462784)
Backed out changeset 036e6f64e224 (bug 1462784)
Backed out changeset e670f156a603 (bug 1462784)
Backed out changeset cd39588aece4 (bug 1462784)
Backed out changeset 2ac65d100fa2 (bug 1462784)
Backed out changeset ea05ff70a51d (bug 1462784)
Backed out changeset 8a06c0ba42f7 (bug 1462784)
Backed out changeset 52ed9a039ad2 (bug 1462784)
2018-06-01 01:06:29 +03:00
Ciure Andrei
c589c0dcc6 Backed out 1 changesets (bug 1465745) for perma failing reftests build/tests/reftest/tests/layout/reftests/text-stroke/webkit-text-stroke-property-002.html a=backout on a CLOSED TREE
Backed out changeset b1bfcdfb1799 (bug 1465745)
2018-06-01 03:50:14 +03:00
Noemi Erli
cb93f27a88 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-01 00:59:09 +03:00
Jonathan Kew
ad2647f459 Bug 1463115 - Try to skip irrelevant (collapsed/trimmed) whitespace when collecting used font faces for devtools inspector. r=jwatt 2018-05-24 14:44:09 +01:00
Kartikaya Gupta
609e6eca4d Bug 1465273 - Adjust fuzz lower bound by a pixel to fix intermittent pass. r=me 2018-05-31 15:04:34 -04:00
Daniel Holbert
47ef6a1664 Bug 1463599: Fix endline characters in contain-paint-stacking-context-001* test files. (no review, test-only & whitespace-only)
DONTBUILD

--HG--
extra : rebase_source : c2433e251f5ca860b293ba3d50c57d52d5c0ec49
2018-05-31 11:18:17 -07:00
Ryan Hunt
e813f3da05 Bug 1465745 - Remove fails-if(release_or_beta) for some tests. r=jfkthame
These tests were marked as failing for release_or_beta so that POMTP
on unaccelerated windows could be enabled on nightly only. Now that
is riding the trains, these annotations need to go.

--HG--
extra : rebase_source : 83c64158dfcef605e14a7b9460f16391cc1de1bc
extra : amend_source : 6e912622c1c44733a2eb98e9e2e2a922569ed4eb
2018-05-31 09:38:58 -05:00
Mats Palmgren
9a0e86481c Bug 1462854 part 3 - [css-grid] Update reftest reference. 2018-06-02 00:08:26 +02:00
Mats Palmgren
79a2430c01 Bug 1462854 part 2 - [css-grid] Handle [max-]width/height percentages in min-size contributions according to spec. r=dholbert
Background:
https://github.com/w3c/csswg-drafts/issues/2674

calc() percentages for replaced boxes are still not according to spec.
Bug 1463700 will fix that.
2018-06-02 00:08:26 +02:00
Mats Palmgren
2a43b97af6 Bug 1462854 part 1 - Factor out "percentage on replaced box that should resolve against zero" test (idempotent patch). r=dholbert 2018-06-02 00:08:26 +02:00