Commit Graph

505734 Commits

Author SHA1 Message Date
Ting-Yu Lin
53633b1c42 Bug 1320014 Part 14 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 4MQu8omCdcg

--HG--
extra : rebase_source : 0bce3eb380c2bacd5a4576e1a57c96afb8b57160
2017-01-05 16:23:16 +08:00
Ting-Yu Lin
9a76c43bf0 Bug 1320014 Part 13 - Convert NS_SIDE_TO_FULL_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 4r4jEN2LklH

--HG--
extra : rebase_source : 8a60bbb322f586af1a859b9408b10685169913e7
2017-01-05 16:13:34 +08:00
Ting-Yu Lin
78cc3f541d Bug 1320014 Part 12 - Convert NS_SIDE_IS_VERTICAL to a constexpr function. r=mats
MozReview-Commit-ID: GFdigJKppuR

--HG--
extra : rebase_source : d3a66d22d99d2988d5c3c44bc1da51e30efa8d1a
2017-01-05 16:07:02 +08:00
Ting-Yu Lin
160ed71c4e Bug 1320014 Part 11 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function. r=mats
Because the new function checks types, we need to change the fullCorner type
in nsComputedDOMStyle::GetEllipseRadii() and
StyleAnimationValue::ExtractComputedValue() from uint8_t to |Corner| to fix
build error.

MozReview-Commit-ID: 5NuFE3yA2QD

--HG--
extra : rebase_source : 8f94209b24bd909839358cd502f462edb9ce3116
2017-01-05 14:59:17 +08:00
Ting-Yu Lin
cf828e1584 Bug 1320014 Part 10 - Convert NS_HALF_TO_FULL_CORNER to a constexpr function. r=mats
MozReview-Commit-ID: 1PECc7hm249

--HG--
extra : rebase_source : 7784720bb9ae061689cba0b30c0aebc779d818b1
2017-01-05 14:39:58 +08:00
Ting-Yu Lin
229d433359 Bug 1320014 Part 9 - Convert NS_HALF_CORNER_IS_X to a constexpr function. r=mats
MozReview-Commit-ID: 3d2opSIjAUc

--HG--
extra : rebase_source : 03e55f0458dd305fa782ca1e46c32069045e86e9
2017-01-05 14:30:14 +08:00
Ting-Yu Lin
df030594f6 Bug 1320014 Part 8 - Move NS_FOR_CSS_HALF_CORNERS to Types.h and rewrite it. r=mats
MozReview-Commit-ID: 5UkZUSe5stP

--HG--
extra : rebase_source : e8c33473a39088d9bd807920630500b31ac6228f
2017-01-05 12:03:23 +08:00
Ting-Yu Lin
797609894a Bug 1320014 Part 7 - Convert half corner indices #define to an enum. r=mats
MozReview-Commit-ID: 8lNtjV14WTN

--HG--
extra : rebase_source : dbfa992a2ee3cab2f639fb5a68463a673410ade6
2017-01-05 11:31:38 +08:00
Ting-Yu Lin
2dada2d6e0 Bug 1320014 Part 6 - Remove #define NS_CORNER_[TOP_LEFT/TOP_RIGHT/BOTTOM_RIGHT/BOTTOM_LEFT] r=mats
MozReview-Commit-ID: ERAwdxKZPf7

--HG--
extra : rebase_source : 53eb8d15ecd0d9d8fd0c7b88872b210b54104725
2017-01-04 18:15:30 +08:00
Ting-Yu Lin
5c9728b639 Bug 1320014 Part 5 - Remove NS_FOR_CSS_CORNERS. r=mats
Remove NS_FOR_CSS_FULL_CORNERS implementation, and rename NS_FOR_CSS_CORNERS
to NS_FOR_CSS_FULL_CORNERS.

MozReview-Commit-ID: 2kmPUZDz3bj

--HG--
extra : rebase_source : a8374d10c9f398b0593d7338be210a1fde25bdc4
2017-01-04 17:52:43 +08:00
Ting-Yu Lin
f3987ac8db Bug 1320014 Part 4 - Remove eNumCorners and rewrite NS_FOR_CSS_CORNERS. r=mats
Also, change Corner's operator++ from postfix to prefix version.

MozReview-Commit-ID: CpBXOZmQtJ9

