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

60711 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 6c660646ad Bug 1324684: Remove stale crashtest annotations. r=me
MozReview-Commit-ID: 4wwGkefTWC3
2017-10-04 11:38:12 +02:00
Emilio Cobos Álvarez 808664591f Bug 1404324: Mark one of the test-cases as known-asserting until we figure out what to do with that assertion. r=me
MozReview-Commit-ID: 7RI7dwRSFkH
2017-10-04 11:36:20 +02:00
Sebastian Hengst 8512b78e41 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-04 11:18:02 +02:00
Sebastian Hengst 5e0b457b10 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EVLGo1zCANb
2017-10-04 11:13:24 +02:00
Emilio Cobos Álvarez 660ab8f549 Bug 1404324: Use the placeholder state to remove out-of-flows that aren't real descendants of the destruction root. r=bz
Using the style of the frame can mess things up when we reparent them due to
::first-line before removing them.

MozReview-Commit-ID: 3Dt0wF2XRAH
2017-10-04 10:49:41 +02:00
Sebastian Hengst 0ba56b9c7d Backed out changeset cb247c8a0fe5 (bug 1404324) for landing with wrong commit message. r=backout 2017-10-04 10:48:14 +02:00
Emilio Cobos Álvarez ae652b0b37 Bug 1404324: Always remove out of flows from the placeholder frame, using its info. r=bz
MozReview-Commit-ID: 3Dt0wF2XRAH
2017-10-04 10:38:34 +02:00
Boris Zbarsky 4f26cd362a Bug 1402766. Work around layout violating its own invariants and causing stylo code to crash. r=emilio
MozReview-Commit-ID: 3ggJI0qmOJV
2017-10-03 18:50:10 -04:00
Xidorn Quan 0f0bb7e74c Bug 1404179 - Prepend rather than append frames from overflow list of prev-in-flow for ruby frames. r=dholbert
MozReview-Commit-ID: 1xUEf1S6GEK

--HG--
extra : rebase_source : d4aba39066b147ce0bcbe736b6e936676861c7db
2017-10-03 16:19:41 +11:00
Wes Kocher 9e15b5649f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 43R3aNMoMyN
2017-10-03 14:58:01 -07:00
Kartikaya Gupta 9493b267c7 Bug 1403915 - Remove some leftover painting callback goop. r=jrmuizel
MozReview-Commit-ID: BycK4Ug1sgm

--HG--
extra : rebase_source : 6fa5a8da45a75ec4ed1d5a7b55cf95671845bd05
2017-10-03 16:31:08 -04:00
Kartikaya Gupta 2f1948343f Bug 1403915 - Remove the WebRender*Layer classes and functions that refer to them. r=jrmuizel
MozReview-Commit-ID: 2syFwMc7j3r

--HG--
extra : rebase_source : 9a3852506820eb09328d91007581d74786eba9b0
2017-10-03 16:31:08 -04:00
Kartikaya Gupta dbe077b3f1 Bug 1403915 - Remove the IsLayersFreeTransaction() machinery and assume it's always true. r=jrmuizel
MozReview-Commit-ID: 7FYVirQ5pal

--HG--
extra : rebase_source : 4b33fba54776003b4f0d45b89be07916db1f2340
2017-10-03 16:31:07 -04:00
Kartikaya Gupta 31daec89c0 Bug 1403915 - Remove the layers-free pref entirely and assume it's true at the call sites. r=jrmuizel
MozReview-Commit-ID: 7tLxaBGiE4R

--HG--
extra : rebase_source : 2d2596677ad822eb829c73c7ea90bc76aed871a7
2017-10-03 16:31:07 -04:00
Jeff Muizelaar 5baca5e314 Bug 1404955 - Use ComplexClipRegion instead of WrComplexClipRegion. r=kats
cbindgen will let us do this now.
2017-10-03 18:11:14 -04:00
Bobby Holley cb4c93bfd6 Bug 1403397 - Revert: Round hashglobe allocations up to the nearest page size. r=bholley
This reverts commit a4aba77facc8ceab1e0d7f7d796075a6606b15c6.

MozReview-Commit-ID: 7quMDoDmqxL
2017-10-03 14:07:05 -07:00
Bobby Holley ce4c83e27d Bug 1403397 - Revert: Protect the hashmaps outside of rebuilds. r=bholley
This reverts commit 80a3d080ad6f6ae8641443ba08e11a6e9eed260a.
2017-10-03 14:05:57 -07:00
Bobby Holley ef26283b2d Bug 1403397 - Revert: Add a testing API. r=bholley
This reverts commit 4194b7dd8ec748c044a9b8b0967fd9d652ea342c.
2017-10-03 14:05:56 -07:00
Andrew Halberstadt 6b65448914 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : b81ab806cd2455f4e4fc761863fe699feadd0bb5
2017-09-26 10:47:22 -04:00
Ethan Lin 6c6b68f2e7 Bug 1404091 - Re-enable some skip-if and random-if tests after the fix. r=kats
MozReview-Commit-ID: 6gFLZWi0p4b

--HG--
extra : rebase_source : df2013e00b5eacea450d161a000b9e6bfe5c1e07
2017-10-02 22:51:03 +08:00
Ethan Lin 2a82b402b3 Bug 1404091 - In layers-free mode, we should do NotifyInvalidation after EndTransaction if there is any scheduled flush. r=kats
MozReview-Commit-ID: D0LNF0LgWYq

--HG--
extra : rebase_source : e005389de5d2b2b9e0a8ecf5b4de58ae7f9f21a9
2017-10-03 16:00:38 +08:00
Ethan Lin 1a723a8e5b Bug 1404782 - Update reftest annotation after the fix. r=mattwoodrow
MozReview-Commit-ID: E7ux1PWIkVk

--HG--
extra : rebase_source : 1513f49210700518b98226a3bda1cd140255cf87
2017-10-02 17:45:13 +08:00
Sebastian Hengst 9a0edde0b2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IRW0W7LuIM7
2017-10-03 11:43:52 +02:00
Wes Kocher 2364d1a8d8 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4ZKbmMi1U80
2017-10-02 16:23:14 -07:00
Timothy Nikkel 3ca5249135 Bug 1364295. Simplify some code now that we don't create displayports during display list building. r=mstange 2017-10-02 16:00:16 -05:00
Marina Samuel 8991d65dea Bug 1403695: Send a generic health telemetry ping through Ping Centre for Activity Stream. r=k88hudson
MozReview-Commit-ID: CJGX1aihFuV

--HG--
extra : rebase_source : ea28a8ec1c16e95ce55cdd8b37e9d2c4c3abf5cd
2017-09-27 16:29:06 -04:00
Alexis Beingessner b5bacff9f8 Bug 1404370 - TextDrawTarget: add fallbacks for remaining cases, remove some hacks. r=jrmuizel
This adds fallbacks for:
* synthetic bold
* synthetic italics
* text-writing-modes

This also removes an old hack to make synthetic italics less broken.

This also prevents special opacity handling for color fonts so that webrender
gets that information.

MozReview-Commit-ID: DKiTUBR6hzy

--HG--
extra : rebase_source : 22b445d40ee46bb09d4325828a8e959d3da7a9c7
2017-09-29 12:05:34 -04:00
Louis Chang d9d121a677 Bug 1400050 Part 2 - Add test case for testing clamping issue of checkbox/radio. r=mats
MozReview-Commit-ID: BJgK4E3dOsi

--HG--
extra : rebase_source : 52aae08c37c89a8fbdcf0d40d5d37fe21c50271b
2017-10-02 16:04:32 +08:00
Arthur Edelstein 9ce6189199 Bug 1404572 - Fix ubsan runtime error for ReferrerPolicy enum in FontFaceSet.cpp. r=jfkthame 2017-09-30 21:52:00 -04:00
Arthur Edelstein 7d17fe867e Bug 1404570 - Fix ubsan runtime error for nsEventStatus enum in PresShell.cpp. r=smaug 2017-09-29 21:57:00 -04:00
Sebastian Hengst b1575a7d2b Backed out changeset ddfc127526b2 (bug 1403222) for failing python/mozbuild/mozbuild/test/frontend/test_reader.py::TestBuildReader::test_schedules, at least for Linux asan opt builds. r=backout on a CLOSED TREE 2017-10-02 16:03:12 +02:00
Andrew Halberstadt ef896de9c0 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : 6c456c91985f2006910bda66fdbc5d18e066d020
2017-09-26 10:47:22 -04:00
cku 8d819c132f Bug 1403057 - Early return if the scale vector is zero. r=mstange
MozReview-Commit-ID: 69X5mvG2UIj

--HG--
extra : rebase_source : 245aa5b9e39ce011c2d1c4e18e36a36539d2aad9
2017-10-02 14:38:09 +08:00
Kartikaya Gupta a8c7b2198d Bug 1403176 - Turn on empty transactions support in layers-free WebRenderLayerManager. r=mstange
By returning true from WebRenderLayerManager::EndEmptyTransaction, we
avoid doing a full paint in cases where the caller decides an empty
transaction would be sufficient. WebRenderLayerManager already rejects
attempts to set some forms of empty-transaction data (specifically
transform and scroll offset updates). This means that we will never get
a call to EndEmptyTransaction where the caller is expecting a transform
or scroll offset update to be sent over to the compositor. So if we have an
implementation of EndEmptyTransaction that ignores that data, it will not
break expectations.

There is still one piece of information that WebRenderLayerManager
doesn't reject in this manner, the APZ focus state. That is, if the
layout code sets a pending APZ focus state on the WRLM, followed by a
all to EndEmptyTransaction, it expects the focus state to get propagated
to the compositor. This patch makes sure that it does happen by using
the new API added in the previous patch.

MozReview-Commit-ID: 596UgW9ZWAF

--HG--
extra : rebase_source : e0f4f201a76747d6e29cde5da26fe760fd7f770b
2017-10-02 16:49:56 -04:00
Brad Werth 92f2dc2e2e Bug 1403694 Part 1: Prevent nsStyleSheetService from storing null servo stylesheets. r=xidorn
MozReview-Commit-ID: 2PxurAtACtd

