Commit Graph

563284 Commits

Author SHA1 Message Date
Ethan Lin
c060e4e17c Bug 1394309 - Part4. Take the border clip as an extra clip. r=kats
MozReview-Commit-ID: 8I5NTxk538c

--HG--
extra : rebase_source : 4c2f8d920612ab8420e17cd459ad7f7bb87c6dc6
2017-10-11 17:33:35 +08:00
Ethan Lin
dfd3f86ae6 Bug 1394309 - Part3. Update the annotations after the fix. r=kats
MozReview-Commit-ID: 9Y1kMz1m8kp

--HG--
extra : rebase_source : dc898202ffe63fec882b60f6576835475faea6f9
2017-10-11 16:41:44 +08:00
Ethan Lin
a4d2977602 Bug 1394309 - Part2. We don't need to fall back if there is no border renderer. r=kats
This part is not necessary for fixing the reftests. But it would be better to just
return true if we don't want to render this item.

MozReview-Commit-ID: 6w6MCUAFPj6

--HG--
extra : rebase_source : 858ed1e406cd537eb5754f3d8f8eec1497034e70
2017-10-11 16:34:37 +08:00
Ethan Lin
323a20ad72 Bug 1394309 - Part1. Add clip rect to border render so we don't need to fall back for clipping. r=kats
MozReview-Commit-ID: 9KyYzMRYncV

--HG--
extra : rebase_source : 5518bdf764a25dd5dfe39d9698ef8d3ae63acc5d
2017-10-11 16:27:31 +08:00
Dão Gottwald
223f606a50 Bug 1407613 - Remove dropmarker from the generic autocomplete binding. r=mak
MozReview-Commit-ID: DIVPqfbkJnL

--HG--
extra : rebase_source : 00636b09d381b201733be7c6a79433555f106af9
2017-10-11 15:34:57 +02:00
J. Ryan Stinnett
d84d4c0128 servo: Merge #18844 - Limit visited cascade for reparenting (from jryans:stylo-visited-reparent-cascade); r=emilio
The specialized cascade flow in `stylist::compute_style_with_inputs` (used with
reparenting) currently computes all properties for visited styles, but we only
need visited-dependent properties.

This adds the cascade flag to reduce the work to visited-dependent properties
only, like we do for the regular cascade flow.

https://bugzilla.mozilla.org/show_bug.cgi?id=1407813

Source-Repo: https://github.com/servo/servo
Source-Revision: 82a013ae073e1e546d80866710ca395bb71cab7c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 43509a41dbbfb4b7d32d6dfbe8120e66b1af74da
2017-10-12 01:04:57 -05:00
Gerald Squelart
ae565b2faa Bug 1407917 - Simplify DDLogger string-logging functions - r=jwwang
Removed non-eager DDLogValue() functions, too confusing for not much value;
users should use macros first anyway.

Changed `EagerLogValue(..., const char (&aLiteral)[N])` to take `const char*`,
it's cleaner and simpler.


MozReview-Commit-ID: J7xcoPkp6Nf

--HG--
extra : rebase_source : 41040c98b89c3035c823a4a9775e727038c07590
2017-10-12 17:51:41 +11:00
Alessio Placitelli
ed2ef60ea6 Bug 1407234 - Don't show getCachedClientID error on new profiles. r=chutten
This patch changes ClientID.jsm to only check for the pref validity if
the cached client id pref was set.

MozReview-Commit-ID: KI3YHaMozl6

--HG--
extra : rebase_source : 14d7c2408a16d21911c10112465c2afe590c85fb
2017-10-11 16:10:29 +02:00
JW Wang
4ab061994a Bug 1407886 - enable OMT data delivery. r=gerald
Try looks good. Let's turn it on for more tests on Nightly.

MozReview-Commit-ID: 21mQfRmOYag

--HG--
extra : rebase_source : 8f51bd517816deba68dad511a9f859ab1df25baf
extra : intermediate-source : 5150eb8b0826be6578b2d8c68d6d864cc9f55f25
extra : source : 63542cbae67928b936f0472b8dca1f7035759115
2017-10-06 17:46:53 +08:00
Nicolas Chevobbe
6a7851cf21 Bug 1404843 - Enable and rename browser_jsterm_dollar.js; r=Honza
MozReview-Commit-ID: 81tYed0VL0K

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm_dollar.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-621644-jsterm-dollar.html => devtools/client/webconsole/new-console-output/test/mochitest/test-jsterm-dollar.html
extra : rebase_source : 1e71c7882cf8aa956c1733e08861dc05b2a6baa6
2017-10-11 16:52:01 +02:00
Alastor Wu
b8237a2029 Bug 1247189 - part5 : use IsCurrentThreadIn() as a main criteria to determine whether we're on the task queue or not. r=jya
The use of the TrackBuffersManager once detached is explictly forbidden, as such
OnTaskQueue() can only be used before the DetachTask ran: we now strongly assert
as such.