--HG--
extra : rebase_source : c8bacec1de52109a17a9cb18687094cef56387c0
2017-01-04 17:41:49 +08:00
Ting-Yu Lin
7577c40539 Bug 1320014 Part 3 - Move Corner from namespace mozilla::css into mozilla. r=mats
For those cpp files, it's sufficient to use Corner to refer to
mozilla::Corner.

MozReview-Commit-ID: JmDEJ3gGm8K

--HG--
extra : rebase_source : 79d7fc74fdb827894dd9ea17d6bb382eb75e81e8
2017-01-04 17:18:49 +08:00
Ting-Yu Lin
d4db857fcf Bug 1320014 Part 2 - Rename Corner to LogicalCorner, and move it to nsStyleCoord.h. r=mats
To avoid confusion with the mozilla::css::corner, rename ::Corner to
mozilla::LogicalCorner, and move it to nsStyleCoord.h. Also, append
LogicalCorner prefix to all the enum values to match the coding style.

It also fixed the build error preemptively in a later patch that removing
::css namespace from mozilla::css::corner.

MozReview-Commit-ID: BbRYFuT3v4W

--HG--
extra : rebase_source : b8891eaa475c803de9a2137cb5e9a5a4bde37b9f
2017-01-04 16:52:12 +08:00
Ting-Yu Lin
8871f2bf54 Bug 1320014 Part 1 - Move Corner's definition and NS_FOR_CSS_CORNERS to gfx/2d/Types.h. r=mats
The only change is that NS_PRECONDITION is replaced by MOZ_ASSERT to prevent
Types.h depends on nsDebug.h.

MozReview-Commit-ID: FI6LGOedKQ9

--HG--
extra : rebase_source : c31bdd527635e2abc306ddd5bd249e9ca2e81c0b
2017-01-04 16:19:20 +08:00
Sebastian Hengst
d0e4cec2ba Backed out changeset cce21c0cb2dd (bug 1324530) for failing passwd-1.xul on Android 4.3 debug and number-2.xul on Android 4.3 opt. r=backout 2017-01-06 09:50:28 +01:00
Sebastian Hengst
31bfe3ddf1 Backed out changeset 3e71466a060d (bug 1324530) 2017-01-06 09:49:22 +01:00
Sebastian Hengst
9f9a0ec996 Backed out changeset bedf2a853f91 (bug 1324530) 2017-01-06 09:49:18 +01:00
Sebastian Hengst
d2f92b241d Backed out changeset c520d79f9611 (bug 1324530) 2017-01-06 09:49:13 +01:00
Sebastian Hengst
5581aa23b1 Backed out changeset 1c2a7e11fe97 (bug 1328255) for failing test_session_scroll_position.html on Android. r=backout 2017-01-06 09:47:52 +01:00
Xidorn Quan
cd5b8893bf Bug 1326167 - Hook ServoStyleSheet and ServoCSSRuleList into cycle collection. r=bz
MozReview-Commit-ID: 6n1rjB8aMqp

--HG--
extra : rebase_source : 8bab3247e2ef101c190881ec4d19a8bb543587e0
extra : source : 3e774461c2cf59f3835806c1e6441c0ef263aec4
2017-01-06 15:14:28 +11:00
Daniel Holbert
62fdac80b2 Bug 1320484 part 3: Add reftest for simple positioning of abspos child inside of a -webkit-box container. r=mats
MozReview-Commit-ID: 4SIys1zdkvy

--HG--
extra : rebase_source : 376a8110fbc9ac5475e2231c74ba58195b2ed6ee
2017-01-04 20:43:04 -08:00
Daniel Holbert
2bdeb3ab01 Bug 1320484 part 2: Wrap abspos placeholders in anonymous flex items, in flex containers that are really emulating legacy -webkit-box containers. r=mats
This changeset is intended to revert the logic from "Bug 1269045 part 3" [1],
*specifically* for legacy "-webkit-box"/"-webkit-inline-box" flex containers.

[1]  https://hg.mozilla.org/mozilla-central/rev/707b2ab5879d

MozReview-Commit-ID: vc4TuAoLai

--HG--
extra : rebase_source : 3cc143055fc46851e882d48df2bd913ca1487793
2017-01-04 20:31:17 -08:00
Daniel Holbert
3ee9d5690d Bug 1320484 part 1: Improve documentation for debug-only function FrameWantsToBeInAnonymousItem(), & change its arg from nsIAtom* to nsIFrame*. r=mats
This patch doesn't affect behavior at all -- it just refactors the
sanity-checking function "FrameWantsToBeInAnonymousItem()", so that the next
patch in this series can give it a new special case that checks a state bit on
the container frame.

