Commit Graph

506623 Commits

Author SHA1 Message Date
JW Wang
9fd85dbe58 Bug 1330254. Part 4 - let Handle{Audio,Video}Canceled and Handle{Audio,Video}Waited call Request{Audio,Video}Data instead. r=kikuo
The same reason as bug 1329897 P3.

MozReview-Commit-ID: AhyFnUmXoOr

--HG--
extra : rebase_source : 2121fcef9faa0838bda07ed3273d1b24c98ff342
extra : intermediate-source : 8822c00ab309a845e16aea97ea02c4640d4d9519
extra : source : 11ee1f3ac0009afc175fd813980501cd65ae5f9e
2017-01-09 22:25:20 +08:00
JW Wang
a1d21f679f Bug 1330254. Part 3 - remove some checks from NeedToSkipToNextKeyframe(). r=kikuo
1. we assert mSentFirstFrameLoadedEvent in DecodingState::Enter()
2. NeedToSkipToNextKeyframe() is called by EnsureVideoDecodeTaskQueued() when IsVideoDecoding() is true.

MozReview-Commit-ID: O6rkCBVmNu

--HG--
extra : rebase_source : 54ad2ddbf0c089cf7c493f7a9c5420bbbb3b5640
extra : intermediate-source : 3158eff8d06e40e3297b94f828dd40487f6e788b
extra : source : 6d92368a8f6f847b3a5b78a4072fd031383ead0e
2017-01-09 22:17:21 +08:00
JW Wang
43dbba6553 Bug 1330254. Part 2 - move NeedToSkipToNextKeyframe() into DecodingState and remove some checks for mState. r=kikuo
MozReview-Commit-ID: FTsXX04rk2p

--HG--
extra : rebase_source : 7bac055236795feeeabe710d214d5291ee2011a6
extra : intermediate-source : 9362d3b1cf3fd54b749e8d4c7d9f952d5718ddeb
extra : source : a645f33d99ae794eaf85fe942755131bf945be52
2017-01-09 21:39:22 +08:00
JW Wang
a1b72a6467 Bug 1330254. Part 1 - move MDSM::Ensure{Audio,Video}DecodeTaskQueued into DecodingState. r=kikuo
MozReview-Commit-ID: 9xPNQ9E7R3E

--HG--
extra : rebase_source : b4b329cafb223b1af3e116d6605ef1e4dcefc31d
extra : intermediate-source : 619564872603b357b395b2ff8e8a6f7f0fb80d62
extra : source : 77eb9d0c761c0441f2f73d5eb4be69382f7d02ec
2017-01-09 21:11:01 +08:00
Hiroyuki Ikezoe
bcd83bc12f Bug 1330513- Check that mCSSValueList is null in case of filter and shadow in StyleAnimationValue::Add(). r=boris
The StyleAnimationValue for filter and shadow has no mCSSValueList in case of
initial style.

MozReview-Commit-ID: JigQQBbx77x

--HG--
extra : rebase_source : b2bb513424a7d089c8dfb6b880dd7c7239280efb
2017-01-12 19:42:14 +09:00
Ting-Yu Lin
5a571d2d89 Bug 1311244 Part 8 - Disable CSS shapes reftests on Windows debug builds. r=jeremychen
MozReview-Commit-ID: CEgKjbpq1zt

--HG--
extra : rebase_source : 8da06382447c03f8b64deb63c473ecc075744d0d
2017-01-10 11:31:39 +08:00
Ting-Yu Lin
703d48f356 Bug 1311244 Part 7 - Implement shape-outside: circle(). r=dbaron
circle() allows the user to define an empty flow area, so IsEmpty() needs to
be overridden.

The flow area defined by a shape needs to be clipped to the margin-box per
https://drafts.csswg.org/css-shapes/#relation-to-box-model-and-float-behavior

In the reftests, both clip-path and shape-outside uses the same value so
that it's easier to debug visually.

Add LogicalPoint::LineRelative() because we need to convert a point's I() to
the line-axis in nsFloatManager. LineRelative() differs from I() in all
'rtl' direction per
https://drafts.csswg.org/css-writing-modes-3/#logical-to-physical

MozReview-Commit-ID: FxQaFPrEQ73

