Commit Graph

32391 Commits

Author SHA1 Message Date
Wes Kocher
385a971f77 Backout 977aab16aad3 (bug 1119462) for Android build bustage 2015-01-08 16:15:27 -08:00
Tom Schuster
286dcbbfc3 Bug 1110759 - Remove Iterator() from some tests. r=smaug 2015-01-08 19:58:45 +01:00
Jan Varga
668b9c3a71 Bug 1119462 - Allow unlimited quota for explicit persistent storage; r=bent 2015-01-09 00:31:50 +01:00
Brian Birtles
483f9be18f Bug 1112480 part 10 - Mark css-animations/test_animation-pausing.html and css-transitions/test_animation-pausing.html as no longer failing; r=jwatt
With this updated approach to starting pending animations, these tests should no
longer fail on Mac 10.8 or Windows.
2015-01-09 07:57:59 +09:00
Brian Birtles
816dbf54ef Bug 1112480 part 9 - Remove call to PostUpdate from AnimationPlayer::ResumeAt; r=jwatt
Since pending animations are no longer started outside of a style update, we no
longer need to call PostUpdate from ResumeAt.
2015-01-09 07:57:58 +09:00
Brian Birtles
a31477d9b4 Bug 1112480 part 8 - Remove AnimationTimeline::FastForward; r=jwatt
Now that we don't actually start pending animations until the following refresh
driver tick we no longer need to be able to fast-forward the AnimationTimeline
between ticks.
2015-01-09 07:57:58 +09:00
Brian Birtles
7a9094aa6e Bug 1112480 part 7 - Add checking for orphaned players; r=jwatt
When a player is made pending, we rely on it being added to a pending player
tracker that will eventually start the player. However, there are a few
situations where this might not happen. For example, we can't find a pending
player tracker (e.g. there's no source content or the source content isn't
attached to a document), or the pending player tracker disappeared.

In these cases we still want to ensure that such a player does actually get
started. This patch attempts to detect such situations and start players
accordingly.

There are, unfortunately, currently no tests for this. I have been unsuccessful
in recreating any of the situations these tests are supposed to cover.
2015-01-09 07:57:58 +09:00
Brian Birtles
ac47cd0a02 Bug 1112480 part 6 - Make PendingPlayerTracker call StartOnNextTick; r=jwatt
This patch switches on the new, "actually start the player in the next refresh
driver tick" behavior. It updates PendingPlayerTracker, adding
a StartPendingPlayersOnNextTick method which calls the appropriate method on
AnimationPlayer. The existing StartPendingPlayers is renamed to
StartPendingPlayersNow and is used for testing only.

Furthermore, since we now expect AnimationPlayer::StartOnNextTick to be
functional, AnimationPlayer::DoPlay is updated to use it when there is no
document available. This should make playing an animation player always
asynchronous, that is, always transition to the pending state temporarily
(unless we are already playing).
2015-01-09 07:57:58 +09:00
Brian Birtles
9eb65d26c7 Bug 1112480 part 5 - Add AnimationTimeline::IsUnderTestControl; r=jwatt
Earlier in this patch series we added AnimationPlayer::StartOnNextTick which
takes a ready time parameter expressed in timeline time. In order to call this
method when painting finishes we need to convert the TimeStamp recorded when
painting finished to a timeline time. However, when the timeline is driven by
a refresh driver under test control we can no longer meaningfully do this
conversion since there is no correspondence between the notion of time used to
record the time when painting finished (wallclock time) and the notion of time
used by the timeline (which has been arbitrarily adjusted by test code).

We need a way to detect this situation so that we know not to call
ToTimelineTime in that case.

Alternatively, we could make ToTimelineTime automatically return a null value
when its refresh driver is under test control. However, in this situation
ToTimelineTime can still actually be used to convert a TimeStamp to a timeline
time as long as the TimeStamp is from the same refresh driver. Indeed,
GetCurrentTime does exactly that. So if we were to go down that route we would
have to provide a way for GetCurrentTime to work around that restriction.

For now, this patch puts the onus on the caller of ToTimelineTime to check if
the timeline is under test control first (unless they are passing a TimeStamp
from the same refresh driver, in which case there is no need to check).
2015-01-09 07:57:58 +09:00
Brian Birtles
f13b2102bb Bug 1112480 part 4 - Use mPendingReadyTime in AnimationPlayer::Tick; r=jwatt
This patch makes AnimationPlayer act on requests to StartOnNextTick by checking
for mPendingReadyTime on each tick.

