Commit Graph

236880 Commits

Author SHA1 Message Date
Mats Palmgren
f08a2e7cd6 Bug 1149784 - Make nsSubDocumentFrame::GetMarginAttributes use CSSIntSize instead of the unit-less nsIntSize. r=roc 2015-03-31 22:09:02 +00:00
Andreas Tolfsen
588f110218 Bug 1149625: Order errors by name rather that status code
This patch has no functional changes, apart from correctly naming
InvalidElementStateError and exporting it.  It's not currently in use.

r=dburns
2015-03-31 18:00:32 +01:00
L. David Baron
e3cb739aae Bug 847287 patch 13 - Apply animations/transitions on the layer in the order that reflects how they override, rather than the opposite. r=birtles
This independently would have fixed some of the problems fixed in this
bug.  It would not have fixed them fully, though, since it would not
have prevented us from sending animations being covered up by !important
rules to the compositor.
2015-03-31 15:05:55 -07:00
L. David Baron
6f05bcb599 Bug 847287 patch 12 - Check mWinsInCascade for all callers of GetAnimationOfProperty/HasAnimationOfProperty. r=birtles
This patch (after stepping through the call graph) affects the following
places:
 * CommonAnimationManager::GetAnimationsForCompositor, which is used
   only by nsDisplayListBuilder::AddAnimationsAndTransitionsToLayer,
   which already checks the individual animations (so really no change)
 * AnimationPlayerCollection::CanThrottleAnimation
 * ActiveLayerTracker::IsStyleAnimated
 * nsLayoutUtils::HasAnimationsForCompositor
 * nsLayoutUtils::HasAnimations (which is used only to check whether we
   can make the 0-opacity optimization)
I believe it makes sense to change all of these locations (although in
the long term we want to throttle (or similar) more animations).

Without this patch, I believe we're forcing the creation of an opacity
layer because we think we have animations to send to it.
2015-03-31 15:05:55 -07:00
L. David Baron
1ef4898ed4 Bug 847287 patch 11 - Only check that we can throttle animations once per refresh cycle (or invalidation of style rule), to make it cheaper to call EnsureStyleRuleFor more than once per refresh cycle. r=birtles
This saves some extra work that we don't need to do.

Mechanically, the patch moves a chunk of code that is around the last
part of the function and converts it to an early return that's slightly
earlier than that last part, thus also including the skipping of the
throttling checks in what we skip for the early return.

I want to do this here since patch 9 introduces a new call to
EnsureStyleRuleFor.
2015-03-31 15:05:55 -07:00
L. David Baron
36b02a54c8 Bug 847287 patch 10 - Only call CheckNeedsRefresh if we might have changed mNeedsRefreshes, to make it cheaper to call EnsureStyleRuleFor more than once per refresh cycle. r=birtles
This saves some extra work that we don't need to do.

I want to do this here since patch 9 introduces a new call to
EnsureStyleRuleFor.
2015-03-31 15:05:55 -07:00
L. David Baron
03ed7e0a31 Bug 847287 patch 9 - Use fully-updated style rule for animations when updating cascade results for transitions. r=birtles
I don't have a test case that requires this, but it seems like a good
idea.  (It was an incorrect theory for fixing a test failure that I was
debugging, but still seems worth doing.)
2015-03-31 15:05:55 -07:00
L. David Baron
bd7aee8ee0 Bug 847287 patch 8 - Only update transition manager's cascade results when an animation starts or stops being in effect. r=birtles
This avoids some extra work that was added in bug 1125455 now that we
have a mechanism for detecting when animations start and stop being in
effect (introduced in patch 7).

This is also needed to prevent infinite recursion in patch 9.
2015-03-31 15:05:54 -07:00
L. David Baron
4c6292aa32 Bug 847287 patch 7 - Dynamically update cascade results when animations start or stop being in effect. r=birtles
This is an additional part of the main work in this bug; it keeps
mWinsInCascade updated in cases where we need to update it.
2015-03-31 15:05:54 -07:00
L. David Baron
6144ef5a6a Bug 847287 patch 6 - Set mWinsInCascade for CSS Animations. r=birtles
This is the main patch for the bug; it makes us use the mechanism added
in bug 1125455 to avoid sending animations that aren't currently
applying to the compositor.

Patch 7 is needed to make this code rerun in all the cases where we need
to rerun it, though.
2015-03-31 15:05:54 -07:00
L. David Baron
31e337af48 Bug 847287 patch 5 - Add method to update animations on layer. r=birtles
This does somewhat less work than PostRestyleForAnimation, although I
believe PostRestyleForAnimation would be a sufficient alternative.