This patch renames "parent" to "container" in this function's variable-names,
for clarity, because when this function returns true, the flex/grid container
is actually NOT expected to be the parent of aFrame.  Rather, it's expected to
be the grandparent, and the anonymous flex/grid item would be the parent.  So,
"aContainerFrame"/"containerType" is a bit more accurate (representing the
flex/grid container for aFrame).

Also worth mentioning: this patch makes FrameWantsToBeInAnonymousItem() perform
its own local GetType() call, instead of accepting an already-queried GetType()
result from the caller (as it previously did).  Technically this could cause a
slight perf hit, but it doesn't really matter since this is in "#ifdef DEBUG"
sanity-checking code anyway.  We could keep the nsIAtom* as an additional arg
to avoid this new call, but it seems better to fall on the side of simplicity &
just look up GetType() independently, rather than complicating the function
signature with an extra arg.

MozReview-Commit-ID: 4oJFkQMuH9c

--HG--
extra : rebase_source : 3b5d60d8c15e69470f450168698b855e353486d3
2017-01-04 20:29:19 -08:00
Hiroyuki Ikezoe
67f3a5ff19 Bug 1328255 - Run test_animation_performance_warning.html in a new window with enabling requestIdleCallaback pref. r=birtles
window.requestIdleCallback can not be used right after enabling its pref in the
same window object. We need to open a new window after enabling the pref.

This patch moves waitForIdleCallback from testcommon.js for preventing from
being used in other tests unintentionally.

MozReview-Commit-ID: Erm2BPnikvB

--HG--
rename : dom/animation/test/chrome/test_animation_performance_warning.html => dom/animation/test/chrome/file_animation_performance_warning.html
extra : rebase_source : 19160631c3cd7a067ac47e02bc69c7b08f0169f2
2017-01-06 07:42:58 +09:00
Luke Chang
3911d558bb Bug 1300993 - Connect satchel autocomplete to form autofill results instead of form history when appropriate. r=MattN
MozReview-Commit-ID: DcpC1oJCGwN

--HG--
extra : rebase_source : e7619e67d0dc2ee83380638997b52f0748625cdf
2016-12-22 17:53:17 +08:00
Scott Wu
cfee8bb73f Bug 1326153 - Change Form Autofill feature flag to browser.formautofill.experimental r=MattN
MozReview-Commit-ID: 6QF0RVLRS61

--HG--
extra : rebase_source : bb9146ec662c6b17fe5f9527367a7b598f6b6984
2016-12-29 16:09:33 +08:00
Tomer Cohen
d0e2761f49 Bug 849404 RTL support for text/plain documents r=dbaron
The addition of unicode-plaintext to the pre element will make RTL text to appear from right to left. The html[dir] pre rule will make sure that this addition won't break the 'switch page direction' functionality.

MozReview-Commit-ID: 2JXJjqt2iuX

--HG--
extra : rebase_source : 98c85228ce50fa145bfaa77051532f69e92ba98d
2016-12-24 01:59:12 +02:00
John Lin
ecfd4663f7 Bug 1324530 - part 4: improve remote manager init wait time. r=snorp
Fix the issue that RemoteManager.init() will be block for 5s when onServiceConnected() is
finished before latch creation.

MozReview-Commit-ID: CYYpLpY7Ns9

--HG--
extra : rebase_source : cfb6a6aa25d1f274418f879e8a536dbdff664615
2016-12-23 16:28:48 +08:00
John Lin
2d0c14f448 Bug 1324530 - part 3: make codec methods that change state(start, stop, flush, release) synchronous. r=snorp
MozReview-Commit-ID: EVjtpzX9dbD

--HG--
extra : rebase_source : 26a5b10c3e3dbae0ffb2caad67863c5db7134275
2016-12-23 16:25:43 +08:00
John Lin
d483677db4 Bug 1324530 - part 2: rewrite the logic of discarding invalid buffers for flush. r=esawin
MozReview-Commit-ID: EwTRMaJOJhK