--HG--
extra : rebase_source : 0d9f573cf3bcbb617f18d9e73179b357e26f01da
2017-09-28 16:45:09 -07:00
Cameron McCormack 6fdd311839 Bug 1404180 - Don't allow associating form elements by ID to <form>s across anonymous subtree boundaries. r=smaug
MozReview-Commit-ID: KRJjrkL4FgZ

--HG--
extra : amend_source : 80cd5e00804a8b2a5fd4e51b0f7ea9160dd63b1c
2017-10-02 13:10:18 +08:00
cku 170c0d4409 Bug 1404077 - Remove unnecessary gfxContext::Save/Load in nsTreeBodyFrame::PaintCell. r=mattwoodrow
Between this pair of gfxContext::Save/Load, only the draw calls of the
DrawTarget are called. Since  draw calls do not alter the content of a AureState,
we should just remove  this pair of Save/Load.

MozReview-Commit-ID: BexjGJkO77E

--HG--
extra : rebase_source : eda2795fb8993d578d6ecdca6df1c39fcc4073f0
2017-10-02 11:46:39 +08:00
Makoto Kato 376ad42ea3 Bug 1404178 - Fix some reftest conditions for Stylo on Android. r=heycam
Even if Stylo on Android, the following is successful.

- unit-vh-vw-overflow-scroll.html
- unit-vh-vw-overflow-scroll-x.html
- unit-vh-vw-overflow-scroll-y.html

- Although we use fails-if(stylo|styloVsGecko), since last condition is
fuzzy-if(Android,...), android's reftest uses fuzzy-if unfortunately.
We should modify fuzzy-if's order to pass reftest for Stylo on Android.

- input-transition-1.html

MozReview-Commit-ID: 12mRwJW67Nz

--HG--
extra : rebase_source : 1ffcfe7024846b65e3f0e5d9ad8a1053e66d9c86
2017-09-27 16:27:19 +09:00
Ting-Yu Lin 0407b6a507 Bug 1404243 Part 4 - Change StyleShapeSource's URL value storage by using nsStyleImage. r=heycam
This is for implementing shape-outside: <image> later.

MozReview-Commit-ID: 93TmLecRjRx

--HG--
extra : rebase_source : c2b39b1e12ef96e80a3ceb0a800767d379e6e6bb
2017-09-29 16:24:23 +08:00
Ting-Yu Lin d944131798 Bug 1404243 Part 3 - Remove refcount for StyleBasicShape, and use UniquePtr to hold it. r=heycam
After StyleBasicShape is set to StyleShapeSource, it's life cycle never go
beyond StyleShapeSource, so I make StyleBasicShape hold by a UniquePtr in
StyleShapeSource.

Also, replace all raw pointers to StyleBasicShape by UniquePtr in all APIs.

MozReview-Commit-ID: 1MfIFjP8TsQ

--HG--
extra : rebase_source : bdbbd47de57e0bc610e37913752ab8413f62588a
2017-09-25 18:50:24 +08:00
Ting-Yu Lin d8c9dae62b Bug 1404243 Part 2 - Change StyleShapeSource::operator==() to use logic in DefinitelyEquals(). r=heycam
The original operator==() (implemented by EqualsInternal<true>) is not been
used. Therefore, I expand EqualsInternal<false> into it, and move it to
nsStyleStruct.cpp.

Also, use DefinitelyEqualURIs() in nsStyleStruct.cpp in operator==().

MozReview-Commit-ID: HccwKvzQHR

--HG--
extra : rebase_source : f63dac121e13fd9c6dccf7f0c6e870bd75d9e03a
2017-09-29 14:36:35 +08:00
Ting-Yu Lin 5df24bad8e Bug 1404243 Part 1 - Move StyleShapeSource's large methods to nsStyleStruct.cpp. r=heycam
MozReview-Commit-ID: 5X5LGCSzSwX

--HG--
extra : rebase_source : 28e8a499184688f13069857b886306b3d9b3840f
2017-09-27 11:32:38 +08:00
Shih-Chiang Chien d19facee30 Bug 1381434 - off-main-thread loading web font r=heycam
MozReview-Commit-ID: 8PQdxK5K55

--HG--
extra : rebase_source : 2691c8dcfb9e49b670529526551c4ac0be271eb0
2017-09-29 10:10:13 +08:00
Bobby Holley df7054fd8e Bug 1404316 - Crashtest. r=me
MozReview-Commit-ID: LCbXnY8nqmJ
2017-10-01 14:08:20 -07:00
Sebastian Hengst eb2c50f444 Backed out changeset 325ab1b04aba (bug 1404316) 2017-10-01 10:07:12 +02:00
Bobby Holley cdba57eac5 Bug 1404316 - Crashtest. r=me
MozReview-Commit-ID: LCbXnY8nqmJ
2017-09-30 21:17:36 -07:00
Phil Ringnalda 7546edeeec Backed out 2 changesets (bug 1404316) for debug build bustage
Backed out changeset 555a9dafe460 (bug 1404316)
Backed out changeset e939fa11b68c (bug 1404316)

MozReview-Commit-ID: 5ek3To3HsWo
2017-09-30 21:09:30 -07:00
Bobby Holley b082b896b7 Bug 1404316 - Crashtest. r=me
MozReview-Commit-ID: LCbXnY8nqmJ
2017-09-30 20:02:43 -07:00
Ryan VanderMeulen 99cae4563d Backed out changeset 2ab5ef946a40 (bug 1406510) for test failures.
--HG--
extra : rebase_source : 936bc3f10b1c11ebcb722fe3047fc2f30f0a1b7c
2017-10-12 12:58:00 -04:00
Alexis Beingessner e95ab353d6 Bug 1406510 - rewrite TextDrawTarget to push directly into display list. r=jrmuizel
MozReview-Commit-ID: 7rPGlYmmgeg

--HG--
extra : rebase_source : 4b754ee3aea5f7cfb6bceb18447540d1a04da830
2017-10-06 13:06:10 -04:00
Kartikaya Gupta 055c3b2ba1 Bug 1407983 - Increase fuzz a bit more on WR-enabled reftest. r=Gankro
MozReview-Commit-ID: 85YOjWPNCq2

--HG--
extra : rebase_source : 4c722907e02f1722f276a798b2342839402f3e2e
2017-10-12 09:45:58 -04:00
Ethan Lin f9cf13cd75 Bug 1406306 - Part2. Update reftest.list after the fix. r=jrmuizel
MozReview-Commit-ID: ILxmYcbFFk1

--HG--
extra : rebase_source : 691c0f51be96eed6cf089daf052c5ea45ecb03a4
2017-10-06 15:39:51 +08:00
Markus Stange 4b4d6f1561 Bug 1402498 - Add ScrollAnimationMSDPhysics, can be enabled using general.smoothScroll.msdPhysics.enabled. r=rhunt
MozReview-Commit-ID: fr8Q9iod5k

--HG--
extra : rebase_source : b9113d40081371872deff6aade13fd226b3e72a9
2017-09-26 20:55:35 -04:00
Markus Stange c2ed209689 Bug 1402498 - Separate out ScrollAnimationBezierPhysics and make ScrollAnimationPhysics an interface. r=rhunt
MozReview-Commit-ID: K3b8vjY5xaO

--HG--
rename : layout/generic/ScrollAnimationPhysics.cpp => layout/generic/ScrollAnimationBezierPhysics.cpp
extra : rebase_source : e112a02b0ce40438375ff48e5bd1911a8ad4da3b
2017-09-29 18:37:14 -04:00
Markus Stange c4ba4ac85d Bug 1402498 - Clean up ScrollAnimationPhysics code after the separation. r=rhunt
MozReview-Commit-ID: Ldm96zHxqWD

--HG--
extra : rebase_source : c5e18772e07425e07221541761af01c55f9db782
2017-09-22 15:08:39 -04:00
Markus Stange 488f43bd92 Bug 1402498 - Rename AsyncScrollBase to ScrollAnimationPhysics and use composition instead of inheritance. r=rhunt
MozReview-Commit-ID: 7UFf0mZsrEr

--HG--
rename : layout/generic/AsyncScrollBase.cpp => layout/generic/ScrollAnimationPhysics.cpp
rename : layout/generic/AsyncScrollBase.h => layout/generic/ScrollAnimationPhysics.h
extra : rebase_source : 66cc26ef54b31d5cfe498d8f23bc678862423aa5
2017-09-22 13:42:29 -04:00
Markus Stange 8e7d24a02d Bug 1403697 - When restricting background colors to the background region, only use clips if we have rounded corners. r=mattwoodrow
MozReview-Commit-ID: F1ked65OBxA

--HG--
extra : rebase_source : 3ba3859da65d6be929821a7c13d47fd7c090b54e
2017-09-29 17:39:21 -04:00
Markus Stange 387bf73f2e Bug 1404137 - Fix unified-build problem in TextOverflow.cpp r=botond,Gankro
MozReview-Commit-ID: GuJp2rHuHXj

--HG--
extra : rebase_source : e194cb3bcb87997ebfb8c635e6d18caf950df091
2017-09-29 17:56:48 -04:00
Wes Kocher eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Wes Kocher 9345eb3842 Backed out changeset fbc75bbbebc1 (bug 1403697) for wptlint issues a=backout
MozReview-Commit-ID: 5gaaqSD7sUa
2017-09-29 11:20:24 -07:00
Wes Kocher 1c60b714fa Backed out changeset 35eef74c99f2 (bug 1404137) for windows build bustage a=backout
MozReview-Commit-ID: 7p79NTmrSSK
2017-09-29 11:18:12 -07:00
Markus Stange d70957bd08 Bug 1403697 - When restricting background colors to the background region, only use clips if we have rounded corners. r=mattwoodrow
MozReview-Commit-ID: F1ked65OBxA

--HG--
extra : rebase_source : a3fe97d550755f4a469bec923991f63becf5daed
2017-09-29 13:30:58 -04:00
Markus Stange 581a74f989 Bug 1404137 - Fix unified-build problem in TextOverflow.cpp r=Gankro
MozReview-Commit-ID: 3r2mkbZCprX

