Commit Graph

45265 Commits

Author SHA1 Message Date
Ryan VanderMeulen
22018c1631 Bug 1123563 - Remove extra space that was accidentally added. a=bustage 2015-04-15 15:33:19 -04:00
Ryan VanderMeulen
12b90de11b Bug 1123563 - Annotate test-animated-image-layers.html and test-animated-image-layers-background.html as random on Android and Linux. 2015-04-15 14:45:05 -04:00
Geoff Brown
1fedc52d16 Bug 1133833 - Disable a few tests on Android 4.3 for intermittent failures; r=trivial 2015-04-14 21:05:40 -06:00
peter chang
d37e7341cc Bug 1144990 - Dump display items with class id and name, r=roc 2015-04-15 10:07:45 +08:00
Brian Birtles
6120d1a6c4 Bug 1153734 part 4 - Rename other uses of 'source' and 'source content'; r=jwatt
This patch also tightens up a one or two references to 'target effect' replacing
them with just 'effect'. This is because 'target effect' is longer and easily
confused with 'target element'. 'effect' should be sufficient. 'target element'
is a term from the Web Animations specification and in that context, simply
referring to the 'effect' would sound a little odd.
2015-04-15 08:48:21 +09:00
Brian Birtles
2d26fd38cb Bug 1153734 part 3 - Rename AnimationPlayer.source to AnimationPlayer.effect; r=smaug
There are still some other references to "source" in AnimationPlayer such as
HasInPlayerSource and UpdateSourceContent. These are renamed in a subsequent
patch (that doesn't require DOM peer review).
2015-04-15 08:48:21 +09:00
Brian Birtles
63e2382338 Bug 1153734 part 2 - Rename Animation to KeyframeEffectReadonly; r=smaug
We define KeyframeEffectReadonly in KeyframeEffect.cpp since Web Animations also
defines KeyframeEffect and when we come to implement that I expect we'll define
it in the same class, maybe even using the same object.

This patch also adds a few missing includes in places where
KeyframeEffectReadonly is used so that we're not just cargo-culting it in.

--HG--
rename : dom/animation/Animation.cpp => dom/animation/KeyframeEffect.cpp
rename : dom/animation/Animation.h => dom/animation/KeyframeEffect.h
rename : dom/animation/test/css-animations/test_animation-name.html => dom/animation/test/css-animations/test_effect-name.html
rename : dom/animation/test/css-animations/test_animation-target.html => dom/animation/test/css-animations/test_effect-target.html
rename : dom/animation/test/css-transitions/test_animation-name.html => dom/animation/test/css-transitions/test_effect-name.html
rename : dom/animation/test/css-transitions/test_animation-target.html => dom/animation/test/css-transitions/test_effect-target.html
rename : dom/webidl/Animation.webidl => dom/webidl/KeyframeEffect.webidl
2015-04-15 08:48:21 +09:00
Brian Birtles
d5b5205359 Bug 1153734 part 1 - Remove AnimationEffect; r=smaug
Most of this is fairly obvious. However, the addition of 'override' to
ElementPropertyTransition::Name() is not strictly necessary. It was simply added
because while making these changes I accidentally dropped the 'virtual' keyword
from the method in the superclass and the compiler didn't complain. Adding this
will hopefully make it harder to create the same bug in the future.

--HG--
rename : dom/animation/test/css-animations/test_animation-effect-name.html => dom/animation/test/css-animations/test_animation-name.html
rename : dom/animation/test/css-transitions/test_animation-effect-name.html => dom/animation/test/css-transitions/test_animation-name.html
2015-04-15 08:48:20 +09:00
Cameron McCormack
87eb48be41 Bug 1153628 - Break FontFaceSet <-> UserFontSet cycle when a document's pres shell is going away. r=mccr8 2015-04-15 09:40:12 +10:00
Cameron McCormack
5ed02337c8 Bug 1146101 - Call ClearCachedInheritedStyleDataOnDescendants on more style contexts that had structs swapped out from them. r=dbaron a=abillings 2015-04-15 08:13:45 +10:00
Wes Kocher
af34e14f2b Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424 Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Jan Beich
cfd87b0f40 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker r=dholbert r=mstange 2015-04-14 19:38:47 +02:00
Ryan VanderMeulen
4fa8326641 Backed out 3 changesets (bug 1137252) for suspicion of causing frequent B2G mochitest timeouts.
Backed out changeset bbb1b526cb56 (bug 1137252)
Backed out changeset 0c3d670f0c14 (bug 1137252)
Backed out changeset 1e0fa4ab7c6f (bug 1137252)

CLOSED TREE
2015-04-14 13:33:28 -04:00
Maksim Lebedev
f60627631d Bug 979497 - Once DispatchPointerFromMouseOrTouch is called, aFrame can be deleted. r=smaug
--HG--
extra : rebase_source : 9556dce20748b3b581f8e39df6992513e90f62ff
2015-04-14 11:46:39 -04:00
Ying-Ruei Liang (KK)
f17daf9c2a Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.

* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect

--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
Kartikaya Gupta
4ea64b3332 Bug 1152211 - Fuzz a now-expected permaorange when APZ is enabled. r=mstange 2015-04-14 11:30:48 -04:00
Ehsan Akhgari
f5a2ba31bf Bug 956530 follow-up: Fix the test failure on Windows 8 caused by the text box having a glowing outline as a result of being clicked on
Landed on a CLOSED TREE
2015-04-14 10:54:00 -04:00
Carsten "Tomcat" Book
807db18b59 Merge mozilla-central to mozilla-inbound 2015-04-14 16:15:02 +02:00
Ryan VanderMeulen
612dc2a6ee Merge inbound to m-c. a=merge 2015-04-14 10:06:03 -04:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ehsan Akhgari
51fd5c3de1 Bug 956530 - Clear the delayed caret data when clicking on a selected part of a text control if the focus event handler selects the control; r=roc 2015-04-14 08:29:11 -04:00
Carsten "Tomcat" Book
662ed27b62 merge fx-team to mozilla-central a=merge 2015-04-14 14:27:14 +02:00
Mark Capella
6f1202dd58 Bug 1153076 - Add NS_MOUSE_MOZLONGTAP support in Fennec, r=kats, tylin 2015-04-13 22:33:02 -04:00
Wes Kocher
5e9e8610ab Merge central to b2ginbound a=merge 2015-04-13 17:28:59 -07:00
Wes Kocher
381ed5c1ba Merge inbound to m-c a=merge 2015-04-13 17:13:10 -07:00
Alexandre Lissy
366fdcfa2e Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only 2015-04-13 14:26:00 -04:00
Alexandre Lissy
d9b693d281 Bug 1140394 - Protect standard output from interleaving. r=ahal 2015-04-12 14:01:00 -04:00
Olli Pettay
c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
David Rajchenbach-Teller
b08ce98d2a Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz
--HG--
extra : rebase_source : cba2fc37d263d431c3008739a89a4fe47d10b7da
2015-04-10 17:27:57 +02:00
Olli Pettay
eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Mats Palmgren
a9f328bbc0 Bug 1107778 - Remove a couple of unused test files that landed accidentally. r=me 2015-04-11 00:21:06 +00:00
Mats Palmgren
2f31bdf840 Bug 1143299 - Make frame insertion methods deal with aPrevFrame being on an overflow list. r=roc a=abillings 2015-04-11 00:21:06 +00:00
Timothy Nikkel
cf95787e0b Bug 1147038. Mark some reftests as passing. CLOSED TREE 2015-04-10 16:12:04 -05:00
Daniel Holbert
a55ee7cc16 Bug 1152913 part 2: Convert flexbox 'IsAxisHorizontal' checks to use new logical-axis member data. r=mats 2015-04-10 13:35:42 -07:00
Daniel Holbert
4d8faad43f Bug 1152913 part 1: Make FlexboxAxisTracker store the WritingMode & representation of how flex axes map to it. r=mats 2015-04-10 13:35:15 -07:00
Timothy Nikkel
b027b743ae Bug 1147038. Use the correct clip for root scroll frames in root content documents. r=mstange
Normally a document would size itself to the size of it's "container". If the document is a subdocument it will use the size of the iframe. If it's a root document it will use the size of the widget it is in. Overriding the viewport breaks this link, the document is now sized to whatever size the last call to nsIDOMWindowUtils::SetCSSViewport had. Of course this would produce a weird display on screen so we use this in conjunction with setting a resolution on the document. This means that the layout viewport (the size of the root frame and also approximately mScrollPort) is different from the visual viewport (what's visible on screen). The visual viewport is the composition bounds.
2015-04-09 23:48:00 -05:00
Wes Kocher
7eb544ddbb Merge central to inbound a=merge 2015-04-13 17:27:59 -07:00
Brian Birtles
121b831ff7 Bug 1122414 part 2 - Return the transitionProperty from Animation.name for CSS transitions; r=jwatt
This is a bit awkward. We lazily set mName to the transition property and then
return it. The reasons for this approach are:

* We don't really want to eagerly fill in mName for all transitions since in
  99% of cases we'll never use it and this will lead to wasted allocations.

* The signature of Name() returns a const nsString reference. This is because
  Name() is used when building CSS Animations (to compare different copies of
  the same animation when updating). For that case we don't really want to
  generate unnecessary copies of nsString objects so we return a reference.
  However, that means for transitions as well we need to return a reference so
  we can't just generate a temporary string on-demand.

  As a result we also have to const-cast ourselves so we can update the mName
  member. We could make mName mutable but seeing as it's only set once, the
  const_cast seems more appropriate.
2015-04-14 09:13:27 +09:00
Brian Birtles
f03b224d8c Bug 1122414 part 1 - Factor out a TransitionProperty method in ElementPropertyTransition; r=jwatt 2015-04-14 09:11:44 +09:00
Xidorn Quan
b7d5622b6a Bug 1153634 - Weaken the assertion condition to make it match the condition before. r=roc
--HG--
extra : source : 5c7523cabf470da3aa4b1a6434b9dbc7521c85f4
2015-04-14 09:11:28 +12:00
Kartikaya Gupta
26c74e1f41 Bug 1148889 - Fuzz some android tests. r=mstange 2015-04-08 11:57:17 -04:00
Kartikaya Gupta
b9a14bea3c Bug 1148889 - Treat subclasses of scrollframes as animated geometry roots. r=mstange 2015-04-13 16:11:08 -04:00
Markus Stange
266307725b Bug 1141089 - Check that we're unsetting sDestroyedFrame correctly. r=roc
--HG--
extra : rebase_source : 7e88934f0bfe1753423925d96917db1ff85d8e7c
2015-04-10 17:34:28 -04:00
Markus Stange
591611146d Bug 1141089 - Turn these two assertions into release assertions. r=roc
--HG--
extra : rebase_source : dbdaa24b17ce6c6b6746233cbd7c1c3fe3efa03d
2015-04-10 17:34:04 -04:00
Markus Stange
1cc08a8e75 Bug 1141089 - Use const nsTArray* in all the places where we don't change the array's contents. r=roc
--HG--
extra : rebase_source : 4fa139270347b9fa031c2d63c423b333b19f2ff7
2015-04-10 17:42:42 -04:00
Markus Stange
d40c904a58 Bug 1141089 - Add a few more MOZ_RELEASE_ASSERT(mLayer) checks, just for fun. r=roc
--HG--
extra : rebase_source : 8f8c75dd60f08aac6beaea088c3bd9210898d799
2015-04-10 17:30:09 -04:00
Markus Stange
f3f481c41f Bug 1141089 - Remove unused DisplayItemData copy constructor. r=roc
--HG--
extra : rebase_source : 50f0d21ccd6fdac5769caeebf8ec95a2d7174d2d
2015-04-10 17:23:22 -04:00
Markus Stange
af62baff7f Bug 1141089 - Initialize DisplayItemData with a non-null mLayer, so that mLayer is non-null throughout the object's whole lifetime. r=roc
--HG--
extra : rebase_source : 5d924989657f4356e25f02be3b2df725f9ff39af
2015-04-10 17:11:04 -04:00
Nathan Froyd
2b1ae6e2ca Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00