L. David Baron
598c0d4122
Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow
2014-03-04 20:13:22 -08:00
L. David Baron
6a0c7b3f88
Bug 828173 patch 4: Expose AddAnimationsAndTransitionsToLayer and allow it to be called from style change handling. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
6dd37cbb18
Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
3a3230d07c
Bug 828173 patch 3: Add a concept of pending animations to Layer, like pending transform. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
33a1acf4a8
Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
...
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08:00
L. David Baron
0cc7253609
Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
a632cf17a5
Bug 978903: Fix some uninitialized variable warnings in the CSS parser. r=heycam
...
The first provides a reasonable default (failure to parse) for the case
of an unknown value type (which should never happen).
The second reorders two failure checks so that the one that returns
early when units is uninitialized happens before the one that looks at
units.
2014-03-04 20:13:20 -08:00
L. David Baron
99fe2c6a0f
Bug 978648: Handle dynamic changes to @keyframes rules and keyframe rules better. r=heycam
2014-03-04 20:13:20 -08:00
L. David Baron
af015e471f
Bug 621618 patch 4: Make conditions in Element::RemoveFromIdTable match those in AddToIdTable, to avoid asymmetric calls to the document's functions. r=bzbarsky
2014-03-04 20:13:20 -08:00
L. David Baron
2367771127
Bug 621618 patch 3: Add FIXMEs in nsXULDocument for ID handling. r=bzbarsky
2014-03-04 20:13:20 -08:00
L. David Baron
ac15812b00
Bug 621618 patch 2: Make nsXMLElement reuse Element::AddToIdTable and Element::RemoveFromIdTable thoroughly. r=bzbarsky
2014-03-04 20:13:20 -08:00
L. David Baron
5be0db86fb
Bug 621618 patch 1: Remove BindToTree overrides in nsXMLElement that exist only to make AddToIdTable/RemoveFromIdTable calls already in the base class (Element). r=bzbarsky
...
I think this could have been done as part of Bug 700981 part 2, which
moved AddToIdTable and RemoveFromIdTable calls from nsStyledElement to
nsGenericElement.
2014-03-04 20:13:20 -08:00
L. David Baron
c756924cf8
Bug 976777: Truncate long source lines in script errors before sending them to the parent process. r=bent
...
This fixes an out-of-memory foreground-tab crash that I could reliably
reproduce on a 256MB Firefox OS phone, and I think also significantly
reduces the number of background tabs I'm seeing killed due to low
memory.
2014-03-04 20:13:19 -08:00
L. David Baron
a63ef45bd2
Fix merge error between bug 872273 (changeset 46df3fd9b0dc) and bug 946065 (changeset 243259fda9ab) and move this test to the directory where it's listed in mochitest.ini so it will actually be run. No review.
...
Bug 979640 is filed on making this mistake harder.
--HG--
rename : content/xbl/test/test_bug872273.xhtml => dom/xbl/test/test_bug872273.xhtml
2014-03-04 20:13:19 -08:00
Jim Blandy
50018f6a4d
Bug 800200: Print a deprecation warning to the console when JSD is first used. r=bholley
2014-03-04 20:09:15 -08:00
Matthew Gregan
a41d42b3f5
Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir
2014-03-05 16:35:47 +13:00
Matthew Gregan
b9478e3792
Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir
2014-03-05 16:35:47 +13:00
Matthew Gregan
90007339f3
Bug 979096 - Rename PR_LOG uses to MSE_LOG in content/media/mediasource. r=cajbir
2014-03-05 16:35:46 +13:00
Andrea Marchesini
f9cfcef2a3
Bug 966054 - MessagePort should use StructuredCloneBuffer as internal member, r=smaug
2014-03-05 03:28:20 +00:00
Andrea Marchesini
f247026039
Bug 979109 - termination string check in Console.cpp, r=smaug
2014-03-05 03:22:32 +00:00
Ehsan Akhgari
3e3cabcaaf
Bug 979681 - Correctly handle SOURCES.flags for sources with relative paths in them; r=glandium
2014-03-04 21:36:16 -05:00
Jed Davis
cfaafc654d
Bug 946407 - Disable sandbox when DMDing. r=njn r=kang
...
See also bug 956961.
2014-03-04 18:27:14 -08:00
Jed Davis
6a4c4691a0
Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
...
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Wes Kocher
b4dd408494
Backed out changeset f814a1a08de6 (bug 865241) for failing at least once per push since the test landed
2014-03-04 18:22:18 -08:00
William Chen
e1d3d37020
Bug 901319 - Implement HTML spec change to Adoption Agency Algorithm to not reverse the order of nodes in the document, by removing nodes that we're not recreating from the stack of open elements. r=hsivonen
2014-03-04 18:06:15 -08:00
William Chen
85c733191c
Bug 978398 - Rename custom element callbacks from enteredView/leftView to attached/detached. r=mrbkap
2014-02-28 17:45:31 -08:00
Seth Fowler
f46941cf7a
Bug 952354 - Draw non-premultiplied alpha raster image frames if the frame is opaque. r=jrmuizel
...
--HG--
extra : rebase_source : 62956f725b3a4765a7617a37bf79b4be2e37c739
2014-03-04 17:59:03 -08:00
Eitan Isaacson
05be99d38f
Bug 976274 - Introduce hide support. r=yzen
2014-03-04 17:49:27 -08:00
Eitan Isaacson
1b35433cbc
Bug 976271 - Add dialog tests to jsat suite. r=yzen
2014-03-04 17:49:27 -08:00
Eitan Isaacson
69b9dffd6c
Bug 965537 - [AccessFu] Introduce ContentControl. r=yzen
2014-03-04 17:49:27 -08:00
Mihaela Velimiroviciu
1d73211714
Bug 959973 - Add tests for using variables in external style sheets. r=heycam,ted
2014-03-05 12:29:44 +11:00
Brian Birtles
eb542f3937
Bug 972199 part 3 - Fix comment in ElementAnimations::GetPositionInIteration; r=nrc
...
Make comment reflect current parameter names.
2014-03-05 10:19:16 +09:00
Brian Birtles
da2e87c2ff
Bug 972199 part 2 - Add a crashtest for restoring the refresh driver after an advance; r=nrc
...
In this crash test we restore the refresh driver after manually advancing it.
This causes a situation where a layer has an animation that has yet to start.
Prior to modifying ElementAnimations::GetPositionIteration this test case would
trip an assertion there that rejected negative elapsed times when called from
the compositor thread.
2014-03-05 10:19:15 +09:00
Brian Birtles
32a6b5d8fd
Bug 972199 part 1 - Make SampleAnimations filter out animations that are yet to start; r=nrc
...
When restoring the refresh driver after testing we can arrive at a situation
where a layer has an animation that has yet to start. However, calling
ElementAnimations::GetPositionInIteration with a negative value from the
compositor thread is an error.
This patch detects animations on the compositor thread that are yet-to-start and
skips them when sampling. It also moves the activeAnimations = true line up as
otherwise we would need special logic to wake up the compositor after the delay
has finished.
2014-03-05 10:19:15 +09:00
Haitao Feng
888a5613a3
Bug 943769 Part 2 -- Set up SIMD inlining infrastructure r=nmatsakis
2014-03-04 20:06:26 -05:00
Haitao Feng
2580fda51f
Bug 943769 Part 1 -- Use macros to declare and define SIMD functions r=nmatsakis
2014-03-04 20:06:25 -05:00
Terrence Cole
8886b9baac
Bug 969012 - Use a second register for object allocation; r=jandem
...
--HG--
extra : rebase_source : 2cbc07d17ed3cf84fbc2590745a4c22a62ee573c
2014-02-17 17:39:14 -08:00
Ehsan Akhgari
bf09c6f469
Bug 976896 - Port STL_FLAGS to moz.build; r=mshal
2014-03-04 19:39:06 -05:00
Masayuki Nakano
d26caa0d74
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Daniel Schattenkirchner
70a03075f7
Bug 921761 - margin-collapsing test suite, wave 8; dynamic and additional cases for margins of a BFC; Multi-column margins; margins given in percent and em; r=dholbert
...
--HG--
rename : layout/reftests/margin-collapsing/block-abs-pos-1.html => layout/reftests/margin-collapsing/block-abs-pos-1-dyn.html
rename : layout/reftests/margin-collapsing/block-abs-pos-2.html => layout/reftests/margin-collapsing/block-abs-pos-2-dyn.html
rename : layout/reftests/margin-collapsing/block-float-1a.html => layout/reftests/margin-collapsing/block-float-1a-dyn.html
rename : layout/reftests/margin-collapsing/block-float-1b.html => layout/reftests/margin-collapsing/block-float-1b-dyn.html
rename : layout/reftests/margin-collapsing/block-float-2a.html => layout/reftests/margin-collapsing/block-float-2a-dyn.html
rename : layout/reftests/margin-collapsing/block-float-2b.html => layout/reftests/margin-collapsing/block-float-2b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1a.html => layout/reftests/margin-collapsing/block-no-content-1a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1b.html => layout/reftests/margin-collapsing/block-no-content-1b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-1c.html => layout/reftests/margin-collapsing/block-no-content-1c-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2a.html => layout/reftests/margin-collapsing/block-no-content-2a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2b.html => layout/reftests/margin-collapsing/block-no-content-2b-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2c.html => layout/reftests/margin-collapsing/block-no-content-2c-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-2d.html => layout/reftests/margin-collapsing/block-no-content-2d-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-3.html => layout/reftests/margin-collapsing/block-no-content-3a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-3.html => layout/reftests/margin-collapsing/block-no-content-3a.html
rename : layout/reftests/margin-collapsing/block-no-content-4.html => layout/reftests/margin-collapsing/block-no-content-4a-dyn.html
rename : layout/reftests/margin-collapsing/block-no-content-4.html => layout/reftests/margin-collapsing/block-no-content-4a.html
rename : layout/reftests/margin-collapsing/block-overflow-1.html => layout/reftests/margin-collapsing/block-overflow-1-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-2.html => layout/reftests/margin-collapsing/block-overflow-2-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-3.html => layout/reftests/margin-collapsing/block-overflow-3-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-4.html => layout/reftests/margin-collapsing/block-overflow-4-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5a.html => layout/reftests/margin-collapsing/block-overflow-5a-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5b.html => layout/reftests/margin-collapsing/block-overflow-5b-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5c.html => layout/reftests/margin-collapsing/block-overflow-5c-dyn.html
rename : layout/reftests/margin-collapsing/block-overflow-5d.html => layout/reftests/margin-collapsing/block-overflow-5d-dyn.html
rename : layout/reftests/margin-collapsing/block-percent-1.html => layout/reftests/margin-collapsing/block-percent-1-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-child-1.html => layout/reftests/margin-collapsing/fieldset-child-1-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1a.html => layout/reftests/margin-collapsing/fieldset-sibling-1a-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1b.html => layout/reftests/margin-collapsing/fieldset-sibling-1b-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-1c.html => layout/reftests/margin-collapsing/fieldset-sibling-1c-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2a.html => layout/reftests/margin-collapsing/fieldset-sibling-2a-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2b.html => layout/reftests/margin-collapsing/fieldset-sibling-2b-dyn.html
rename : layout/reftests/margin-collapsing/fieldset-sibling-2c.html => layout/reftests/margin-collapsing/fieldset-sibling-2c-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-child-1.html => layout/reftests/margin-collapsing/inline-block-child-1-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-child-2.html => layout/reftests/margin-collapsing/inline-block-child-2-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1a.html => layout/reftests/margin-collapsing/inline-block-sibling-1a-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1b.html => layout/reftests/margin-collapsing/inline-block-sibling-1b-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-1c.html => layout/reftests/margin-collapsing/inline-block-sibling-1c-dyn.html
rename : layout/reftests/margin-collapsing/inline-block-sibling-2.html => layout/reftests/margin-collapsing/inline-block-sibling-2-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-1a.html => layout/reftests/margin-collapsing/table-caption-1a-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-1b.html => layout/reftests/margin-collapsing/table-caption-1b-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2a.html => layout/reftests/margin-collapsing/table-caption-2a-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2b.html => layout/reftests/margin-collapsing/table-caption-2b-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-2c.html => layout/reftests/margin-collapsing/table-caption-2c-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-bottom-1.html => layout/reftests/margin-collapsing/table-caption-bottom-1-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-bottom-2.html => layout/reftests/margin-collapsing/table-caption-bottom-2-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-top-1.html => layout/reftests/margin-collapsing/table-caption-top-1-dyn.html
rename : layout/reftests/margin-collapsing/table-caption-top-2.html => layout/reftests/margin-collapsing/table-caption-top-2-dyn.html
2014-03-04 14:09:37 -08:00
Andrew McCreight
b08be36469
Bug 979047, part 5 - Make sure we have at least one early forgetSkippable timer fire. r=smaug
...
With ICC, ccDelay can get close to NS_CC_SKIPPABLE_DELAY, but we want to always want to run at least one forgetSkippable before the actual CC.
2014-03-04 16:21:48 -08:00
Andrew McCreight
150f32e631
Bug 979047, part 4 - Run ICCSliceTime() after PrepareForCollectionSlice. r=smaug
...
This way we take into account time spent finishing off a GC, or something.
2014-03-04 16:21:48 -08:00
Andrew McCreight
14d6458449
Bug 979047, part 3 - Make sure we trigger a GC after a current ICC when we poke the GC. r=smaug
2014-03-04 16:21:48 -08:00
Andrew McCreight
b6b53568d5
Bug 979047, part 2 - Remove unused endGCTime assignments. r=smaug
2014-03-04 16:21:48 -08:00
Andrew McCreight
97df06cc1d
Bug 979047, part 1 - Only clear mBeginSliceTime in EndCycleCollectionCallback. r=smaug
...
Run FinishCycleCollectionSlice only once per slice, and only if we've previously run PrepareForCycleCollectionSlice.
2014-03-04 16:21:48 -08:00
Geoff Brown
e215b0dd7d
Bug 979621 - Disable testNewTab on Android 2.3
2014-03-04 17:02:05 -07:00
Geoff Brown
f2a3a2be8a
Bug 979620 - Disable testGetUserMedia on Android 2.3
2014-03-04 17:02:05 -07:00
Geoff Brown
b3e49137e4
Bug 948591 - Disable testClearPrivateData on Android 2.3
2014-03-04 17:02:05 -07:00
Geoff Brown
41fe2d4159
Bug 979615 - Disable testBookmarksPanel on Android 2.3
2014-03-04 17:02:05 -07:00
Geoff Brown
4933eb56e6
Bug 979612 - Disable testPictureLinkContextMenu on Android 2.3
2014-03-04 17:02:04 -07:00