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

12666 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez fec2a9ebed Bug 1396066: Fix bug 418986 tests. r=me
On a CLOSED TREE.

MozReview-Commit-ID: 9bulxAwhsTM
2017-10-06 17:01:30 +02:00
Emilio Cobos Álvarez df1739abac Bug 1396066: Remove -moz-physical-home-button. r=xidorn
MozReview-Commit-ID: IaXLKNuHomI
2017-10-06 14:34:59 +02:00
Emilio Cobos Álvarez b90c5280f4 Bug 1396066: Restrict -moz-is-glyph to UA and chrome only. r=xidorn
MozReview-Commit-ID: A2Jiw8KtJSM
2017-10-06 14:34:58 +02:00
Emilio Cobos Álvarez 81f719cb23 Bug 1396066: Restrict -moz-windows-theme and -moz-os-version to UA and chrome only. r=xidorn
MozReview-Commit-ID: 9iEhkcZb52C
2017-10-06 14:34:57 +02:00
Emilio Cobos Álvarez 4efbb7d1dd Bug 1396066: Restrict system-metric media features to UA and chrome sheets only. r=xidorn
MozReview-Commit-ID: 38jRV6mPbE3
2017-10-06 14:34:56 +02:00
Emilio Cobos Álvarez cd52a82d9e Bug 1396066: Restrict :-moz-system-metric to chrome and ua sheets. r=xidorn
MozReview-Commit-ID: AyHWP3QgGlA
2017-10-06 14:34:56 +02:00
Emilio Cobos Álvarez 4ce8f460f2 Bug 1396099: Make :-moz-styleeditor-transitioning only valid in UA sheets. r=xidorn
MozReview-Commit-ID: 9CjdFz5ZpAw
2017-10-05 20:35:54 +02:00
Emilio Cobos Álvarez 9ca2b9b823 Bug 1405635: Test that custom content doesn't inherit from the root element. r=bholley
MozReview-Commit-ID: GvjsdQk5Wt4

--HG--
extra : rebase_source : 7ea1d03c512e197eeadbcae7a7a58cfbfa5e6d20
2017-10-05 01:40:48 +02:00
Sebastian Hengst ee4297061e Backed out changeset 1df4622b548b (bug 1405635) for failing mochitest layout/style/test/test_custom_content_inheritance.html. r=backout on a CLOSED TREE 2017-10-05 17:39:20 +02:00
Emilio Cobos Álvarez d7ff7725af Bug 1405635: Test that custom content doesn't inherit from the root element. r=bholley
MozReview-Commit-ID: GvjsdQk5Wt4
2017-10-05 14:53:22 +02:00
Wes Kocher 6dc323cfe9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Dxbv9TjDlDY
2017-10-04 16:47:41 -07:00
Wes Kocher d8985b6e57 Merge inbound to central, a=merge
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Arthur Edelstein 451dcb314e Bug 1404224 - Fix ubsan runtime error for nsCSSTokenSerializationType. r=heycam 2017-10-03 10:06:00 -04:00
Emilio Cobos Álvarez d46ace29b9 Bug 1405605: Bypass the IsReallyFixedPos assertion when the style may have changed due to first-line reparenting. r=bz
MozReview-Commit-ID: HS0670UMqKK
2017-10-04 17:53:13 +02:00
Brad Werth 119fecfe62 Bug 1403699 Part 1: Unify ServoBindings synchronization primitives into a single RWLock. r=bholley
MozReview-Commit-ID: GdYLEQHiM1f

--HG--
extra : rebase_source : 50b89324dc06f3374029f36a70a63b0f6fcb0df6
2017-10-03 12:57:38 -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
Sebastian Hengst 4976129381 Backed out changeset 61387758d1c4 (bug 1376931) 2017-10-05 00:15:02 +02: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
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
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
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
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
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
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
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
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
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
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
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
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
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