--HG--
extra : rebase_source : d636b2da2799029a8e78cfc23302bd0d63454efc
2016-12-28 15:56:42 +08:00
John Lin
a03d12f09c Bug 1324530 - part 1: add method to AsyncCodec for resuming receiving input buffers after flush(). r=esawin
2 birds with 1 stone:
 - according to MediaCodec doc, when running in async mode start() must be called after flush() to 'resume receiving input buffers'.
 - in JellyBeanAsyncCodec's case, explicit resuming polling input buffers helps Codec decide which buffers are invalid by flush().

MozReview-Commit-ID: Ee5QbppgsVf

--HG--
extra : rebase_source : e1593952f0dbbdeabd07e014482bc161315b83de
2016-12-28 15:41:55 +08:00
Jonathan Hao
4acdd5c525 Bug 1270338 - Add a mochitest to ensure Sanitizer clears data for all containers. r=baku,tanvi
--HG--
extra : rebase_source : fde0d706abf24766d868004f192398a0b6a2f31e
2016-12-27 15:05:16 +08:00
Iris Hsiao
b16067d16c Backed out changeset 602042c7e7a6 (bug 1326542) for mochitest browser chrome failures 2017-01-05 21:30:39 -05:00
Wes Kocher
1b9930db65 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2ocdQCLe0I1
2017-01-05 17:31:25 -08:00
Wes Kocher
0f254a30d6 Merge inbound to central, a=merge
MozReview-Commit-ID: 1ij6nLf8f8s
2017-01-05 17:30:35 -08:00
Wes Kocher
33ad0c8ef8 Merge autoland to central, a=merge
MozReview-Commit-ID: FuAgy3YQ0De
2017-01-05 17:24:15 -08:00
Iris Hsiao
c3cda2a39a Backed out changeset 5ddb2e58bb74 (bug 1287099) 2017-01-05 12:21:35 -05:00
Iris Hsiao
8ca3b2dc24 Backed out changeset 724fdfe8f396 (bug 1324870) 2017-01-05 12:21:31 -05:00
Iris Hsiao
e0c5cc1d8d Backed out changeset 38f4f50cd295 (bug 1324862) for linux web platform failures 2017-01-05 12:21:28 -05:00
Iris Hsiao
4615a8f12c Backed out changeset 5593f1b533da (bug 1328121) for bustage 2017-01-05 11:33:51 -05:00
Geoff Brown
d5bd5dcc64 Bug 1324862 - Set wpt expected status to NOTRUN for object-src-2_1 and object-src-2_2 on linux32 only, for tc migration; r=jgraham
--HG--
extra : rebase_source : 6f12ae4d9f6a7ee3807617bdc18709f89d75f30b
2017-01-05 09:15:12 -07:00
Geoff Brown
4fdfff0c12 Bug 1324870 - Skip test_bug803225.html and test_ext_downloads_misc.js on linux32 only, to enable taskcluster migration; r=jmaher
--HG--
extra : rebase_source : eb4c1e94381f46d54619f0a3ba65e3f5beed2221
2017-01-05 09:15:11 -07:00
ffxbld
568e68ade5 No bug, Automated HPKP preload list update from host bld-linux64-spot-531 - a=hpkp-update 2017-01-05 06:37:03 -08:00
ffxbld
44c438d66d No bug, Automated HSTS preload list update from host bld-linux64-spot-531 - a=hsts-update 2017-01-05 06:37:00 -08:00
Fred Lin
a2db25a007 Bug 1328822 - cache getSelectedRequest with reselect; r=jsnajdr
MozReview-Commit-ID: Eo6repa3Z8z

--HG--
extra : rebase_source : 68b55c7ae389599dd1777625668c910a7087425f
2017-01-05 17:10:25 +08:00
Phil Ringnalda
c83d1d7ce9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 51FMtH1yTe6
2017-01-04 18:33:32 -08:00
Dão Gottwald
d6b3b14643 Bug 1322738 - Implement compact about:newtab tiles styling. r=gijs 2017-01-04 22:39:52 +01:00
Tom Schuster
d08f86527e Bug 1328077 - Attach dense element hole IC even with zero dense elements. r=jandem,bhackett 2017-01-04 22:12:05 +01:00
Christoph Kerschbaumer
99eda5a50b Bug 1272594 - Remove special cookie policy handling within InternalRequest (r=bkelly) 2017-01-04 21:43:39 +01:00
Mats Palmgren
23f36915e8 Bug 1328095 - Reftest (also covers bug 1232194). 2017-01-04 21:35:19 +01:00