--HG--
extra : rebase_source : 3aabd01c29c92da0cbeac9818641992ed4928b83
2017-09-28 18:08:52 -04:00
Geoff Brown 308a809310 Bug 1403501 - Do not kill non-orphan xpcshell/ssltunnel; r=bc 2017-09-29 10:40:24 -06:00
Sebastian Hengst 5e8bacff75 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-29 13:32:19 +02:00
Sebastian Hengst 5253bb7207 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2gWLO0vz64b
2017-09-29 13:30:42 +02:00
Emilio Cobos Álvarez 78eab7101d Bug 1404167: Properly update the styles of first-letter childs of anon boxes. r=bz
MozReview-Commit-ID: Cyxs4FxGj6B
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-29 13:14:37 +02:00
Ethan Lin 7ca48488d9 Bug 1395501 - Part4. Update reftest annotations for new failures. r=kats
MozReview-Commit-ID: Eqajfc8MnRK
2017-09-29 12:09:52 +08:00
Ethan Lin 2f3f7c5cbd Bug 1395501 - Part3. Update reftest annotations for unexpected-pass tests. r=kats
MozReview-Commit-ID: 8QzoqnrxfhR
2017-09-29 12:09:51 +08:00
Ethan Lin 2902b1bde2 Bug 1395501 - Part1. Store inherited scale in stacking context. r=jrmuizel,kats
MozReview-Commit-ID: 6LsTJa05uFV
2017-09-29 12:09:51 +08:00
Sebastian Hengst 9aa7a73678 Backed out changeset 710b592482ee (bug 1404167) for asserting mOwner == ExpectedOwnerForChild(aFrame) at ServoRestyleManager.cpp:125. r=backout 2017-09-29 11:39:12 +02:00
Nazım Can Altınova 53bc8653d8 Bug 1396102 - Add some testcases to verify that we consistently serialize the default line directions in linear gradients (iff stylo is enabled) r=dholbert
We exclude these testcases from being tested under Gecko, because they fail some
mochitest checks for parse+serialize idempotence.  The failures happen because of
a combination of these factors:
 (a) Gecko's style system is inconsistent about whether an explicitly-specified
(but default) gradient direction should get serialized.
 (b) Gecko's style system is inconsistent about whether the vendor prefix is
preserved, when parsing a prefixed gradient.

Since these prefixed gradients aren't super-important and since Gecko's style-system
is being replaced via stylo, we're not bothering to fix the gecko style-system for
this -- we'll just make these tests stylo-specific.

MozReview-Commit-ID: 8lL1aRnDO2H

--HG--
extra : rebase_source : 86d5eab7097ebf39238859debc5ff5539cb2429a
2017-09-25 22:13:03 +03:00
Emilio Cobos Álvarez 6f5e0eacb8 Bug 1404167: Properly update the styles of first-letter childs of anon boxes. r=bz
MozReview-Commit-ID: Cyxs4FxGj6B
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-29 08:50:47 +02:00
cku 5e785e4fdd Bug 1373750 - Part 1. Except the bottom layer, recompute clip state of each mask layer by a clear clipState object. r=mstange
In nsCSSRendering::PaintStyleImageLayerWithSC, we reuse the same clip-state
object,  clipState, for all bg/mask layers. We hit this assertion if the
border-radius of previous one is not 0, but the the border-radius of the next
one is 0. In this condition, clipState.mHasRoundedCorners is false, but
clipState.mClippedRadii still stores border-radius information of the previous
layer.

MozReview-Commit-ID: KyxD0vPnMb9

--HG--
extra : rebase_source : 198c916c35ecd51a72dc3df83df43d6dc5f6424c
extra : source : e630c34a8b6397a3e8a08e57d400accff392e25f
2017-09-25 15:07:45 +08:00
Bobby Holley bd4be52f46 Bug 1403397 - Add a testing API. r=bz,r=Manishearth
This will allow us to verify the entire detection pipeline in real nightly
builds, which will give us confidence that real heap corruption will be
detected and reported properly.

MozReview-Commit-ID: 43Fp2HT8RYy
2017-09-28 18:23:15 -07:00
Bobby Holley 9163763885 Bug 1403397 - Protect the hashmaps outside of rebuilds. r=Manishearth,r=dmajor,r=ehoogeveen
MozReview-Commit-ID: KACmfw4pZY2
2017-09-28 18:23:13 -07:00
Bobby Holley 55e810d2cf Bug 1403397 - Round hashglobe allocations up to the nearest page size. r=Manishearth,r=dmajor
MozReview-Commit-ID: 34KFtcwCkBB
2017-09-28 18:23:11 -07:00
Wes Kocher 134e495909 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Wes Kocher 1674eb3e4f Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Andrew Halberstadt db3fb1fa34 Bug 1403983 - Fix reftest regression where screenshots aren't being output and add a test, r=jmaher
MozReview-Commit-ID: 8ZqmukDtWpO

--HG--
extra : rebase_source : 86544bda6e79e5e35444b4083e76d2cf8642c408
2017-09-28 12:26:51 -04:00
Ting-Yu Lin a19f7d8471 Bug 1401807 Part 3 - Use a local reflow status when reflowing nsVideoFrame's children. r=dholbert
This ensures the video frame's reflow status is not affect by its children's
reflow result.

MozReview-Commit-ID: 4WwLFyIyV4q

--HG--
extra : rebase_source : 1a2f4c4b4b6508dfda195bceef39a80f9093e117
2017-09-27 23:27:25 +08:00
Ting-Yu Lin 569e748c2f Bug 1401807 Part 2 - Add a crashtest. r=dholbert
MozReview-Commit-ID: 18oPdP1OplJ

--HG--
extra : rebase_source : 18452a683a1dfbcf612778da1287815553db8d20
2017-09-27 23:12:55 +08:00
Ting-Yu Lin 03b735b023 Bug 1401807 Part 1 - Give unconstrained block size when reflowing mPosterImage. r=dholbert
Also, added MOZ_ASSERT to ensure all the video frame's children are fully
complete after reflowing (except for the mVideoControls special case on
Android).

This fixed aStatus.IsEmpty() assertion for the test case added in Part 2.

MozReview-Commit-ID: HKze4EZoaJY

--HG--
extra : rebase_source : d695ee3a7c884450ba7dd9da41e14ab3621c89ed
2017-09-27 23:04:42 +08:00
Kartikaya Gupta 922c91a3bb Bug 1359242 - Update reftest annotations. r=jrmuizel
MozReview-Commit-ID: 7l9eWfzWhw5

--HG--
extra : rebase_source : 4e9fc023a18c8f427e36e737dcc1ab6ad830d5cc
2017-09-28 10:40:08 -04:00
Sebastian Hengst f9569348f8 Backed out changeset a505b6b021dd (bug 1395501) for Windows bustage at gfx/layers/wr/StackingContextHelper.cpp(94). r=backout 2017-09-28 16:36:49 +02:00
Sebastian Hengst 553f43c688 Backed out changeset 75f20de3a189 (bug 1395501) 2017-09-28 16:36:10 +02:00
Sebastian Hengst 10e13858b9 Backed out changeset dccc79e2b399 (bug 1395501) 2017-09-28 16:36:04 +02:00
Manish Goregaokar f1f5fc7cf5 Bug 1403808 - Move mFrameRefCount to GeckoStyleContext; r=emilio
MozReview-Commit-ID: 3ZlvXVlgR6i

--HG--
extra : rebase_source : bbebcfd58f6423c966ca9e0dad1adbed31895c84
2017-09-27 20:22:52 -07:00
Ethan Lin d0e4ce4bae Bug 1395501 - Part4. Update reftest annotations for new failures. r=kats
MozReview-Commit-ID: Eqajfc8MnRK

--HG--
extra : rebase_source : 72cdd11fb3113d40e0a172d0477397d19abad4aa
2017-09-28 17:52:43 +08:00
Ethan Lin 81d80078ea Bug 1395501 - Part3. Update reftest annotations for unexpected-pass tests. r=jrmuizel,kats
MozReview-Commit-ID: 8QzoqnrxfhR

--HG--
extra : rebase_source : 6876408907e440ce43a2fb195da81648873988e7
2017-09-28 15:54:36 +08:00
Brad Werth 5cbceefab7 Bug 1396151: Remove fuzzy on macOS for backgr_layers-opacity.html -- no longer needed. r=xidorn
MozReview-Commit-ID: KTuKUZDVsDm

--HG--
extra : rebase_source : e3ddacf4daf37eb0a1822c3e5499c2b8a2c8056c
2017-09-26 12:25:29 -07:00
J. Ryan Stinnett 521920fe39 Bug 1403465 - Crashtest. r=emilio
MozReview-Commit-ID: 9jYSE2oErnH
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-29 00:05:58 +02:00
Emilio Cobos Álvarez 0d24ce4b72 Bug 1403712: Crashtest. r=bholley
MozReview-Commit-ID: DtOKa8V4deq
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 22:24:56 +02:00
Stone Shih e628cf64e9 Bug 1316251 Part3: Trigger pointer event implementation in EventStateManager. r=masayuki
To manage pointer event "state" in ESM.

MozReview-Commit-ID: HiAwvSmVTwx
2017-09-08 11:01:22 +08:00
Ethan Lin 996d6f7e8d Bug 1395501 - Part1. Store inherited scale in stacking context. r=jrmuizel,kats
MozReview-Commit-ID: 6LsTJa05uFV

--HG--
extra : rebase_source : e9c026cbe1eb67bea3c5c041b801a3f8168a65de
2017-09-07 16:35:06 +08:00
Andrew Halberstadt 35b752c904 Bug 1403325 - Use a single --sandbox-read-whitelist argument in mochitest and reftest, r=Alex_Gaynor
The main bug this fixes is that on reftest, the objdir needs to be added to the
whitelist on Windows. However, this only happens when running on Linux for some
reason.

Changing the --work-path and --obj-path arguments to --sandbox-read-whitelist
was more of a drive-by cleanup than anything necessary.

MozReview-Commit-ID: Dq8ZLETMzeM

