Commit Graph

45313 Commits

Author SHA1 Message Date
Ehsan Akhgari
a1a0553b7d Bug 1155488 - Mark nsIPresShell::mHiddenInvalidationObserverRefreshDriver as MOZ_UNSAFE_REF; r=roc 2015-04-18 19:08:24 -04:00
Ehsan Akhgari
923ff8e7e4 Bug 1155485 - Mark nsFrameManagerBase::mPresShell as MOZ_NON_OWNING_REF; r=roc 2015-04-18 19:08:21 -04:00
Ehsan Akhgari
f9076fe89f Bug 1155478 - Use smart pointers for three members of nsIPresShell; r=roc 2015-04-18 19:08:18 -04:00
Daniel Holbert
2557a4c19e Bug 1155880 part 3: Rename nsTableFrame::GetColumnWidth to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:27 -07:00
Daniel Holbert
d4904872c9 Bug 1155880 part 2: Rename nsTableColFrame Get/Set/ResetFinalWidth methods to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:26 -07:00
Daniel Holbert
2f0de265e8 Bug 1155880 part 1: Rename nsITableLayoutStrategy::ComputeColumnWidths and associated comments to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:24 -07:00
Daniel Holbert
31279a26d4 Bug 1155412: Use mozilla::Maybe instead of hardcoded placement-new, for reflow state created in nsTableOuterFrame::OuterBeginReflowChild() and used by its caller. r=dbaron 2015-04-17 15:56:01 -07:00
Ehsan Akhgari
d7b425cef6 Bug 1155359 follow-up: Disable the test on B2G and Mulet
Landed on a CLOSED TREE
2015-04-17 16:38:20 -04:00
Daniel Holbert
1e4637780c Bug 1155798: Drop end-of-line whitespace from C++ files in layout/tables. (whitespace-only, no review, DONTBUILD) 2015-04-17 11:42:05 -07:00
Ehsan Akhgari
6cff744014 Bug 1112469 - Part 4: Disable periodic updates of service workers when running tests; r=nsm
This is meant to avoid random issues with Gecko suddenly kicking off the
periodic updates in the middle of our test runs.  This uses a hidden pref
intentionally since nobody should be able to discover this pref by going
to about:config.
2015-04-17 14:06:02 -04:00
Ehsan Akhgari
41df4b9686 Bug 1112469 - Part 1: Implement an XPCOM service responsible to trigger daily updates of service workers; r=nsm
--HG--
rename : dom/base/nsDOMCID.h => dom/workers/ServiceWorkerPeriodicUpdater.cpp
rename : dom/base/nsDOMCID.h => dom/workers/ServiceWorkerPeriodicUpdater.h
2015-04-17 13:59:49 -04:00
Daniel Holbert
51fe298034 Bug 1155312: Convert flex container nsHTMLReflowMetrics/aDesiredSize-populating code to use logical coords. r=mats 2015-04-17 10:41:23 -07:00
Ehsan Akhgari
1024e50281 Bug 1155359 - Add a reftest; r=gw280 2015-04-17 13:03:11 -04:00
George Wright
9ac0794124 Bug 1155359 - Set NS_FRAME_IS_BIDI on nsTextBoxFrame if text direction is set to RTL r=roc 2015-04-15 16:00:29 -04:00
Carsten "Tomcat" Book
d518336551 Backed out changeset 5ef9825777a2 (bug 1021499) 2015-04-17 13:14:13 +02:00
Alessio Placitelli
748aeb48ed Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Morris Tseng
6176571161 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 +02:00
L. David Baron
2e174d9799 Back out changeset 60b7888a323b (bug 947753 / bug 1122526) for Mac OS X mochitest-4 failure.
The failure was:
TEST-UNEXPECTED-FAIL | gfx/tests/mochitest/test_acceleration.html | Acceleration enabled on x86-64 OS X - didn't expect 0, but got it

I'm guessing this is because we're calling GetLayerManager earlier than
we were before.

