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

505750 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange 21cbfb0bb4 Bug 1323100 - Use NS_NewNamedThread for CryptoTask threads. r=froydnj
MozReview-Commit-ID: 6c6iDuGyE2X

--HG--
extra : rebase_source : 7fa93fe9b0df2bdbc89aaf87988ae961a539d551
2016-12-20 14:27:18 +01:00
Markus Stange 2ab94363e9 Bug 1323100 - Use NS_NewNamedThread in SingletonThreadHolder. r=froydnj
MozReview-Commit-ID: Jcf5DfSrxrf

--HG--
extra : rebase_source : 4d0d753d22b3cd46d2e9e4422c7d839953d20afd
2016-12-12 19:17:51 -05:00
Markus Stange 8ad799fa1f Bug 1323100 - Create a version of NS_NewNamedThread that accepts an nsACString. r=froydnj
MozReview-Commit-ID: LhRjdzZeWCB

--HG--
extra : rebase_source : a81500209b326c62a91c79cbb709177e47f8863d
2016-12-22 00:05:51 +01:00
Markus Stange e43fc074b6 Bug 1323100 - Use NS_NewNamedThread for the Filewatcher IO thread. r=froydnj
MozReview-Commit-ID: 18qfXNx8BtJ

--HG--
extra : rebase_source : 23650bc8e521c52d3d70c1ce1dcf020f2e37b305
2016-12-21 11:34:36 +01:00
Markus Stange 8a344a17ba Bug 1323100 - Use NS_NewNamedThread for the Wifi Monitor thread. r=froydnj
MozReview-Commit-ID: 25lwf8WdANT

--HG--
extra : rebase_source : aaf1aaafa486aac5c74b694c09495b592839c507
2016-12-21 11:33:21 +01:00
Markus Stange 29c472082f Bug 1323100 - Use NS_NewNamedThread for the Link Monitor thread. r=froydnj
MozReview-Commit-ID: ETOGkxMgknN

--HG--
extra : rebase_source : 1adb7e727313cf9d8f6fd8e2639f9b9e4f081454
2016-12-21 11:32:39 +01:00
Markus Stange 7a7e689099 Bug 1323100 - Use NS_NewNamedThread for the Android Audio thread. r=froydnj
MozReview-Commit-ID: IcKsOZCZVwB

--HG--
extra : rebase_source : 960388da77a8ab508f7ccf7d35289cb7ebe20606
2016-12-21 11:31:15 +01:00
Markus Stange d2dbdff4a9 Bug 1323100 - Use NS_NewNamedThread for IndexedDB threads. r=froydnj
MozReview-Commit-ID: Do4l5QL2qSG

--HG--
extra : rebase_source : ae45941a84ec25a45b796bd01d6bac48f3be6886
2016-12-21 11:26:48 +01:00
Markus Stange 6ec87f0dbb Bug 1323100 - Use NS_NewNamedThread to name the proxy resolution thread. r=froydnj
MozReview-Commit-ID: Fqxr4XmvS7I

--HG--
extra : rebase_source : 397262fd816190849e0629e5b11416da6f2fe30e
2016-12-14 17:16:01 -05:00
JW Wang a9218bbb8e Bug 1328811. Part 4 - remove the |mState != DECODER_STATE_SEEKING| check. r=kaku
When mState is SEEKING, DispatchDecodeTasksIfNeeded() is a no-op.

MozReview-Commit-ID: 3sV6RdUwFBV

--HG--
extra : rebase_source : 12f01ab491b5f4326b08b44dd0789139db174d99
extra : source : 89cccddea7603912e264405040071ba0a98bf8de
2017-01-05 14:48:42 +08:00
JW Wang 0a36f808bc Bug 1328811. Part 3 - inline NeedToDecode{Audio,Video} for DispatchDecodeTasksIfNeeded is the only caller. r=kaku
MozReview-Commit-ID: H1K6LJCjk4B

--HG--
extra : rebase_source : 382293f2aa91a134b895458866cc590798d36edd
extra : source : c0971794c58515b498d93caeccf8d8932f48614f
2017-01-05 14:44:45 +08:00
JW Wang 38ceee4499 Bug 1328811. Part 2 - remove the comment that is not valid anymore. r=kaku
MozReview-Commit-ID: JxrBRtKPAau

--HG--
extra : rebase_source : d62438f5546a67bac9004c9dea74580e23b4dd62
extra : source : d0e189f19de690e1244ab22b922ff0b70fd55e60
2017-01-05 14:39:35 +08:00
JW Wang ba927c6dfe Bug 1328811. Part 1 - remove the assertion. r=kaku
http://searchfox.org/mozilla-central/rev/82ebc0c5ea45477ef4a4bfb3bbff35069bd18cee/dom/media/MediaDecoderStateMachine.cpp#2980
The if statement ensures |mState != DECODER_STATE_COMPLETED|.

MozReview-Commit-ID: CyvfXj94E8s

--HG--
extra : rebase_source : 10007fda9e4c09647a7142b77415c332a69001b3
extra : source : 5936c72d33e155a2a942602b610e6d6407f9bef6
2017-01-05 14:38:52 +08:00
JW Wang da1657f4f3 Bug 1328810 - Remove the call to DispatchDecodeTasksIfNeeded() from MDSM::StopPlayback(). r=kaku
MozReview-Commit-ID: mZL1FJmea3

--HG--
extra : rebase_source : f1c22d86d60c4078e8c9bef389d0c6f3247154f0
extra : source : ab2eb5c6f2ba7de8be8e21b1a09a2c43efeffc62
2017-01-05 14:32:53 +08:00
Robert Helmer 30f47382c3 Bug 1323938 - use the ADDON_INSTALL bootstrap reason for temporarily-loaded add-ons r=aswan
MozReview-Commit-ID: 3QtHQkhbYky

--HG--
extra : rebase_source : e7e115a7106c82d972b42ba1ac9fa7dc8efd0653
2016-12-29 17:15:29 -08:00
Ting-Yu Lin e857e2115f Bug 1320014 Part 15 - Replace RectCorner with Corner. r=mats
Rewrite RectCornerRadii::operator==() and RectCornerRadii::AreRadiiSame() by
explicitly expand all the comparisons, and rewrite other explicit for-loops
with NS_FOR_CSS_FULL_CORNERS.

MozReview-Commit-ID: BLBJHla8kyk

--HG--
extra : rebase_source : 464d8973eae6fa58e6931cc65d61900605926b85
2017-01-05 17:07:07 +08:00
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