--HG--
extra : rebase_source : 0d768002a38adbded2a0caa6d3e001eaaca3313d
2017-01-06 16:36:43 +08:00
Ting-Yu Lin
7696a7581c Bug 1311244 Part 6 - Add ShapeInfo and move <shape-box> impl to BoxShapeInfo. r=dbaron
Create ShapeInfo as a base class for implementing all the shapes. In this
design, we only need to create the correct subclass in FloatInfo's
constructor whenever shape-outside is used rather than manually branching on
StyleShapeSourceType and StyleBasicShape in all the methods like
LineRight(), LineLeft(), etc.

The concrete subclass of ShapeInfo could focus on implementing how its shape
influence the flow area by overriding the needed methods in ShapeInfo.

Move ComputeEllipseLineInterceptDiff() and XInterceptAtY() under the scope
of ShapeInfo so that they could be used by BoxShapeInfo and all the other
ShpapeInfo subclasses yet to come.

MozReview-Commit-ID: ETVc5FdGNha

--HG--
extra : rebase_source : 9a083ccd95fd7565112a45e30c15a91b97c7290f
2017-01-06 16:36:30 +08:00
Ting-Yu Lin
ea61e604fa Bug 1311244 Part 5 - Convert FloatInfo's copy constructor into a move constructor. r=dbaron
Use move constructor for two reasons. 1) The copy constructor is needed only
when appending FloatInfo to mFloats, so using move constructor will likely
be more efficient if some of the member variables support move constructor.
2) Part 6 will added a UniquePtr member to FloatInfo, so using move
constructor becomes necessary.

Also change the return value of AddFloat() to void to simplify the code,
since all the other callers do not check the return value, and
BlockReflowInput::FloatAndPlaceFloat() only asserts in debug mode. I assume
it's safe to omit the OOM check.

MozReview-Commit-ID: GVbbsdBjr7b

--HG--
extra : rebase_source : e0f647e029278a5033bb9d6d780e73e32de460d3
2017-01-06 16:36:19 +08:00
Ting-Yu Lin
8b267972a6 Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron
MozReview-Commit-ID: LJNvNOoc7FI

--HG--
extra : rebase_source : 5dd6118f6e8e1605e89773b3b1e2bcbfa7704fd6
2017-01-06 16:36:05 +08:00
Ting-Yu Lin
74706308e7 Bug 1311244 Part 3 - Extract the computation of center as ComputeCircleOrEllipseCenter(). r=dbaron
MozReview-Commit-ID: A6OTJ9PD43c

--HG--
extra : rebase_source : bcb53b7a0a966e2931c74db475ee8b7573354792
2017-01-06 16:35:53 +08:00
Ting-Yu Lin
2b3505661e Bug 1311244 Part 2 - Create ShapeUtils, and move EnumerationToLength into it. r=dbaron
More functions in nsCSSClipPathInstance will be refactored and moved into
ShapeUtils in subsequent patches.

MozReview-Commit-ID: LmJUevY8YGr

--HG--
extra : rebase_source : 8888fa26fab541d06a3fccad9e4376bb3a66c043
2017-01-06 16:35:29 +08:00
Ting-Yu Lin
3f796f8016 Bug 1311244 Part 1 - Use nsPoint type for center in nsCSSClipPathInstance. r=dbaron
|center| should be of nsPoint type since all the arguments of
ComputeObjectAnchorPoint() uses nsPoint and nsSize. We should only convert
center to Point (which is an an UnknownUnits type) for APIs requiring Point
type.

MozReview-Commit-ID: EDrQGPUZp6m

--HG--
extra : rebase_source : a5494f969dcb08c139af076e95584502f46f0b9e
2017-01-06 16:35:00 +08:00
Ting-Yu Lin
3d72133ed5 Bug 1311244 Part 0 - Preemptively fix unified build bustage in nsLayoutUtils. r=dbaron
The is a preemptively fix for unified bustage after Part 2 adds a new file
under layout/base/.

The error was:
In static member function 'static bool nsLayoutUtils::SupportsServoStyleBackend(nsIDocument*)':
invalid static_cast from type 'nsIDocument*' to type 'nsDocument*'

MozReview-Commit-ID: A8xTSPgh8Ls

--HG--
extra : rebase_source : 144315f06ecc5d66af1b1b0abbf8ac8269d9d13d
2017-01-06 16:34:33 +08:00
Mike Taylor
ebda8a8ef3 Bug 1324062. Part 2 - Fix CustomizableUI test failures due to NIGHTLY-only Report Site Issue button. r=Gijs
MozReview-Commit-ID: 8fZMVz05X6n