We also check that the ready time is not in the future since currently it might
be possible that we get multiple calls to AnimationPlayer::Tick within a single
refresh driver tick.

Note that this patch shouldn't actually produce any observable change yet,
however, since we don't call StartOnNextTick anywhere.
2015-01-09 07:57:58 +09:00
Brian Birtles
8fbf68a16a Bug 1112480 part 3 - Add AnimationPlayer::StartOnNextTick; r=jwatt
Adds a method that schedules an animation player to begin on the next tick using
the supplied time as the start time.

We don't call this yet, however, but simply add the method and the
mPendingReadyTime member it sets.
2015-01-09 07:57:58 +09:00
Brian Birtles
cc7ea10335 Bug 1112480 part 2 - Factor out ResumeAt; r=jwatt
In addition to AnimationPlayer::StartNow, this patch series also makes
AnimationPlayer::Tick start animations.

Since these methods will share a lot of code we first factor out a common
ResumeAt method to encapsulate the common code.
2015-01-09 07:57:58 +09:00
Brian Birtles
c6ebd438ae Bug 1112480 part 1 - Adjust tests to accommodate changed animation start behavior; r=jwatt
In this patch series we adjust the behavior of animation starting so that the
animation does not actually start until the following refresh driver tick. This
requires some tweaks to tests to ensure they continue to pass.
2015-01-09 07:57:58 +09:00
Aaron Klotz
322fad8ad3 Bug 1119060: Ensure that PluginProcessParent::mLaunchCompleteTask is non-null until the runnable has executed; r=gfritzsche
--HG--
extra : rebase_source : 302721483298af54b2e0f585583150c04e5eba8d
2015-01-07 18:01:51 -07:00
Jan Varga
0adbc46b12 Bug 1110585 - Inconsistent timestamp in storage metadata file; r=bent 2015-01-08 23:38:53 +01:00
Christoph Kerschbaumer
1bf832faa9 Bug 1118534 - Comment updates in nsIContentPolicy, nsIOService.idl, nsNetutil.h, NetUtil.jsm (r=sicking) 2015-01-06 17:01:07 -08:00
Andrew McCreight
c9b9054838 Backout bug 1052793 for exposing bad decommitting behavior for compartmental GCs. 2015-01-08 09:54:13 -08:00
Benjamin Smedberg
baaf4bfeb4 Bug 869208 - Increase the buffer size we're using to deliver network streams to OOPP plugins, r=aklotz
--HG--
extra : rebase_source : 5be95b5e0d48b6429f5cd868432b2633a83d9800
2015-01-06 12:40:15 -05:00
Boris Zbarsky
bad2ee9b82 Bug 1117167. Make the generated implementation classes for JS-implemented bindings store an nsIGlobalObject, not an nsPIDOMWindow, so we can use them in sandboxes. r=peterv 2015-01-08 11:57:19 -05:00
Boris Zbarsky
ef4aa6e180 Bug 1112761 part 2. Enable MediaSource based on a whitelist, not in general. r=kinetik 2015-01-08 11:57:11 -05:00
Boris Zbarsky
a4c77d8da7 Bug 1112761 part 1. Replace Pref="media.mediasource.enabled" annotations in IDL with calls to a function which will end up doing something a bit more interesting. r=kinetik 2015-01-08 11:57:10 -05:00
Ben Kelly
2f999e45d9 Bug 1118443 Make workers specify the XHR load group to use during the request. r=sicking 2015-01-08 11:21:52 -05:00
Paul Adenot
84a2b0acc4 Bug 1119266 - Disable test_oscillatorNodeNegativeFrequency.html for failures on Android, on a CLOSED TREE. 2015-01-08 16:28:08 +01:00
Carsten "Tomcat" Book
f9c9194ea1 Merge mozilla-central to mozilla-inbound 2015-01-08 15:32:44 +01:00
Carsten "Tomcat" Book
58c53ce72e merge b2g-inbound to mozilla-central a=merge 2015-01-08 15:07:12 +01:00
Giovanny Andres Gongora Granada
cb3533a9d3 Bug 1116371 - Correct #endif comment in BluetoothMessageUtils.h, r=btian 2015-01-08 14:43:10 +08:00
Morris Tseng
ff2c0dc262 Bug 1118136 - Check if targets match before forcing dispatch selection state changed event. r=roc 2015-01-06 22:23:00 +01:00
Michael Pruett
411a94b05a Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Brian Birtles
6199ac3d6e Bug 1112422 - Turn on the Web Animations API by default for chrome callers; r=bz 2015-01-08 13:53:24 +09:00
Wes Kocher
5da1bc45f4 Backout 852f51cb251e (bug 1117864) for various plugin test failures on a CLOSED TREE 2015-01-07 18:35:40 -08:00
Aaron Klotz
ae73f3fcce Bug 1117864: Do not pass a runnable to PluginProcessParent::Launch when initializing plugins synchronously; r=jimm
--HG--
extra : rebase_source : 8d9b8b39f6da3133ea4200d60f9a7054797ccf4b
2015-01-07 12:39:37 -07:00
Ehsan Akhgari
8e2b574163 Bug 1118613 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/media; r=kinetik 2015-01-07 20:40:05 -05:00
Jeff Gilbert
e84cd0a4e7 Bug 1105535 - Move color_buffer_[half_]float out from draft status. - r=kamidphish 2015-01-07 16:28:05 -08:00
pchang
caf060cd89 Bug 1111433 - Add mochitest to verify SelectionStateChanged with blur state. r=ehsan 2015-01-07 23:34:00 -05:00
pchang
72bbdd11fc Bug 1111433 - Dispatch the SelectionStateChanged event for blur. r=ehsan 2015-01-07 01:01:00 -05:00
Ehsan Akhgari
1889255041 Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku 2015-01-08 08:49:54 -05:00
Paul Adenot
373349f693 Bug 916285 - Fix bustage on windows. 2015-01-05 15:30:53 +01:00
Edgar Chen
97989fd3ea Bug 1112471 - Part 4: Test case for getting icc service state API. r=hsinyi 2014-12-26 16:09:11 +08:00
Edgar Chen
24a7e0c6d2 Bug 1112471 - Part 3: RIL Changes for getting icc service state API. r=hsinyi 2014-12-26 10:57:44 +08:00
Edgar Chen
10ca187446 Bug 1112471 - Part 2: DOM Changes for getting icc service state API. r=smaug 2014-12-26 10:11:20 +08:00
Edgar Chen
d66019a004 Bug 1112471 - Part 1: Introduce a new API for getting icc service state. r=hsinyi 2014-12-22 15:57:25 +08:00
Wes Kocher
0cf53b165b Merge inbound to m-c a=merge CLOSED TREE 2015-01-07 15:41:20 -08:00
Ryan VanderMeulen
44897ded98 Backed out changeset ce11eadad118 (bug 1116821) for suspicion of making Android debug reftests frequent crash mid-run.
CLOSED TREE