--HG--
extra : rebase_source : 3d2cdda125205e76f86235eb373074899fe0789a
2017-09-26 16:36:43 -04:00
Emilio Cobos Álvarez 371f0cc42f Bug 1396073: Simplify and remove some more code. r=xidorn
MozReview-Commit-ID: Ec9pfQw7U6W
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 12:26:44 +02:00
Emilio Cobos Álvarez b550117c8d Bug 1396073: Remove some never matching rules for applet. r=xidorn
MozReview-Commit-ID: HSSiPWA0RjI
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 12:26:34 +02:00
Emilio Cobos Álvarez 88eef10615 Bug 1396073: Remove :-moz-empty-except-children-with-local-name. r=xidorn
<applet> is not a thing anymore, and that selector in our UA sheet will never
match anyway, since an <applet> element will never have the BROKEN state.

MozReview-Commit-ID: 7UOMKOv55uJ
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 12:26:26 +02:00
Emilio Cobos Álvarez d3c613dea4 Bug 1396073: Hide :-moz-devtools-highlighted from anywhere but UA sheets. r=xidorn
It's always used from a UA sheet already.

MozReview-Commit-ID: J3poQuTD1C7
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-09-28 12:26:18 +02:00
Sebastian Hengst 974df9b9e8 Backed out changeset 6a527c7a89a0 (bug 256180) 2017-09-28 11:30:38 +02:00
Sebastian Hengst 5573e8270f Backed out changeset 0ce8d073a16e (bug 256180) 2017-09-28 11:30:33 +02:00
Stone Shih 9ea2b881c8 Bug 1316251 Part2: Revise pointer event implementation. r=masayuki
Revise the pointer event implementation, includes
- Revise the implementation to fetch preference values.
- Separate the logic to get the pointer capturing frame to PointerEventHandler.

MozReview-Commit-ID: 7pdAr0XFNT2
2017-09-06 17:28:28 +08:00
Stone Shih a1d26ab3b4 Bug 1316251 Part1: Separate pointer event implementation from PresShell. r=masayuki
This patch moves pointer event related implementations to a new class.

MozReview-Commit-ID: FdBYl7vYC5I
2017-09-06 15:47:49 +08:00
Boris Zbarsky c842174571 Bug 1402218. Make sure to clone our CSSDeclaration as needed when removing properties. r=emilio
MozReview-Commit-ID: 6LRjLU3QQok
2017-09-28 22:04:34 -04:00
Boris Zbarsky 4f6bea99ba Bug 1403293. Make sure that anonymous table columns and column groups never affect hit testing. r=heycam
Per spec, these boxes shouldn't even exist.

MozReview-Commit-ID: 9tQdqSgXg76
2017-09-28 22:03:54 -04:00
Wes Kocher 253017b382 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9qR4QYHAi2x
2017-09-28 17:08:09 -07:00
Xidorn Quan 75f4e122c9 Bug 1401420 part 5 - Add crashtest for this bug. r=dholbert
MozReview-Commit-ID: 6U9aUdoj4n9

--HG--
extra : source : 163fe606a34732b4347e56ba15d9d637d63bde10
2017-09-29 08:36:36 +10:00
Xidorn Quan 06ddedaf53 Bug 1401420 part 4 - Have ruby frames only push children to overflow list, and reparent floats when adopting children from prev-in-flow. r=dholbert
MozReview-Commit-ID: JmAhY4WnHRV

--HG--
extra : source : 2e38f77752cdbd96c41b39dfac858057aca38924
2017-09-29 08:36:36 +10:00
Xidorn Quan 49586f2e2e Bug 1401420 part 3 - Add nsContainerFrame::PushChildrenToOverflow. r=dholbert
MozReview-Commit-ID: 80kFIJEQjLC

--HG--
extra : source : 8a9c4d3546e36b16b0519c3e171eaf7f395f0a25
2017-09-29 08:36:36 +10:00
Xidorn Quan e8f82c139a Bug 1401420 part 2 - Remove some duplicate function comment from nsContainerFrame. r=dholbert
MozReview-Commit-ID: 197O996oujk

--HG--
extra : source : a210fe66ace0ac58b8e9e0564b9853f7542c2464
2017-09-29 08:36:36 +10:00
Xidorn Quan a431f4013b Bug 1401420 part 1 - Move ReparentFloatsForInlineChild from nsInlineFrame to nsContainerFrame. r=dholbert
So that ruby base/text container can use it.

MozReview-Commit-ID: 1YrWJZKMk7J

--HG--
extra : source : 6e51026558ea6f8b6057c98332deb6636ae320a3
2017-09-29 08:36:36 +10:00
Emilio Cobos Álvarez c3d1112763 Bug 1407952: Use stylo for Element::Closest. r=heycam
MozReview-Commit-ID: 3H2piFT2CfF

--HG--
extra : rebase_source : 8e66d9bb15e91412431178324b37c94fbc20b773
2017-10-12 11:42:17 +02:00
Phil Ringnalda 5406c7c332 Backed out changeset 3cf260e1fb9c (bug 1405349) for Win7 reftest OOMs
MozReview-Commit-ID: 3Ac3gAYdWd0
2017-10-13 07:43:51 -07:00
Andrew Halberstadt fb43663719 Bug 1405349 - [reftest] Refactor manifest parsing from reftest.jsm to standalone module, r=jmaher
There are two motivations for this change.

First, reftest.jsm has become very large and monolithic. It has lots of global
state and is hard to modify without breaking something. This change is a first
attempt at dividing reftest.jsm into multiple standalone(ish) modules. This
will make it easier to comprehend and extend.

Second, we'd like to implement "run-by-manifest" mode for reftest. This means
we'll restart the browser between each manifest run. This means much of the
state which is normally stored in global variables in reftest.jsm, will instead
need to be stored in python. A prerequisite to doing that is parsing the
manifests before starting the test suite. A prerequisite to that is moving the
manifest parsing code into a standalone JSM. This is the first step.

MozReview-Commit-ID: 42epTs8EU1O

--HG--
extra : rebase_source : 3db27445af0969867857fbfe41add13161a01cb8
2017-10-02 12:03:43 -04:00
Sebastian Hengst 847d86fda7 merge mozilla-central to autoland. r=merge a=merge 2017-10-13 11:51:55 +02:00
Xidorn Quan da66155d17 Bug 1403839 - Add a more complicated test for custom properties loop eliminiation. r=SimonSapin
MozReview-Commit-ID: CqafptHWYhc

--HG--
extra : source : ecd5118be1ba331fabf497e44076a8a20a4546e6
2017-10-13 14:37:46 +11:00
Xidorn Quan c2366649a6 Bug 1407888 part 2 - Make ServoStyleRuleMap::FillTableFromStyleSheet not make unique inner. r=heycam
MozReview-Commit-ID: 1I7sawfjcnl

--HG--
extra : rebase_source : 41667c3ff9ef52509b21cdff6495dbe9b85ab1af
2017-10-12 18:56:02 +11:00
Xidorn Quan e0947cc78d Bug 1407888 part 1 - Collect styleset from binding base in inDOMUtils::GetCSSStyleRules. r=heycam
MozReview-Commit-ID: 6vKkQQ4wUvA

--HG--
extra : rebase_source : dd431c770891179bba75cd6cf0779a31ddac7385
2017-10-12 17:41:13 +11:00
Sebastian Hengst 4bf9d6e663 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-10-14 00:11:06 +02:00
Boris Zbarsky d939b75081 Bug 1397815. Add memory reporting for button frame's mInnerFocusStyle and other additional style contexts. r=emilio
MozReview-Commit-ID: cJar2LDrCt
2017-10-13 14:26:55 -04:00
Sebastian Hengst d45406134c Backed out changeset f713977f1629 (bug 1403694) for crashing in Android mochitests, e.g. layout/style/test/test_additional_sheets.html. r=backout 2017-09-29 17:41:12 +02:00
Brad Werth 17d09b7ae1 Bug 1403694: Fix a case where a NULL stylesheet would be added to the nsStyleSheetService if nsLayoutUtils::StyloSupportedInCurrentProcess() returns false. r=xidorn
MozReview-Commit-ID: COaDbr49B7B

--HG--
extra : rebase_source : c4cb37f2f57444af41eccfb93d0e73895e4ae7b8
2017-09-28 16:45:09 -07:00
Hiroyuki Ikezoe 653e15ba32 Bug 1403433 - Add another variant of SchedulePaint that does not call InvalidateRenderingObservers for PendingAnimationTracker. r=birtles
nsFrame::SchedulePaint() invokes InvalidateRenderingObservers, and
InvalidateRenderingObservers ends up posting change hints during we are
processing sequential tasks for animations, but we don't allow posting any
change hints while we are in the middle of restyling process.

Though the change hints posted by InvalidateRenderingObservers are not harmful
in this case since the change hints will be processed in a second post
traversal without problems.  That's said, InvalidateRenderingObservers stuff
should be processed in display list based invalidation anyway (bug 1284053).

MozReview-Commit-ID: GKVRZ98lvEN
2017-09-29 19:42:13 +09:00
Sebastian Hengst 5a95ac34b4 merge mozilla-central to autoland. r=merge a=merge 2017-09-29 11:49:46 +02:00
Jeremy Chen 0288650258 Bug 1403077 - add tests for the stylo blocklist mechanism. r=heycam,leplatrem
In this patch, we add 3 tests:
1. test for blocked domain
2. test for blocked sub-domain
3. test for non-blocked domain

MozReview-Commit-ID: JzMImsbGoPr

--HG--
extra : rebase_source : 0eed42f6d2815bd8adbb9fb6be54b6feb3b1bcc8
2017-10-05 17:33:10 +08:00
Jeremy Chen 419e2e9b26 Bug 1403077 - add two test-only helper functions to access the stylo blocklist. r=heycam
In the current blocklist implementation, we read the stylo blocklist from the user
preferences very early and only once, even earlier than the test preferences
updating happens.

So, to be able to test the functionality of the stylo blocklist, we add these two
nsIDOMWindowUtils APIs to be able to add/remove a mock domain to the existing
blocklist.

MozReview-Commit-ID: K48ejLBcNbn