--HG--
extra : rebase_source : af045e8c1ba206cdd0e508b4637b86f9f5fb67cc
2017-01-05 22:28:36 -06:00
Mike Taylor
ed942c578e Bug 1324062. Part 1 - Add a "Report Site Issue" button to the panel menu for NIGHTLY_BUILDs. r=Gijs
MozReview-Commit-ID: 74T8uRuqpyf

--HG--
extra : rebase_source : ae70816913cbd1510db02a47d7834248396ba78c
2016-12-28 13:31:22 -06:00
Alfredo.Yang
843677e75c Bug 1329061 - add gtest for QT ESDS parsing. r=jya
MozReview-Commit-ID: AfYIh0uHEVx

--HG--
extra : rebase_source : 68476fed96c4a2b58d68036dbde30f5d0b3bd754
2017-01-11 14:35:59 +08:00
Alfredo.Yang
87f9819147 Bug 1329061 - parse ESDS in wave atom container for QT format. r=jya
MozReview-Commit-ID: 4G15pqakse9

--HG--
extra : rebase_source : 41942393f0a36f3cfee462f1d8a27e853a89cc68
2017-01-06 15:30:42 +08:00
Carsten "Tomcat" Book
088f1dc213 Merge mozilla-central to autoland 2017-01-12 10:39:04 +01:00
Carsten "Tomcat" Book
3ad97e202a merge mozilla-inbound to mozilla-central a=merge 2017-01-12 10:14:43 +01:00
Carsten "Tomcat" Book
0a7155c94e merge autoland to mozilla-central a=merge 2017-01-12 10:11:45 +01:00
Phil Ringnalda
e3c15e2b7e Backed out changeset f69ae549623a (bug 1321198) for being a totally unacceptable thing to have landed on an integration branch
--HG--
extra : rebase_source : 010e42975a95d521188f61abff9227569d98995c
2017-01-11 21:41:57 -08:00
Bobby Holley
004deddec2 Bug 1330401 - Don't render explicit children of bound elements with no insertion points. r=bz 2017-01-11 21:08:03 -08:00
Cameron McCormack
1251ea98d8 Bug 1324663 - stylo: Adjust one more assertion annotation. r=me
MozReview-Commit-ID: 3tHwZtuUWwG
2017-01-12 11:57:52 +08:00
Ryan VanderMeulen
6ec8510ea7 Backed out 6 changesets (bug 1323957) for intermittent GPU process leaks on a CLOSED TREE.
Backed out changeset 8fe93d5f82a8 (bug 1323957)
Backed out changeset 5d1615317a36 (bug 1323957)
Backed out changeset 1ec74a022e80 (bug 1323957)
Backed out changeset 0a97bbdd54d5 (bug 1323957)
Backed out changeset 70fab4f6d367 (bug 1323957)
Backed out changeset c5ca5b7fcacd (bug 1323957)
2017-01-11 23:09:14 -05:00
Ryan VanderMeulen
b871240df7 Backed out 7 changesets (bug 1325227) to unblock the backout of bug 1323957.
Backed out changeset d6e962b025e6 (bug 1325227)
Backed out changeset 70136ced844e (bug 1325227)
Backed out changeset e21219e9638a (bug 1325227)
Backed out changeset a5d83d2b1632 (bug 1325227)
Backed out changeset f6c6ef5ac42c (bug 1325227)
Backed out changeset 1a604f87a342 (bug 1325227)
Backed out changeset d4827432cbc2 (bug 1325227)
2017-01-11 23:08:45 -05:00
Ryan VanderMeulen
e8f15d975e Backed out changeset 94e48b834d82 (bug 1329386) for bustage on a CLOSED TREE. 2017-01-11 21:49:18 -05:00
Matt Woodrow
fd9309fe71 Bug 1329386 - Fallback to WMF decoding if the OOP decoder fails. r=jya 2017-01-12 15:35:10 +13:00
Matt Woodrow
4e6b9e51c7 Bug 1329305 - Don't wait on readback task if dispatching it failed. r=dvander 2017-01-12 15:33:25 +13:00
Jan Beich
3b398e68ed Bug 1330378 - Add missing header after bug 1329891. r=jwwang
MozReview-Commit-ID: AcOqT3fVuUA