MozReview-Commit-ID: ycOI4QRElb

--HG--
extra : rebase_source : ecce8ac75587470c15268ab729b068f049702a8a
2017-10-12 10:49:25 +08:00
Alastor Wu
b4c4772190 Bug 1247189 - part4 : ensure we always detach TBM from demuxers. r=jya
Ensure the TBM would always be detached from demuxers, before calling
TBM::detach().

MozReview-Commit-ID: DLWZHB3M3GG

--HG--
extra : rebase_source : 9e455022ba9360fb549222e9ad1238a3ae9d88ad
2017-10-12 10:49:21 +08:00
Alastor Wu
023e34cbe4 Bug 1247189 - part3 : don't process any task after detached. r=jya
From [1], the task was executed after finished detach task. It would be caused
by queuing two detach tasks in the task queue.

If the previous detach task is still waiting in the task queue when we're calling
the second detach(), then we might have two detach tasks in the queue.

[1] https://treeherder.mozilla.org/logviewer.html#?job_id=134315866&repo=try&lineNumber=2540

MozReview-Commit-ID: HohgKqeZy0s

--HG--
extra : rebase_source : 0d20f1b8648acaf2ed8e75b2631e905629c2abaf
2017-10-12 10:49:10 +08:00
Alastor Wu
5a164c7e06 Bug 1247189 - part2 : remove reference to TrackBuffersManagers once detached. r=jya
Should never access the TrackBuffersManager once the SourceBuffer has been detached.

MozReview-Commit-ID: EgVINj9B1vZ

--HG--
extra : rebase_source : 4b4dc3e5c4b507fe4cc40e80f507b575a8b87eb3
2017-10-11 10:55:21 +08:00
Alastor Wu
d9f5f478d9 Bug 1247189 - part1 : should detach TBM after detaching it from demuxers. r=jya
After detaching TBM, we should not access it anymore. So we should finish all
other related detaching process, before detaching TBM.

MozReview-Commit-ID: 8bNzqXVHVyy

--HG--
extra : rebase_source : e135eb3d0fd4e5c41bbac4ebfc8d6fcbd1b32d5b
2017-10-11 10:49:05 +08:00
Mike Hommey
b1f7830bc2 Bug 1407838 - Replace UniquePtr<T, NSFreePolicy> with UniqueFreePtr. r=njn
--HG--
extra : rebase_source : 0d356b71443896579dedd98cbd08dfe1acb4a34d
2017-10-12 11:22:05 +09:00
Mike Hommey
404ef7af3e Bug 1407838 - Remove the remains of NS_Alloc/NS_Realloc/NS_Free. r=njn
Bug 1134923 removed the use of those functions in gecko, and left some
for the XPCOM standalone glue. The XPCOM standalone glue was severely
stripped down in bug 1306327, with the effect of removing the
implementation for those functions.

The remains in nsXPCOM.h are:
XPCOM_API(void*) NS_Alloc(size_t aSize);
XPCOM_API(void*) NS_Realloc(void* aPtr, size_t aSize);
XPCOM_API(void) NS_Free(void* aPtr);

With no implementation left, the first arm is never actually used, and
the second arm means every remaining use of those functions in the tree
is a macro expansion to one of moz_xmalloc, moz_xrealloc or free.

--HG--
extra : rebase_source : fd1669abc5a25d8edbd5c3a8522e22a5c3f558e2
2017-10-12 11:08:44 +09:00
Gerald Squelart
6e866f3624 Bug 1407909 - Rename DDLogClass to DDLogCategory - r=jwwang
MozReview-Commit-ID: GOTQnNM3MrV