--HG--
extra : rebase_source : 354fe9871231f2a94f09bd2612c9d21ced4143e8
2017-10-09 12:07:04 +08:00
Jeremy Chen db85457d66 Bug 1403077 - implement the stylo blocklist mechanism. r=heycam
In this patch, we read the stylo blocklist into nsLayoutUtils's global static
variable during nsLayoutUtils::Initialize(). So, we can decide if we should
fallback to use Gecko backend while updating style backend for a document.

We add "layout.css.stylo-blocklist.blocked_domains" and
"layout.css.stylo-blocklist.enabled" to ContentPrefs.cpp because they are read
very early (during nsLayoutUtils::Initialize).

MozReview-Commit-ID: 8c4n6m9dYD8

--HG--
extra : rebase_source : ca81cd57980d98b9b73f18bb03a8035b161d23ef
2017-09-27 20:35:21 +08:00
Xidorn Quan 5767c9b968 Bug 1406562 - Return first continuation for parent of first-letter in ExpectedOwnerForChild. r=emilio
MozReview-Commit-ID: KkBDMStwQ6r

--HG--
extra : rebase_source : 7e0ffbf2ebff5d7d08d324c61736805adc9ea846
2017-10-09 11:07:17 +11:00
Mats Palmgren c281d3778e Bug 1381134 part 2 - Crashtests.
MozReview-Commit-ID: HmWd39C3fXz
2017-10-11 20:21:27 +02:00
Jesse Schwartzentruber e980fe6ea1 Bug 1350372 - Crashtest.
MozReview-Commit-ID: 4ApJweAr8fL
2017-10-11 20:21:27 +02:00
Jesse Ruderman 4cce36098f Bug 1145931 - Crashtest.
MozReview-Commit-ID: CGhk1gkfaxY
2017-10-11 20:21:27 +02:00
Mats Palmgren 9c667d893f Bug 1381134 - Ensure we're using the correct frame for the :after/:before references. r=emilio
MozReview-Commit-ID: BwoRNsXLbPS
2017-10-11 20:21:26 +02:00
Catalin Badea f8162c4bfd Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv 2017-10-03 11:09:08 +01:00
Ryan VanderMeulen 9186f2dee6 Backed out changeset be4d5678923c (bug 1346454) for intermittent crashes. 2017-10-11 12:41:44 -04:00
Ryan VanderMeulen f0f257809c Bug 1344210 - Add crashtest. r=me
--HG--
extra : rebase_source : dac6b45cd4858f905ffb9f68ab967cdbb4d9c302
2017-10-11 11:52:40 -04:00
Ryan VanderMeulen 81354b51c1 Bug 1322852 - Add crashtest. r=me
--HG--
extra : rebase_source : e9d276eea5c2652ae6af164a5ff6dd4cc05c15bb
2017-10-11 11:52:39 -04:00
Ryan VanderMeulen 3ecfc6e3c9 Bug 1346454 - Add crashtest. r=me
--HG--
extra : rebase_source : 3a5cf48b3add31a4886b89f47d9dd510a93cf45a
2017-10-11 11:52:38 -04:00
Jonathan Kew 20380cd23c Bug 1403521 - Reftests for positioning of text-decoration in vertical mode. r=dholbert 2017-10-11 14:02:00 +01:00
Jonathan Kew 83bec7dacb Bug 1403521 - Correct positioning of text-decoration lines in vertical writing modes. r=dholbert 2017-10-11 14:01:53 +01:00
Sebastian Hengst 051f888cef Backed out changeset 759a43ebc6bf (bug 1405541) for asserting in devtools/client/performance/test/browser_perf-console-record-03.js on Windows 7. r=backout
--HG--
extra : amend_source : 3df3e75c561cbc42db104ec1a6f6026ef021e3c7
2017-10-11 13:15:26 +02:00
Nicholas Nethercote add7e65972 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 53c8b43b6a1be06d00618a133e28bf95c46a3ba3
2017-10-11 13:03:34 +02:00
Sebastian Hengst 3c466b2f77 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-11 11:54:59 +02:00
Jonathan Watt 0ed5f27b33 Bug 1402109. Prevent crashes under SVGTextElement methods when the SVG is under non-displayed HTML. r=heycam
Summary:
The implementations of most SVGTextElement methods flush layout when they're
called.  Any SVG <text> that is displayed normally will be reflowed by
SVGTextFrame::ReflowSVG, and any <text> that is in displayed SVG but is not
displayed directly (such as <text> under a <defs>) will be reflowed by
SVGTextFrame::ReflowSVGNonDisplayText.  Prior to this fix the changed
code always assumed that one of these methods would reflow the text.  However,
in the case that the SVG is under an HTML element that isn't itself ever
reflowed (such as if it's under an HTML <caption>) then the SVG text will
not be reflowed either and the invariants of the code are broken.

This patch modifies the functions that implement the SVGTextElement
methods to return an error code if the text has not been reflowed.

Note: I did try to reuse SVGTextFrame::ReflowSVGNonDisplayText in this
case, but I ran into problems.  Given that this is an edge case and likely one
than normal authors will never run into I gave up trying to make that work for
now.

Reviewers: heycam

Bug #: 1402109

Differential Revision: https://phabricator.services.mozilla.com/D107
2017-10-11 10:09:13 +01:00
Jonathan Watt 60fa0649f2 Bug 1406819 - Remove various bits of dead code from dom/. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D109
2017-10-11 10:09:13 +01:00
Phil Ringnalda bd5ca8f40d Backed out changeset 901a16fec9fc (bug 1405541) for Windows assertion failures
MozReview-Commit-ID: DRGWXU4Tbfk
2017-10-10 23:28:33 -07:00
Nicholas Nethercote b23fb68ae3 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 59f77df0124249bfd11fee3585420a17b4201d37
2017-10-04 13:44:24 +11:00
Jonathan Watt 30d24c5be9 Bug 1405684 - Remove AutoBuildingDisplayList::GetPrevAnimatedGeometryRoot. r=mattwoodrow 2017-09-25 08:42:05 +01:00
Tobias Schneider 1a35b24ce7 Bug 1407104 - Use "let" rather than "var" in reftest harness JS. r=dholbert
--HG--
extra : rebase_source : 155681a7cd0b933f4d41cf24b3e21a54690cbf71
2017-10-10 10:46:24 -07:00
Mats Palmgren 6e31492671 Bug 1382213 - Simplify the overflow child frame reparenting in nsInlineFrame::DestroyFrom. r=dholbert
MozReview-Commit-ID: FYVZvNYurIi
2017-10-10 18:45:16 +02:00
Jim Chen 527ff54289 Bug 1357191 - 2. Fix form tests for new mobile date/time controls; r=jessica
Fix some test failures on mobile for the new date/time controls,

* Because mobile does not use the built-in reset button, tests
  involving the reset button are skipped.

* The mobile-only date/time tests in test_input_typing_sanitization.html
  do not apply to the new date/time controls, so they are removed to make
  mobile match desktop.

* test_input_sanitization.html now takes longer to run on Android and
  may time out, so the timeout limit is increased.

* time-content-left-aligned.html may fail because of different drawing
  behavior on Android, so the test is made fuzzy on Android.

MozReview-Commit-ID: EmfGf6JYdpW
2017-10-10 12:15:50 -04:00
Jim Chen ee5f9c3e19 Bug 1357191 - 1. Use Gecko controls for Fennec date/time fields; r=jessica r=nechen
Right now, date/time fields in Fennec appear as regular text fields,
which display the date/time values without formatting. This patch makes
the fields use the Gecko controls, which do support formatting. This
only changes the appearance of the fields; we still display the native
date/time pickers when the fields are tapped on. The reset button is
hidden in the controls because the Fennec date/time picker provides
a separate "clear" button.

MozReview-Commit-ID: EBE2U1zL74Q
2017-10-10 12:15:50 -04:00
cku 3997f2cb11 Bug 1343147 - Part 1. Do not double applying transform vector of the root frame in a glyph mask into the target context. r=mstange
When we generate the glyph mask for a transformed frame in
GenerateAndPushTextMask, the transform vector had been applied into aContext[1],
so we should find a way to prevent applying the vector again when painting the
glyph mask.

In bug 1299715, I tried to prevent double apply at [2], it caused two problems:
1. We only skip generating nsDisplayTransform, but we may still create a
nsDisplayPerspactive bellow. Since the parent of a nsDisplayPerspective must be
a nsDisplayTransform, which have been ignored, so we hit this assertion.
2. We skip all transform for all frames while painting the glyph mask, which is
not correct. We should only skip double applying transform vector of the root
frame.

This patch fixes both of these issues:
a. We will still create a nsDisplayTransform for the root frame if need. But
the transform matrix we apply into the target context will be an identity
matrix, so we fix #1 above.
b. In #a, we change the transform matrix to an identity matrix only for the root
frame of the  glyph mask, so we fix #2.

[1]
https://hg.mozilla.org/mozilla-central/file/59e5ec5729db/layout/painting/nsDisplayList.cpp#l752
[2]
https://hg.mozilla.org/mozilla-central/file/ce2c129f0a87/layout/generic/nsFrame.cpp#l2806

MozReview-Commit-ID: 973lkQQxLB6

--HG--
extra : rebase_source : aef80444e94d3af7eca776c981f8faded03bc985
2017-10-03 11:29:19 +08:00
Kyle Machulis e54a4653ba Bug 1404079 - Remove nsIDOMHTMLFrameElement; r=bz
MozReview-Commit-ID: GSvMwRpl7g4

--HG--
extra : rebase_source : a5e8ee45bae90eaa9ecdcc6f0bac0c9dac0ce2c8
2017-09-28 19:06:14 -07:00
Wes Kocher 6dc323cfe9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Dxbv9TjDlDY
2017-10-04 16:47:41 -07:00
Brad Werth 1e6eb559aa Bug 1376931 Part 4: Before MediaQueryList iteration for event listeners, copy the array before sending any events. r=heycam
MozReview-Commit-ID: 4eDs6viuxvT

--HG--
extra : rebase_source : 83c51cf36f020c9049b715d2461f69beecbffc13
2017-09-19 17:05:16 -07:00
Brad Werth 238373e9d8 Bug 1376931 Part 3: Change Gecko media queries of resolution to compare in dppx units without unit conversion. r=heycam
MozReview-Commit-ID: DPdz1Tmv24R

--HG--
extra : rebase_source : 529e1414a9017cad3afcacb69bddad1d46d7f9de
2017-09-27 16:53:27 -07:00
Brad Werth cccd100f25 Bug 1376931 Part 2: Extend ContentViewer to allow reporting of effective full zoom level as determined by the device context. r=bz,heycam
MozReview-Commit-ID: EoVp1DwAl0j

--HG--
extra : rebase_source : 59e5112caa73e675139b5fd93f03afcc13a9745d
2017-09-27 14:06:37 -07:00
Kartikaya Gupta 561b271b7d Bug 1405399 - Update due to API change in WR cset 75216e5. r=Gankro
MozReview-Commit-ID: GM8qA0MKaHv

--HG--
extra : rebase_source : cb8cddeab931e34ad5cc7392308f177970cdabde
2017-10-04 14:54:37 -04:00
Sebastian Hengst b8b7f52566 Backed out changeset 3adba9da5967 (bug 1376931) for bustage at layout/style/nsMediaFeatures.cpp:296: 'class nsPresContext' has no member named 'GetEffectiveFullZoom'; did you mean 'GetDeviceFullZoom'. r=backout on a CLOSED TREE 2017-10-05 00:15:51 +02:00
Sebastian Hengst 4976129381 Backed out changeset 61387758d1c4 (bug 1376931) 2017-10-05 00:15:02 +02:00
Sebastian Hengst 0305764b8c Backed out changeset d17d793f9850 (bug 1376931) 2017-10-05 00:14:57 +02:00
Brad Werth a7c74e8dca Bug 1376931 Part 4: Before MediaQueryList iteration for event listeners, copy the array before sending any events. r=heycam
MozReview-Commit-ID: 4eDs6viuxvT

--HG--
extra : rebase_source : 7759c52155151c4717123d1951c8e9c61fad6e8f
2017-09-19 17:05:16 -07:00
Brad Werth 559b3e4021 Bug 1376931 Part 3: Change Gecko media queries of resolution to compare in dppx units without unit conversion. r=heycam
MozReview-Commit-ID: DPdz1Tmv24R

--HG--
extra : rebase_source : ddf4b4aae7fdc8ca62de714b9f222daee5959743
2017-09-27 16:53:27 -07:00
Brad Werth 1450446d11 Bug 1376931 Part 2: Extend ContentViewer to allow reporting of effective full zoom level as determined by the device context. r=bz,heycam
MozReview-Commit-ID: EoVp1DwAl0j

--HG--
extra : rebase_source : b0bdf52adb0e44b51c4bbeb33668c35f559b8464
2017-09-27 14:06:37 -07:00
Brad Werth 4560a2c23f Bug 1374181 Part 1: Don't attempt EnsureUniqueInner on incomplete sheets in a StyleSet. r=xidorn
One remaining issue is that requesters of CSSRules might also want to know if those rules are complete, and to listen for completion if the rules are incomplete. Bug 1404538 will fix this up at least for devtools.

MozReview-Commit-ID: COnkS40Ooe2

--HG--
extra : rebase_source : 453bed12805fec668e90d5194fcd3df2d48af56e
2017-10-03 11:15:26 -07:00
Emilio Cobos Álvarez 48c5a32dc2 Bug 1404897: Add bindings to Servo selector lists. r=heycam
MozReview-Commit-ID: 4ZrWawDwuNe

--HG--
extra : rebase_source : 38248c72c8208200735fe4cf4516e374ea721080
2017-10-02 12:07:11 +02:00
Cameron McCormack 0b7960f23a Bug 1397626 - Part 3: Use SharedFontList to store font-family specified and computed values. r=xidorn
MozReview-Commit-ID: J3MNO2un2ov

--HG--
extra : rebase_source : 737943aea3d383669a7103d4e23f109889c09034
2017-10-03 12:27:45 +08:00
Cameron McCormack 7713fdd126 Bug 1397626 - Part 2: Replace uses of FontFamilyListRefCnt with SharedFontList. r=xidorn
MozReview-Commit-ID: 7HoBae9UOks

--HG--
extra : rebase_source : c0938e034847e825cab3684b70d097b0e0b8c9f9
2017-10-02 10:24:25 +08:00
Sebastian Hengst 66c0db70b2 Backed out changeset 1f1ff129684f (bug 1404897) for Android bustage at nsDocument.cpp:1414: undefined reference to 'Servo_SelectorList_Drop'. r=backout 2017-10-04 12:56:00 +02:00
Sebastian Hengst d90f0a5f6d Backed out changeset cfc393773f0d (bug 1404897) 2017-10-04 12:55:11 +02:00
Emilio Cobos Álvarez ff89c00970 Bug 1404897: Implement Element.matches using stylo. r=heycam
MozReview-Commit-ID: 7nxYVcweu0W

--HG--
extra : rebase_source : 4c816bb774ea7c67262a1e73277e3dbaeec060e8
2017-10-02 18:14:15 +02:00
Emilio Cobos Álvarez 6edc4a4c43 Bug 1404897: Add bindings to Servo selector lists. r=heycam
MozReview-Commit-ID: 4ZrWawDwuNe

--HG--
extra : rebase_source : de0f04b9155e9ad31596d7fd7b89585b8c1d753f
2017-10-02 12:07:11 +02:00
Sebastian Hengst 65ea166a53 Backed out changeset fda0d9bc93f0 (bug 1404897) for build bustage at nsIDocument.h:1181: bad implicit conversion constructor for 'SelectorList'. r=backout 2017-10-04 11:25:27 +02:00
Sebastian Hengst 000d2b584e Backed out changeset 3833f3700021 (bug 1404897) 2017-10-04 11:24:26 +02:00
Sebastian Hengst 7e81b9743d merge mozilla-central to autoland. r=merge a=merge 2017-10-04 11:15:12 +02:00
Emilio Cobos Álvarez aaadd28724 Bug 1404897: Implement Element.matches using stylo. r=heycam
MozReview-Commit-ID: 7nxYVcweu0W
2017-10-04 11:01:42 +02:00
Emilio Cobos Álvarez 3e01f33d28 Bug 1404897: Add bindings to Servo selector lists. r=heycam
MozReview-Commit-ID: 4ZrWawDwuNe
2017-10-04 11:01:26 +02:00
Ethan Lin 0d6bfa48a2 Bug 1391816 - Move layers-free related functions and variables from WebRenderLayerManager to WebRenderCommandsBuilder. r=jrmuizel
We have too many layers-free things in WebRenderLayerManager. I create a new
class WebRenderCommandsBuilder and move some functions and variables from
WebRenderLayerManager to WebRenderCommandsBuilder.

MozReview-Commit-ID: BJi1E51W7ax

--HG--
extra : rebase_source : ddbfb044d467430403a3c480030ef9dec803c9f7
2017-09-25 15:48:29 +08:00
Daniel Holbert 1c34ad7112 Bug 1388230: Make nsColorControlFrame::UpdateColor() a no-op if value is empty (which implies our element is still being appended). r=jwatt
nsColorControlFrame::UpdateColor() looks up the color value from the
corresponding <input> element -- and it expects to receive a valid color
string, regardless of what the user/author has done (or whether they've done
anything), thanks to the HTMLInputElement sanitization code that gets run when
the value is set.

As a basic sanity-check, UpdateColor() has an assertion to verify that the
value it receives is non-empty. However, if it happens to be called while the
element is still being appended (e.g. due to greedy frame construction), then
it *can* legitimately get an empty value.  So, the assertion isn't entirely valid!

Hence, this patch relaxes the assertion to only take effect after the frame has
been reflowed, and it also makes UpdateColor() a no-op in that case.  This
is fine because we can expect that UpdateColor() will be called again (and will
see a non-empty color value at that point) before the frame gets
reflowed/painted.

MozReview-Commit-ID: LOymuwy6gIM

--HG--
extra : rebase_source : 57a2b58cc371ec82f1d2db0334b2236a33056e40
2017-10-03 15:20:07 -07:00
Lee Salzman 7aa828ae26 Bug 1407470 - follow-up - fix crashtests.list condition. r=me CLOSED TREE
MozReview-Commit-ID: KAOLClEZdLN
2017-10-12 16:18:10 -04:00
Lee Salzman 320337bba3 Bug 1407470 - make nsImageRenderer::Draw compute luminance in device space instead of user space. r=mstange
MozReview-Commit-ID: oKtzekYaYI
2017-10-12 14:42:42 -04:00
Jim Chen 8bfda16485 Bug 1357191 - 2. Fix form tests for new mobile date/time controls; r=jessica
Fix some test failures on mobile for the new date/time controls,

* Because mobile does not use the built-in reset button, tests
  involving the reset button are skipped.

* The mobile-only date/time tests in test_input_typing_sanitization.html
  do not apply to the new date/time controls, so they are removed to make
  mobile match desktop.

* test_input_sanitization.html now takes a lot longer to run on Android
  debug and frequently times out, so it's disabled for debug Android builds.

* time-content-left-aligned.html may fail because of different drawing
  behavior on Android, so the test is made fuzzy on Android.

MozReview-Commit-ID: FTzwHTJgVJe
2017-10-12 12:20:14 -04:00
Jim Chen ea127a6715 Bug 1357191 - 1. Use Gecko controls for Fennec date/time fields; r=jessica r=nechen
Right now, date/time fields in Fennec appear as regular text fields,
which display the date/time values without formatting. This patch makes
the fields use the Gecko controls, which do support formatting. This
only changes the appearance of the fields; we still display the native
date/time pickers when the fields are tapped on. The reset button is
hidden in the controls because the Fennec date/time picker provides
a separate "clear" button.

MozReview-Commit-ID: 75QyKmolNuf
2017-10-12 12:20:14 -04:00
Jeff Muizelaar 2bb7fc2c35 Bug 1407356. Use CreateSimiliarDrawTarget for Filters instead of CreateOffscreenTarget. r=mstange
This lets us record and playback filters on the webrender side.
2017-10-12 11:49:31 -04:00
Emilio Cobos Álvarez 27b8091362 Bug 1403592: Crashtest. r=Manishearth
I've made it crash at least once, though it's intermittent-y. I guess it's
better than no crashtest.

MozReview-Commit-ID: 5m2VCrEs8lM
2017-09-28 10:12:57 +02:00
Emilio Cobos Álvarez d389330c2e Bug 1403592: Never flush the user font set when getting font metrics from style resolution. r=Manishearth
In this case, the caller doesn't go through all the PreTraverseSync stuff (we
don't really want it to do so), via GetComputedStyleNoFlush.

It makes sense to not flush the user font set that case, we'll schedule a
restyle properly if / when needed.

Since the set should be flushed otherwise, let's just not flush it from the
styling code.

MozReview-Commit-ID: LLHfxemJ8QQ
2017-09-28 10:12:50 +02:00
Henri Sivonen b245e01efe Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug
MozReview-Commit-ID: K8fgv3rgklt

--HG--
extra : rebase_source : 3ad91a01805afcd1aeac89a5f2d5ac38dac1797b
2017-09-12 16:57:05 +03:00
Henri Sivonen ef3dabbc29 Bug 256180 layout part - Increase MAX_REFLOW_DEPTH to reduce the probability of content going silently missing. r=bz
MozReview-Commit-ID: 7Ui0tVlLEQM

--HG--
extra : rebase_source : 65657a2542dc8def2e65a1095913839fc32a7dd8
2017-09-14 11:01:06 +03:00
Emilio Cobos Álvarez 0b1b86082e Bug 1403615: Also follow the NODE_DESCENDANTS_NEED_FRAMES bit in ClearRestyleStateFromSubtree. r=bholley
We don't follow this bit intentionally because we know that even if it's set,
when none of the other two bits are set there are no other restyle / change
hints down the tree.

We rely on the frame constructor to clean the mess up, though, and it doesn't
really do a good work about it.

In particular, the case we're hitting on the test-case is:

<body descendant-need-frames change=reconstruct style="display: table-column-group">
  <div descendant-need-frames>
    <div descendant-need-frames>
      <span needs-frame></span>
    </div>
  </div>
</body>

When we see we need to reconstruct the body, we call
ClearRestyleStateFromSubtree, but that doesn't do much now, since we don't
follow the descendant-need-frames bits.

Then, when we reconstruct the content, we arrive at[1] when constructing the
first child <div>. The <div> flags have been cleared, but not the children's!

Then a text-node is inserted in a <div>, breaking all sorts of invariants.

This is the easiest fix. Other fixes include clearing the flags on
SetAsUndisplayedContent. But that implies not clearing them in
ShouldCreateItemsForChild, and doing that somewhere more sensible.

I suspect it's not too hard, but that's a slightly more risky change, will do it
if you prefer it.

[1]: http://searchfox.org/mozilla-central/rev/3dbb47302e114219c53e99ebaf50c5cb727358ab/layout/base/nsCSSFrameConstructor.cpp#6092

MozReview-Commit-ID: 7026wkQLQkz
2017-09-28 08:53:51 +02:00
Henrik Skupin abd06348eb Bug 1403616 - Defer logging of Marionette IOError to after post-test checks. r=gbrown
If Firefox crashes while mochitests or reftests are running, Marionette
will trigger an IOError exception which currently gets logged immediately,
and causes no post-test checks to be performed. This results in missing
crash and leak checks, and an unclear failure message on Treeherder.

With this change only the IOError from Marionette gets deferred until
all post-test checks are done. This fixes the failure messages, and will
put PROCESS_CRASH or leak log output first.

MozReview-Commit-ID: JCYP5LlPE1m

--HG--
extra : rebase_source : a4a9455402b01db8ef1dbafccc7a726d2927ec03
2017-09-27 21:07:44 +02:00
Kyle Machulis e6d0a7ad13 Bug 1402180 - Remove nsIDOMHTMLAreaElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLAreaElement, replacing it
with binding class usage.

MozReview-Commit-ID: IaX4JFTPZn6

--HG--
extra : rebase_source : 79f9200c6ff9e081a5d9bc21eaa605f88caa99e9
2017-09-21 17:52:28 -07:00
Wes Kocher 13aa1f3a82 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 6Em6JpAgEOF
2017-09-27 17:04:00 -07:00
Wes Kocher 61c098eae7 Merge inbound to m-c a=merge CLOSED TREE
MozReview-Commit-ID: 3pMHYV9oXLm

--HG--
rename : dom/base/nsReferencedElement.cpp => dom/base/IDTracker.cpp
rename : dom/base/nsReferencedElement.h => dom/base/IDTracker.h
2017-09-27 16:51:49 -07:00
Kartikaya Gupta cb3cf300ac Bug 424274 - Mark some table-background tests as fuzzy-passing instead of failing. r=dholbert
MozReview-Commit-ID: CqkXWtpXESZ

--HG--
extra : rebase_source : 5f4039b9b4a6052a3edebb8b14d99c12f4c47261
2017-09-27 12:07:47 -04:00
Sebastian Hengst dc3edbabca Backed out changeset 379e7e7bf80d (bug 1403615) for failing own crashtest. r=backout 2017-09-27 21:27:08 +02:00
Ryan VanderMeulen d70d8e1773 Merge m-c to inbound. a=merge 2017-09-27 13:24:21 -04:00
David Major cb46df4d86 Bug 1403220 - De-optimize some font functions to work around an MSVC PGO crash. r+a=RyanVM 2017-09-27 10:17:00 -04:00
Sebastian Hengst a3b6b15cef merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BGCq2q6xO1S
2017-09-27 11:47:52 +02:00
Wes Kocher acf8913934 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Wes Kocher a341b32d06 Merge autoland to central, a=merge
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Wes Kocher 22a72df7fe Merge inbound to m-c a=merge
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Jonathan Kew 9cd0e4f0c4 Bug 1402861 - Remove ENABLE_INTL_API conditional from nsNumberControlFrame. r=dholbert 2017-09-26 13:28:21 +01:00
Sebastian Hengst 8002077a1e merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-26 12:22:11 +02:00
Sebastian Hengst 3c0f8f3312 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4W52wcX8xBm
2017-09-26 11:54:34 +02:00
Sebastian Hengst 5ed0b93c50 Backed out changeset 26805294a547 (bug 1389650) 2017-09-26 10:47:41 +02:00
Cameron McCormack 57d322dc42 Bug 1403073 - stylo: Fix some bindgen object layout issues. r=xidorn
MozReview-Commit-ID: CnW4J2ZlmfJ

--HG--
extra : rebase_source : 1a5318e75b1cde9a48dcdab689c7983a0b0c89b5
2017-09-26 15:06:33 +08:00
cku 4cc191b68d Bug 1402798 - Part 1. Check the type of an SVGPaint object from the correct frame. r=longsonr+218550
mTargetFrame is not a correct one, we should check the SVGStyle of 'frame'
object.

MozReview-Commit-ID: 3UNfbXkICkz

--HG--
extra : amend_source : 9fa5f095881fc3b92329a7d187f4d5926c43fed7
2017-09-26 14:43:14 +08:00
Kartikaya Gupta 2072043f8f Bug 1403559 - Remove random-if(webrender) annotations for layers-specific reftests and instead skip the layers checks in the reftest harness. r=mstange
MozReview-Commit-ID: 8Xtx3aGIx8

--HG--
extra : rebase_source : 60c22211bc4baeb3292ec76fee6e4c59b9ca105d
2017-09-27 10:12:10 -04:00
Kartikaya Gupta fa1a270dae Bug 1403559 - Remove random-if webrender annotation from test that's consistently passing now. r=jrmuizel
MozReview-Commit-ID: 8SMnWmWwf3h

--HG--
extra : rebase_source : ef17776575f52ee02b293cf92012636831328d1e
2017-09-27 10:12:09 -04:00
Kartikaya Gupta 4ae61b45dc Bug 1403559 - Remove obsolete comments referencing closed webrender bugs. r=jrmuizel
MozReview-Commit-ID: IkbNOL9xWbh

--HG--
extra : rebase_source : e372f1ea3029a0666077443893962f8ba663ee57
2017-09-27 10:12:09 -04:00
Sebastian Hengst 62e24caac1 Backed out changeset a785b7aea1e3 (bug 1403559) 2017-09-27 20:19:22 +02:00
Sebastian Hengst f7e9e7500c Backed out changeset 0e37a70ad7ce (bug 1403559) 2017-09-27 20:19:16 +02:00
Sebastian Hengst a0684d483d Backed out changeset 5572e837e2d0 (bug 1403559) 2017-09-27 20:19:11 +02:00
Emilio Cobos Álvarez db0476916e Bug 1403615: Also follow the NODE_DESCENDANTS_NEED_FRAMES bit in ClearRestyleStateFromSubtree. r=bholley
We don't follow this bit intentionally because we know that even if it's set,
when none of the other two bits are set there are no other restyle / change
hints down the tree.

We rely on the frame constructor to clean the mess up, though, and it doesn't
really do a good work about it.

In particular, the case we're hitting on the test-case is:

<body descendant-need-frames change=reconstruct style="display: table-column-group">
  <div descendant-need-frames>
    <div descendant-need-frames>
      <span needs-frame></span>
    </div>
  </div>
</body>

When we see we need to reconstruct the body, we call
ClearRestyleStateFromSubtree, but that doesn't do much now, since we don't
follow the descendant-need-frames bits.

Then, when we reconstruct the content, we arrive at[1] when constructing the
first child <div>. The <div> flags have been cleared, but not the children's!

Then a text-node is inserted in a <div>, breaking all sorts of invariants.

This is the easiest fix. Other fixes include clearing the flags on
SetAsUndisplayedContent. But that implies not clearing them in
ShouldCreateItemsForChild, and doing that somewhere more sensible.

I suspect it's not too hard, but that's a slightly more risky change, will do it
if you prefer it.

[1]: http://searchfox.org/mozilla-central/rev/3dbb47302e114219c53e99ebaf50c5cb727358ab/layout/base/nsCSSFrameConstructor.cpp#6092

MozReview-Commit-ID: 7026wkQLQkz
2017-09-27 20:02:04 +02:00
Ryan VanderMeulen 8ec5b78126 Merge m-c to autoland. a=merge 2017-09-27 13:24:50 -04:00
Kartikaya Gupta ecd18443a0 Bug 1403559 - Remove random-if(webrender) annotations for layers-specific reftests and instead skip the layers checks in the reftest harness. r=mstange
MozReview-Commit-ID: 8Xtx3aGIx8

--HG--
extra : rebase_source : 3d4a95e85ef6dc361f832ad0fc2160e5dcce5f55
2017-09-27 10:12:10 -04:00
Kartikaya Gupta 84950d9cba Bug 1403559 - Remove random-if webrender annotation from test that's consistently passing now. r=jrmuizel
MozReview-Commit-ID: 8SMnWmWwf3h

--HG--
extra : rebase_source : b33d87393bbc235af3e1b8dc5f99823327fa0ef3
2017-09-27 10:12:09 -04:00
Kartikaya Gupta fed74b36de Bug 1403559 - Remove obsolete comments referencing closed webrender bugs. r=jrmuizel
MozReview-Commit-ID: IkbNOL9xWbh

--HG--
extra : rebase_source : 050b362e82464358a6f806038b699aead5b2a8d9
2017-09-27 10:12:09 -04:00
Cameron McCormack 75329a655b Bug 1403030 - stylo: One more followup to fix a build error. r=me 2017-09-26 10:31:10 +08:00
Cameron McCormack ec4e0786a0 Bug 1403030 - stylo: Followup for another missing const. r=me
--HG--
extra : amend_source : 1db1fe5adf61b5cebd653bf0a0a740a7bfc7d2db
2017-09-26 10:21:37 +08:00
Cameron McCormack d3e557a199 Bug 1403030 - stylo: Fix some mismatching FFI declarations. r=xidorn
MozReview-Commit-ID: C5iBTR0OZKy

--HG--
extra : rebase_source : fa8c99f64dc8a78954cee21747a8915a7c04e7bb
2017-09-26 09:13:36 +08:00
Wes Kocher 7bf1b49628 Merge inbound to central, a=merge
MozReview-Commit-ID: 7EzhCCVVn7n
2017-09-25 16:41:34 -07:00
Olli Pettay c80e124562 Bug 1396584 - Remove support for multiple ShadowRoots, r=mrbkap
--HG--
extra : rebase_source : 2bb600ed1ffd35c195617a7eb70d0ba847a46898
2017-09-25 18:09:26 +03:00
Boris Zbarsky e04143fa91 Bug 1401739. Make sure to always call UpdateStyleOfChildAnonBox with the first continuation as "this". r=emilio
MozReview-Commit-ID: KhfvBuCeoex
2017-09-25 10:58:39 -04:00
Kartikaya Gupta f79a3c53f1 Bug 1389000 - Remove duplicated layers-free tests. r=jrmuizel
We had previously started running some tests in layers-free mode
already, either by setting the default-preferences on the folder to
turn on layers-free, or by duplicating an individual reftest annotation
so that it ran in both layers-full and layers-free mode. This patch
removes these changes since layers-free is now the default and we don't
need to run layers-full at all.

MozReview-Commit-ID: JJwB9iO5clU

--HG--
extra : rebase_source : ea20545945b825d7ff829526d4d263850e6b5b7f
2017-09-26 14:49:20 -04:00
Kartikaya Gupta 818cfd7499 Bug 1389000 - Update reftest annotations for layers-free results. r=jrmuizel
This patch:
- adds fails-if annotations for all the reftests that were consistently failing
  with layers-free turned on.
- removes fails-if or reduces the range on fuzzy-if annotations for all
  the reftests that were producing UNEXPECTED-PASS results with
  layers-free turned on.
- adds skip-if, random-if, or fuzzy-if annotations to the reftests that
  were intermittently failing due to timeout, obvious incorrectness, or
  slight pixel differences, respectively.

MozReview-Commit-ID: A0Aknn6rnjj

--HG--
extra : rebase_source : 420d9cf43f23a5d654fa36eec69138937d13c173
2017-09-26 14:49:19 -04:00
Matt Woodrow 0b12597ec2 Bug 1402204 - Remove NS_SCROLLFRAME_INVALIDATE_CONTENTS_ON_SCROLL as it doesn't appear to be needed any more. r=mats 2017-09-20 13:12:37 +12:00
Timothy Nikkel 9b61794af5 Bug 1402203 - Add a new layout phase for displaylist building. r=mstange 2017-09-26 15:57:57 +13:00
Matt Woodrow 991f510e8b Bug 1402199 - Move code for adding extra background items into a helper. r=mstange 2017-09-26 15:57:56 +13:00
Matt Woodrow 9304acdbbb Bug 1397671 - Don't treat SVG transformed frames as being transformed for the purposes of computing Combines3DTransformWithAncestors. r=dbaron 2017-09-26 15:57:56 +13:00
Matt Woodrow d58801ad81 Bug 1402197 - Add an option for GetTransformToAncestor to stop at stacking contexts and displayport. r=mstange 2017-09-26 15:57:55 +13:00
Alexander Surkov 45edae968f Bug 1321960 - rename nsIPresShell::mSuppressInterruptibleReflows to mWasLastReflowInterrupted to reflect better its purpose, r=dholbert 2017-09-26 16:25:12 -04:00
Alexis Beingessner 6c9882ed08 Bug 1400411 - stop mocking most of DrawTarget. r=jrmuizel
Also fixes a bad debug assertion

MozReview-Commit-ID: 5OV5KkvbRwZ

--HG--
extra : rebase_source : 5de35738733c8f18b2b227109eed7fcd9b4d9ed9
2017-09-16 10:42:11 -04:00
Alexis Beingessner 6803f63105 Bug 1400411 - text-layers: fallback if SVG fonts or tofu is found. r=jrmuizel
MozReview-Commit-ID: 9vUK5r5sKWB

--HG--
extra : rebase_source : 5e4c026cf6c802554772a99064898fde3b414ea8
2017-09-22 10:57:30 -04:00
Ethan Lin 34b1044bbc Bug 1402925 - Reset the animation id passed to the StackingContextHelper if there is no animation. r=kats
MozReview-Commit-ID: 2WM5FeeDAIc
2017-09-25 13:48:57 -04:00
Geoff Brown fb82de2597 Bug 1401035 - Avoid Android reftest restart after max run time exceeded; r=jmaher 2017-09-26 13:20:30 -06:00
Geoff Brown 1e26b50be4 Bug 1390884 - Enable limited test chaos mode in test-verify; r=jmaher
This adds new test verification steps for mochitest/reftest/xpcshell tests
with MOZ_CHAOSMODE=3 (thread scheduling and network thread scheduling).
Enabling all chaos mode features seems to destabilize test verification
so I am only enabling these features for now.
2017-09-26 13:20:28 -06:00
Joel Maher e5023d1194 Bug 1401228 - disable transforms/* on win7 non-e10s to prevent Assertion failure: [GFX1]: Failed to create DrawTarget, Type: 3 Size: Size(800,1000). r=gbrown 2017-09-26 15:16:41 -04:00
Joel Maher f2a88fd5c4 Bug 1388764 - disable layout/reftests/bugs/508908-1.xul to avoid crash in mozilla::ipc::MessageChannel::WillDestroyCurrentMessageLoop(). r=gbrown 2017-09-26 15:16:32 -04:00
Wes Kocher 9d9610f6a3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Kjjgw1Pdb3U
2017-09-26 17:15:46 -07:00
Kyle Machulis a3876f104a Bug 1389650 - Remove nsIDOMHTMLAnchorElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLAnchorElement, replacing it
with binding class usage.

MozReview-Commit-ID: 7v0bKlY7Fax
2017-09-26 11:41:28 -07:00
Alexis Beingessner cece98d71c Bug 1403259 - TextDrawTarget: fallback on -webrender-text-stroke. r=jrmuizel
MozReview-Commit-ID: 9taTLk0RLQq

--HG--
extra : rebase_source : 2c70334438ba9f59d030096656970362cbf0a7a2
2017-09-26 14:12:12 -04:00
Kartikaya Gupta 8eaaf84f59 Bug 1403288 - Remove redundant reftest lines since border layers are enabled by default with webrender now. r=Gankro
MozReview-Commit-ID: L1iU7pV1CcX

--HG--
extra : rebase_source : 172e22c532e323c67ae7949ac5f5fe7595bfc20a
2017-09-26 15:02:39 -04:00
Kartikaya Gupta 24c0563086 Bug 1403457 - Mark a test as fails-if(webrender). r=me
MozReview-Commit-ID: 2q2Y2AMUIAr
2017-09-27 08:18:58 -04:00
Mats Palmgren d9d785d520 Bug 1398520 part 4 - Rename nsFormControlFrame to nsCheckboxRadioFrame. r=dholbert
MozReview-Commit-ID: 9nwikVD1cd9

--HG--
rename : layout/forms/nsFormControlFrame.cpp => layout/forms/nsCheckboxRadioFrame.cpp
rename : layout/forms/nsFormControlFrame.h => layout/forms/nsCheckboxRadioFrame.h
2017-09-27 14:12:00 +02:00
Mats Palmgren 9d74c12453 Bug 1398520 part 3 - Remove a few unused function declarations. r=dholbert
MozReview-Commit-ID: 7XXRk7hnYDQ
2017-09-27 14:12:00 +02:00
Mats Palmgren e377f37e6e Bug 1398520 part 2 - Remove nsGfxCheckboxControlFrame and nsGfxRadioControlFrame; use nsFormControlFrame instead. r=dholbert
MozReview-Commit-ID: GxnZZXxHDyC
2017-09-27 14:12:00 +02:00
Mats Palmgren d9ccba0026 Bug 1398520 part 1 - Add missing #include for NS_THEME_* constants. r=dholbert
MozReview-Commit-ID: DsWmX7XbzBf
2017-09-27 14:12:00 +02:00
Jonathan Watt 6b07b2d402 Bug 1399853 - Identify the ID of the elements involved in SVG reference loops in the Web Console error messages. r=longsonr
MozReview-Commit-ID: 7SOk2pMEezK
2017-09-11 17:02:35 +01:00