--HG--
extra : rebase_source : 61dabdff9bfcc1fcda0b49e73532cd705dcc4437
2017-01-11 18:19:18 +00:00
Justin Wood
3f614bdf91 Bug 1330191 - Android l10n nightlies fail with abort: --revision must be a SHA-1 fragment 12-40 characters long. r=mshal a=merge
MozReview-Commit-ID: IceOh55Lm6g

--HG--
extra : source : 0761d9bf56c4d3969e7d116d42d87bf6919d3178
2017-01-11 09:35:19 -05:00
Carsten "Tomcat" Book
a712d69adb merge mozilla-inbound to mozilla-central a=merge 2017-01-11 16:23:39 +01:00
Carsten "Tomcat" Book
db18e6d213 merge autoland to mozilla-central a=merge 2017-01-11 16:20:54 +01:00
ffxbld
d6ac8e49bf No bug, Automated HPKP preload list update from host bld-linux64-spot-540 - a=hpkp-update 2017-01-11 06:40:36 -08:00
ffxbld
13a3256537 No bug, Automated HSTS preload list update from host bld-linux64-spot-540 - a=hsts-update 2017-01-11 06:40:34 -08:00
Bob Silverberg
48702a014c Bug 1329971 - tab objects returned by sessions.getRecentlyClosed are missing some data, r=kmag
MozReview-Commit-ID: GB3Xaxg8HRf

--HG--
extra : rebase_source : 47d1d976b51ee53a4bfb64523dac41603380ed6e
2017-01-11 09:14:58 -05:00
Carsten "Tomcat" Book
f2693baa0a Backed out changeset 5d1623b6bcca (bug 1328937) for continued bustage on android 2017-01-11 12:47:08 +01:00
Carsten "Tomcat" Book
ccd2feb7ba Backed out changeset e1dbcf0b7019 (bug 1328937) 2017-01-11 12:46:32 +01:00
Carsten "Tomcat" Book
8f9863970b Backed out changeset 927275a3ea2c (bug 1328937) 2017-01-11 12:46:30 +01:00
Carsten "Tomcat" Book
1851a07b40 Backed out changeset 1d0bc7e990fe (bug 1328937) 2017-01-11 12:46:28 +01:00
Carsten "Tomcat" Book
c1a0c67e9e Backed out changeset 8e5f0fda8a89 (bug 1328937) 2017-01-11 12:46:25 +01:00
Carsten "Tomcat" Book
04547310e6 Backed out changeset 21f392a1ac51 (bug 1328937) 2017-01-11 12:46:23 +01:00
Sebastian Kaspari
746b8c030b Bug 1328937 - Disable testActivityStreamContextMenu. a=bustagefix
There's some refactoring needed to make the test work with the new code base.
This will be worked on in bug 1330280.

MozReview-Commit-ID: 7OtZbrZK1A9
2017-01-11 12:10:34 +01:00
Gabriele Svelto
31100686b0 Bug 1328657 - Added documentation for the crash ping processType field and quieted some warnings r=me 2017-01-11 12:09:43 +01:00
Jon Coppeard
e639e46d9a Bug 1328251 - Don't mark GC things owned by another runtime r=sfink a=abillings 2017-01-11 10:33:52 +00:00
Hannes Verschore
0cf1eda5de Backed out changeset 28ca0dfe8d72 2017-01-11 11:17:23 +01:00
Dão Gottwald
900b14556f Bug 1330001 - Remove browser code behind Windows XP and Vista version checks. r=jaws 2017-01-11 10:54:16 +01:00
Wes Kocher
b0c1453d57 Backed out 4 changesets (bug 1316482) for frequent reftest failures on win7vm a=backout
Backed out changeset ad208e73ab6c (bug 1316482)
Backed out changeset 2a28dc0a75d3 (bug 1316482)
Backed out changeset b54126cc63d4 (bug 1316482)
Backed out changeset ebd0c6c8b783 (bug 1316482)

MozReview-Commit-ID: IFpLJUjj8qH
2017-01-10 18:11:10 -08:00
Wes Kocher
1d16e48df0 Merge inbound to central, a=merge
MozReview-Commit-ID: FLWmryRuVoL
2017-01-10 17:56:46 -08:00
Wes Kocher
64befa7d5b Merge autoland to central, a=merge
MozReview-Commit-ID: AzdmcFWgfx2
2017-01-10 17:22:08 -08:00