--HG--
extra : rebase_source : e2050f4d54fa02a6e3d1507a13fe91419e420b77
2015-01-07 16:17:22 -05:00
Andrew McCreight
afbe2d3971 Bug 1116821 - Don't PokeGC in SetNewDocument. r=smaug 2015-01-07 10:49:41 -08:00
Ben Hsu
77842cf9ae Bug 1114841 - Part 3: Remove DOMMMIError (Test). r=smaug
--HG--
extra : histedit_source : 475ee5c33d7528360e994fdd2ac191b6a9342267
2015-01-04 18:37:00 -05:00
Ben Hsu
72d69900aa Bug 1114841 - Part 2: Remove DOMMMIError (DOM). r=aknow
--HG--
extra : histedit_source : 3077071db58877fc5be0332fb2fe78eda504e18e
2015-01-04 18:19:00 -05:00
Ben Hsu
bf5bb31a18 Bug 1114841 - Part 1: Remove DOMMMIError (WebIDL). r=hsinyi
--HG--
extra : histedit_source : 4f17fab89bef33c82b2d3a2fba1ac3f098094e47
2015-01-07 02:27:00 -05:00
Albert Crespell
8dd8327ec2 Bug 722841 - WebTelephony: Implement navigator.mozTelephony.sendTones(). r=hsinyi 2015-01-07 07:37:03 +01:00
Carsten "Tomcat" Book
d1d52c76c3 Merge mozilla-central to b2g-inbound 2015-01-07 14:33:35 +01:00
Thomas Zimmermann
bda5309bb5 Bug 1095488: Added AVRCP support for Bluetooth daemon backend, r=shuang 2015-01-07 11:32:06 +01:00