This is used in patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron
ee1b9da9da Bug 847287 patch 4 - Add a method to nsRuleNode that reports the properties overriding a CSS animation. r=birtles
This is used in patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron
23cf8065fa Bug 847287 patch 3 - Add assertions about consistency of the flags for animating on the compositor. r=birtles
These flags were added in patch 2.
2015-03-31 15:05:54 -07:00
L. David Baron
4d2ac9211c Bug 847287 patch 2 - Add flag for CSS properties that can be animated on the compositor. r=birtles
Patch 3 adds sanity-checks to check these flags against other equivalent
data.

This flag is used in patch 5 and patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron
2e41910052 Bug 847287 patch 1 - Add additional tests. r=birtles
All of the todos will be fixed by later patches in this bug (as will
some already-existing todos in the same file).
2015-03-31 15:05:54 -07:00
Zachary Carter
75556cf401 Bug 1148565 - Add the default profile image to Aero theme r=markh 2015-03-31 15:03:11 -07:00
Zachary Carter
71244f9afa Bug 1140627: Make FxAccountsCommon.js variable OAUTH_SERVER_ERRNO_OFFSET non-const, to fix JS warning. r=dholbert 2015-03-31 15:01:31 -07:00
Byron Campen [:bwc]
2af11092fa Bug 1148649: Reenable video multistream mochitests on debug e10s. r=drno 2015-03-26 13:03:29 -07:00
Tom Schuster
b41e81399c Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Andrea Marchesini
659d9f8f1b Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-03-31 22:11:47 +01:00
Wes Kocher
7f09d808a9 Backed out changeset 976f64497fbc (bug 1148032) for static analysis bustage 2015-03-31 14:07:07 -07:00
Sean Stangl
1246a5ff34 Bug 1148375 - Ignore unhandled Elements. r=jandem 2015-03-30 13:34:19 -07:00
Andrea Marchesini
aa3169190b Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-03-31 21:36:36 +01:00
Andrew Halberstadt
c7ea7a3f9c Bug 862730 - Fix kill and get stack regression with b2g devices/emulators, r=davehunt 2015-03-26 09:33:24 -04:00
Ehsan Akhgari
f1c2587827 Bug 1149174 - Add a test to ensure that XPCOM nsTArray range iterators are stable; r=froydnj 2015-03-31 16:29:58 -04:00
Monica Chew
26c2c18c22 Bug 1108017: Loosen third-party restrictions for tracking protection checks (r=sworkman) 2015-03-31 13:18:38 -07:00
Sean Stangl
b4e05fae28 Bug 1146619 - Rename "Prolog" to "Prologue" everywhere. r=efaust 2015-03-23 14:13:26 -07:00
Tom Tromey
f6b5fef8a8 Bug 1149194 - Don't use uninitialized value in ComputedTimingFunction::operator==. r=bbirtles 2015-03-30 09:44:00 -04:00
Boris Kudryavtsev
9e2aa5f382 Bug 1139158 - Actions made availabe via marionette_driver object. r=jgriffin 2015-03-30 16:57:00 -04:00
Ryan VanderMeulen
66ef41dbb8 Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-31 15:01:26 -04:00
Ryan VanderMeulen
e2fdc6ba62 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-03-31 14:41:03 -04:00
Ryan VanderMeulen
a4ec6c83b4 Merge inbound to m-c. a=merge 2015-03-31 14:08:52 -04:00
Ryan VanderMeulen
2727bde833 Merge b2g-inbound to m-c. a=merge 2015-03-31 13:58:31 -04:00
Ryan VanderMeulen
122fbb1c64 Bug 1026815 - Disable test_bug565388.xul on Linux and OSX for frequent failures. a=test-only 2015-03-31 13:54:19 -04:00
Daniel Holbert
30a1dd3e6a Bug 1092102, followup 2: Add missing 'override' annotation to WorkerDebuggerSandboxPrivate::GetGlobalJSObject() (and 'virtual', for consistency). rs=ehsan 2015-03-31 10:41:20 -07:00
Ryan VanderMeulen
f963c3b57b Bug 1136780 - Disable test_fetch_event.html for frequent failures on all platforms. a=me 2015-03-31 13:23:37 -04:00
B2G Bumper Bot
232c4a7d80 Bumping manifests a=b2g-bump 2015-03-31 09:02:24 -07:00
Ryan VanderMeulen
df418065ad Backed out changeset 95866bc69415 (bug 1144409) for bustage. 2015-03-31 11:16:29 -04:00
Ryan VanderMeulen
d44bf013b4 Backed out changeset 13c7176938cd (bug 1144409) 2015-03-31 11:16:21 -04:00
Carsten "Tomcat" Book
889e5d30e1 merge mozilla-inbound to mozilla-central a=merge 2015-03-31 14:43:50 +02:00
Carsten "Tomcat" Book
a441107181 merge fx-team to mozilla-central a=merge 2015-03-31 14:24:33 +02:00
B2G Bumper Bot
0a52df4540 Bumping manifests a=b2g-bump 2015-03-31 02:18:07 -07:00
B2G Bumper Bot
c525883ba2 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f69a6e0dc3d8
Author: Arthur Chen <crh0716@gmail.com>
Desc: Merge pull request #29188 from crh0716/1145756