CLOSED TREE
2015-04-16 20:19:03 -07:00
L. David Baron
c83c61bfca Bug 947753 / Bug 1122526 - Don't claim to support off-main-thread animations when the nearest widget is not using OMT compositing. r=birtles
This moves the test for whether off-main-thread compositor is enabled
*earlier* in CanPerformOnCompositorThread, since
CanAnimatePropertyOnCompositor is called only from
CanPerformOnCompositorThread.  This change means we're using a more
accurate test for whether we actually have off-main-thread compositing
than the pref, since in some cases we won't use off-main-thread
compositing for certain widgets (e.g., transparent widgets on Windows)
even when the pref is enabled.
2015-04-16 18:36:29 -07:00
L. David Baron
b3c27e4396 Bug 1153426 - Don't crash when doing an off-main-thread animation of a transform to or from the 'none' value. r=birtles
I confirmed locally (with ./mach mochitest-plain --e10s on Linux) that
the added test crashes without the patch and passes with the patch.
2015-04-16 18:13:15 -07:00
Cameron McCormack
84ff03514a Bug 1154149 - Remove nsPresContext arguments from a bunch of nsStyleSet methods. r=dbaron 2015-04-17 11:09:59 +10:00
Cameron McCormack
9e48addb00 Bug 1155030 - Fix asterix/asterisk misspelling. r=ehsan 2015-04-17 11:09:58 +10:00
Ryan VanderMeulen
a4f44fd976 Merge m-c to inbound. a=merge 2015-04-16 16:21:05 -04:00
Ryan VanderMeulen
96f0034585 Merge inbound to m-c. a=merge 2015-04-16 16:18:13 -04:00
Jonathan Kew
3e35a581c5 Bug 1151993 followup - adjust fuzz annotation for reftest 1136557-2-nested-spans on Windows. no_r=orange 2015-04-16 20:57:31 +01:00
Carsten "Tomcat" Book
b79fa6d217 Merge mozilla-central to fx-team 2015-04-16 12:49:21 +02:00
Xidorn Quan
61deda4f23 Bug 1154814 - Move font rules from 'rt' to 'rtc, rt' and make text-emphasis conditional. r=heycam
--HG--
extra : source : 1e1638a97e74b38b9e6fdce36af7371a12abe9d1
2015-04-16 13:42:56 +12:00
Xidorn Quan
7d994fe0ce Bug 1153764 - Avoid explicitly doing break before when there is ruby span. r=roc
--HG--
extra : source : c4436462f86b0c33f98254b9d067c173702b666a
2015-04-16 13:42:45 +12:00
Ryan VanderMeulen
4a1793fa7f Merge inbound to m-c. a=merge 2015-04-15 21:22:31 -04:00
Gijs Kruitbosch
e3257e1ae0 Bug 1135545 - disable test on Win8 for frequent failures with no plausible explanation (showing start screen), rs=me
--HG--
extra : rebase_source : 715e1fb09b589d510b72c2264889fe67fe6fb72b
2015-04-16 10:12:46 +01:00
Nathan Froyd
1e6cdad33c 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
Ryan VanderMeulen
f4d90a3b7a Merge m-c to inbound. a=merge 2015-04-15 15:34:40 -04:00
Ryan VanderMeulen
22018c1631 Bug 1123563 - Remove extra space that was accidentally added. a=bustage 2015-04-15 15:33:19 -04:00
Ryan VanderMeulen
3ebfa611d7 Merge m-c to inbound. a=merge
IGNORE IDL

--HG--
extra : amend_source : 778e98f1365079cf61c444c6e9b3114e069c5b7b
2015-04-15 15:15:32 -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
Botond Ballo
148a784118 Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan
--HG--
extra : rebase_source : 175254c3f78cd06bf72e2a25da12eff7a174f87e
extra : source : 0bf92001a2f715b5c20aefc039c30e926b9789c0
2015-04-14 13:19:10 -04:00
Ehsan Akhgari
b45984a848 Bug 1004383 follow-up: Mark ElementPropertyTransition::AsTransition() as override 2015-04-15 11:49:59 -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
peter chang
db3a383adb Bug 1127170 - Add TYPE_RENDERS_NO_IMAGES for display item with transform type to bypass invalidation during image decode. r=mattwoodrow
--HG--
extra : histedit_source : 374a26e432e9da4cde638befd12bfff54e9c9c60
2015-03-22 23:32:00 -04:00
Nathan Froyd
d876b3e545 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04: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