--HG--
rename : dom/media/doctor/DDLogClass.cpp => dom/media/doctor/DDLogCategory.cpp
rename : dom/media/doctor/DDLogClass.h => dom/media/doctor/DDLogCategory.h
extra : rebase_source : 6275018142832a46c3ad145dd5f0edbc00501cc2
2017-10-12 16:15:35 +11:00
Cameron McCormack
7c1afe6a7f servo: Merge #18803 - style: more custom properties optimizations (from heycam:more-custom-prop-opts); r=emilio
These help slightly with https://bugzilla.mozilla.org/show_bug.cgi?id=1405411.

Source-Repo: https://github.com/servo/servo
Source-Revision: 99e15f0f03fceb97f2dd54e049fc133a7001c157

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dc9f5bbe50ec95ccb8dcc41842ce6c93e1afc50f
2017-10-11 22:51:51 -05:00
J. Ryan Stinnett
88c55f4a2c Bug 1342549 - Trim RDM DPR to ~3 decimal places. r=gl
MozReview-Commit-ID: 9xRV2OvOtuW

--HG--
extra : rebase_source : 784107362e89bfc3e19f3a5e6367e563d8b74f81
2017-10-05 22:30:03 -07:00
J. Ryan Stinnett
aa03c11bd5 Bug 1406254 - Visited reftest for ::first-line inheritance. r=emilio
MozReview-Commit-ID: 4ZOlVvBuSfT
2017-10-11 23:21:17 -05:00
Cameron McCormack
5b1a5502d7 Bug 1407246 - Split out Variables struct difference calculation. r=emilio
MozReview-Commit-ID: CtWtG3zkD1D

--HG--
extra : rebase_source : 0e1efeb844cde641288a6aecb15b1285cb37ea3f
2017-10-12 09:12:30 +08:00
Cameron McCormack
21ee72df28 servo: Merge #18842 - style: Skip custom properties comparison if other inherited properties changed (from heycam:skip-var-check); r=emilio
Servo half of https://bugzilla.mozilla.org/show_bug.cgi?id=1407246, reviewed there by Emilio.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9f8514d2b94713b6dc3bb918f8ffa9fac66021a3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b1173244f5ba3e9c386721d4eb07085db144342c
2017-10-11 21:45:51 -05:00
abhinav
bc9ef2d072 Bug 1406312 - Lazy loading of tooltip text on hover in Waterfall Timing boxes. r=gasolin
MozReview-Commit-ID: 5y4EPkpqcBr

--HG--
extra : rebase_source : 174fcf52494b1dc16e85855ee2a0fabbf22e49ea
2017-10-09 13:10:47 +05:30
Edouard Oger
d8c3cc3c0b Bug 1401700 - Prevent incoming tabs from opening multiple times if client sync fails. r=tcsc
MozReview-Commit-ID: DhrZ1oFY2WG

--HG--
extra : rebase_source : d8d35bdb08edbad9412d6953a671c3e38e75711c
2017-10-03 14:45:11 -04:00
Nevin Chen(:nechen)
5f644a7a7d Bug 1391342 - Keep toolbar hidding while showing keyboard in full screen. r=jchen,jwu,sebastian
MozReview-Commit-ID: 7GLvOB3TyuK

--HG--
extra : rebase_source : bf854f0b831db1977ecc877c2564132530fd1965
2017-10-06 11:33:14 +08:00
Makoto Kato
4afdbeeecb Bug 1364133 - Part 2. Add test. r=masayuki
MozReview-Commit-ID: 5v1LXlWIRPB

--HG--
extra : rebase_source : b201da76921c032cdf18093d385e7fa48c6bdb4c
2017-10-11 17:59:02 +09:00
Makoto Kato
1e88ad2842 Bug 1364133 - Part 1. Check whether SplitNode returns error. r=masayuki
When SplitNode returns nullptr, GetAsText causes crash.  So we should check
error before casting by GetAsText.

MozReview-Commit-ID: 8E1OPSRZ2x5

--HG--
extra : rebase_source : 48a067bd080e7a68e9d469c07d3b744508dae91f
2017-10-11 17:58:24 +09:00
J. Ryan Stinnett
1ec30101f3 servo: Merge #18841 - Clear visited rules for text inheritance (from jryans:stylo-visited-first-line); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1406254