Bug 1145756 - Set the cached value r=eragonj

========

https://hg.mozilla.org/integration/gaia-central/rev/2d5fba7ffd44
Author: Arthur Chen <crh0716@gmail.com>
Desc: Bug 1145756 - Set the cached value

========

https://hg.mozilla.org/integration/gaia-central/rev/4c84d2fae257
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1011478 - merge pull request #19323 from julienw:debug-mode-check-default-browser to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/40e95e68d973
Author: Julien Wajsberg <felash@gmail.com>
Desc: Bug 1011478 - Disable browser.shell.checkDefaultBrowser also in DEBUG builds r=rickychien
2015-03-31 02:15:33 -07:00
B2G Bumper Bot
f70926ba81 Bumping manifests a=b2g-bump 2015-03-31 01:53:11 -07:00
B2G Bumper Bot
7a0b23d57d Bumping gaia.json for 6 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/4dde119a4112
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Merge pull request #29221 from ferjm/bug1052227.inapppaytestapp-2

Bug 1052227 - Move inapp pay test to packaged to avoid mochitest failure...

========

https://hg.mozilla.org/integration/gaia-central/rev/0234e835f4e3
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Bug 1052227 - Move inapp pay test to packaged to avoid mochitest failures. r=kumar

========

https://hg.mozilla.org/integration/gaia-central/rev/6155657943c8
Author: albertopq <albert.pastor@gmail.com>
Desc: Merge pull request #29226 from albertopq/1144591-landscape-lockscreen

Bug 1144591 - Moving the SHB when switching orentiation in a secure app r=mhenretty

========

https://hg.mozilla.org/integration/gaia-central/rev/fecc1e975452
Author: albertopq <albert.pastor@gmail.com>
Desc: Bug 1144591 - Moving the SHB when switching orentiation in a secure app

========

https://hg.mozilla.org/integration/gaia-central/rev/bd36804a5a24
Author: albertopq <albert.pastor@gmail.com>
Desc: Merge pull request #29219 from albertopq/1148003-system-update

Bug 1148003 - Moving system dialogs under lockscreen r=mhenretty

========

https://hg.mozilla.org/integration/gaia-central/rev/def4429b4f37
Author: albertopq <apastor@mozilla.com>
Desc: Bug 1148003 - Moving system dialogs under lockscreen r=mhenretty
2015-03-31 01:50:35 -07:00
B2G Bumper Bot
fab2baa4fa Bumping manifests a=b2g-bump 2015-03-31 01:07:59 -07:00
B2G Bumper Bot
25e81f3f49 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/e6ba79372887
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1146804 - merge pull request #29087 from mnjul:bug_1146804_xml2dict_js to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/77c68197d728
Author: John Lu [:mnjul] <jlu@mozilla.com>
Desc: Bug 1146804 - Create file front-end for word_list_converter.js

xml2dict.js can now perform the function of xml2dict.py. It requires node.js (as does Gaia build environment), and xml2js npm package. Makefile has been modified accordingly and would target the xml2js dependency as a phony.

========

https://hg.mozilla.org/integration/gaia-central/rev/6a7b28fe3417
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 994357 - merge pull request #29243 from stasm:994357-reland to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/e987d3661dee
Author: Staś Małolepszy <stas@mozilla.com>
Desc: Bug 994357 - Use DOM overlays for safely setting node content. r=gandalf
2015-03-31 01:05:26 -07:00
Mike Hommey
0d9cc2585e Bug 1149416 - Don't make free-nonheap-object warning an error on a CLOSED TREE . r=glandium 2015-03-31 16:36:37 +09:00
Shu-yu Guo
b23504c8d2 Bug 1145781 - Fix hazard on a CLOSED TREE. 2015-03-30 23:56:53 -07:00
B2G Bumper Bot
84944c933c Bumping manifests a=b2g-bump 2015-03-30 23:03:01 -07:00