Source-Repo: https://github.com/servo/servo
Source-Revision: dbf0991f8cab54516c5b0211e1818a16cfbf9e19

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f26e734d77f01a3f646b358b3a28f65afda4f50e
2017-10-11 18:50:23 -05:00
Brian Birtles
e30acd91b9 Bug 1405548 - Post restyles when creating or removing new CSS animations when using the Servo backend; r=hiro
As explained in the extended comment in this patch, for Servo we want to post
restyles when creating new animations so that we run a second animation
restyle and incorporate the result of new animations into style immediately.
(Gecko does everything in the one restyle, and although this causes other bugs
related to triggering transitions, at least it means it does not require
restyles to be posted here).

It turns out that we normally end up posting a restyle anyway in
CSSAnimation::SetAnimationIndex. Bug 1332958 was supposed to drop that but it
never landed.

However, CSSAnimation::SetAnimationIndex only posts a restyle when there is
a change to the animation index. It turns out that, by chance, there normally
*is* a change to a CSSAnimation's animation index when it is created. Initially
it takes its animation index from Animation::sNextAnimationIndex which is
incremented each time it is assigned to an animation.

If the first Animation we create for a given content process is a CSSAnimation
then sNextAnimationIndex will be zero and so we will initially assign an
animation index of zero. If that CSS animation is also the first in the list
of animations in animation-name, when we call SetAnimationIndex we will pass
zero as the index to use, and when we go to update the animation index we will
detect that there is no change, and will NOT post an animation restyle.
As a result the target element's style will NOT reflect the animated style.

To fix this we need to ensure that *new* CSS animations trigger a restyle.

For *changes* to animations, the corresponding calls to SetKeyframes and
SetSpecifiedTiming post restyles so the behavior should be correct in those
cases.

For *removed* animations I observed that in at least some cases we successfully
post a restyle. However, this appeared to be as much by chance as anything so
this patch also posts a restyle for removed animations. (Note that the
EffectCompositor will ignore redundant restyle requests so this is ok.)

This patch deliberately does not expose Animation::PostUpdate and call that
because the code introduced here is intended to be temporary. Long-term we
should remove the Gecko style backend and allow the calls to PlayFromStyle,
PauseFromStyle, CancelFromStyle etc. to post restyles just like calls to Play,
Pause, and Cancel do. At that point this code can also be removed.

MozReview-Commit-ID: 4c3vJdLBqeY

--HG--
extra : rebase_source : 684cb483562709161b2d5635e173e55319509a70
2017-10-11 16:36:36 +09:00
Alexis Beingessner
5a2380c323 Bug 1392723 - Add failures for diacritic stacking. r=kats
MozReview-Commit-ID: 4Scj4wF1dj4

--HG--
extra : rebase_source : 03dd080937894b2572e19e8aacdb09aa2ef9e8af
2017-10-11 00:25:18 -04:00
Alexis Beingessner
c7026e27d4 Bug 1392723 - Add failures for writing mode. r=kats
The != tests actually pass, but this is hard to express in the failures.list
pattern matching, so we just mark them all as random.

MozReview-Commit-ID: 2qr8a1isSEV

--HG--
extra : rebase_source : 14d2756ea044065579e1b3937d8417a3ef004317
2017-10-11 00:21:55 -04:00
Alexis Beingessner
7389441a09 Bug 1392723 - Add failures for bad vertical text snapping. r=kats
MozReview-Commit-ID: 2qr8a1isSEV

--HG--
extra : rebase_source : 6dae2edad21a707f866980afc394732dc71adae9
2017-10-11 00:21:55 -04:00
Alexis Beingessner
d6dd17ff99 Bug 1392723 - Mark quirky decoration tests as failing. r=kats
MozReview-Commit-ID: EgLcPSOpqOX

--HG--
extra : rebase_source : b1a12ba6b429dd294b43546a1a6bc7e2ff77b1d6
2017-10-11 00:02:48 -04:00
Alexis Beingessner
4280a55ec4 Bug 1392723 - Add some more fuzzyness for selection colors. r=kats
MozReview-Commit-ID: 5La4z5EdnHj

--HG--
extra : rebase_source : 5b0c54f6cad4bd4bf71e72afe2a9ad347e3290d6
2017-10-11 00:15:18 -04:00
Alexis Beingessner
250fcfee06 Bug 1392723 - Give some fuzzy slack to blurred text shadow comparisons. r=kats
MozReview-Commit-ID: Ci1OKVL4oWn

--HG--
extra : rebase_source : 8bd4e86d4d3aeb57cbd50d1930f36acb7d3530d0
2017-10-11 00:09:45 -04:00
Alexis Beingessner
fe5bc62b71 Bug 1392723 - Mark tests as passing with webrender text-layers. r=kats
MozReview-Commit-ID: 5qyGjvM6Lkv

--HG--
extra : rebase_source : efc5166359a838252d6d6af7bc6acdaf953a2993
2017-10-10 23:52:33 -04:00
Alexis Beingessner
deb37b7856 Bug 1392723 - Move text-layers from webrendest to webrender. r=kats
MozReview-Commit-ID: FQXaUOQtjaE

--HG--
extra : rebase_source : 2b0e06ba328da0ee9c2cd4a65d4a64c254acb8b6
2017-09-14 13:46:09 -04:00
Masatoshi Kimura
6722c1f08e Bug 1406695 - Fail if a browser.test.onMessage handler throws an error. r=aswan
MozReview-Commit-ID: BXOrdtla1qE

--HG--
extra : rebase_source : cc140e33a687896dfb3b00009f86dd917cf00241
2017-10-07 19:24:32 +09:00
Mike Hommey
184d10ed22 Bug 1407465 - Make most _MANIFESTS variables use SourcePaths. r=chmanchester
--HG--
extra : rebase_source : 5124bcc7393d7cadb26a3a96b9a1b78d902cdaa3
2017-10-05 11:15:27 +09:00
Ryan VanderMeulen
0dcd727f08 Merge m-c to autoland. a=merge 2017-10-11 17:55:13 -04:00
Ryan VanderMeulen
833b27ac01 Merge inbound to m-c. a=merge 2017-10-11 17:53:30 -04:00
Sebastian Hengst
30ccd917b0 Backed out changeset 8d5cc47b248f (bug 1401700) for failing xpcshell services/sync/tests/unit/test_bookmark_repair.js on OS X 10.10 opt. r=backout 2017-10-11 23:44:26 +02:00
Phil Ringnalda
876ae3e424 Backed out 2 changesets (bug 870460) for xperf failures
Backed out changeset 50368fa3e040 (bug 870460)
Backed out changeset 5aa7980268cb (bug 870460)

MozReview-Commit-ID: H0rzd5F9dOr
2017-10-11 13:26:34 -07:00
ffxbld
90fa230f6d No bug, Automated HPKP preload list update from host bld-linux64-spot-327 - a=hpkp-update 2017-10-11 11:05:07 -07:00
ffxbld
5793b91bb2 No bug, Automated HSTS preload list update from host bld-linux64-spot-327 - a=hsts-update 2017-10-11 11:05:03 -07:00
Tom Ritter
31606bbabc Bug 1407659 Temporarily put MinGW builds at Tier 3 to hide angle breakage r=aryx a=hide-non-tier-1-permabustage-in-default-treeherder-view
MozReview-Commit-ID: L5DhORpuOup

--HG--
extra : amend_source : 2147bd8400cce5b283d5fada833cadb6e99ff2e6
extra : transplant_source : K%D4%D4%E6%A3h%D7%A4%DC%7D%98B%05%EAT%95%18%19%CE%EF
2017-10-11 10:39:32 -05:00
Sebastian Hengst
dd693c66f9 Bug 1407437 - disable test_ev_certificate.py for perma failing for reasons outside of the tree. r=me, a=test-only
MozReview-Commit-ID: 1I8bMw08Vyb

--HG--
extra : transplant_source : %EF%96%D2iz%9D%B7%DE%A3%D0%8F%0F%C2%DA%D4%DA%CA%09%92F
2017-10-11 16:11:25 +02:00
Joel Maher
0b169e6a3b Bug 1407437 - disable test_security.py TestSecurity.test_get_address_from_certificate for perma failing for reasons outside of the tree. r=me, a=test-only
MozReview-Commit-ID: 8PECVzvURAv

--HG--
extra : transplant_source : %AFH%88%91y%F5%D5C%E3%01%92%1E%19%F0v%B8%9C%CBUl
2017-10-11 09:12:54 -04:00
Joel Maher
2d991cc7d1 Bug 1407437 - disable test_security.py TestSecurity.test_get_address_from_certificate on windows for perma failing for reasons outside of the tree. r=me, a=test-only
MozReview-Commit-ID: LpgxsWrjMhb

--HG--
extra : transplant_source : %E3%3B%C7%A0%60%E8%0F%AC%1AY%26%83%8E%275Z6%A5%C2%89
2017-10-11 08:10:50 -04:00