Commit Graph

222462 Commits

Author SHA1 Message Date
Wes Kocher
89ccfa8b5b Backout 977aab16aad3 (bug 1119462) for Android build bustage 2015-01-08 16:15:27 -08:00
Chris Manchester
2d4a676ad3 Bug 1114793 - Rename marionette's chrome_window_handle to current_chrome_window_handle.;r=automatedtester 2015-01-08 19:13:30 -05:00
Chris Manchester
e6e1f0e1a4 Bug 1114623 - Implement closeChromeWindow endpoint for marionette.;r=automatedtester
--HG--
rename : testing/marionette/client/marionette/www/newTab.html => testing/marionette/client/marionette/www/windowHandles.html
2015-01-08 19:13:30 -05:00
Michael Wu
68bed96a38 Bug 1119169 - Update to freetype 2.5.5, r=jfkthame 2015-01-08 19:07:38 -05:00
Trevor Saunders
93fa309f90 no bug - reenable ipc accessibility yet again 2015-01-08 18:53:30 -05:00
Trevor Saunders
63152c5e15 bug 1088148 - only tell the parent process about child documents that are attached to their parent r=surkov 2015-01-08 18:53:30 -05:00
Terrence Cole
1a2b96318c Backout db6bdc09068d (Bug 1110931) for regressing svgx by 40%.
--HG--
extra : rebase_source : f9b39de1dad2dac4416c0184c9fa36feda50a720
2015-01-08 15:07:30 -08:00
Tom Schuster
6714d35a4b Bug 1110759 - Remove Iterator() from some tests. r=smaug 2015-01-08 19:58:45 +01:00
Tom Schuster
31f991c6d5 Bug 1110759 - Cleanup FormHistory a bit. r=markh 2015-01-08 19:58:45 +01:00
Jan Varga
a6efbcdb38 Bug 1119462 - Allow unlimited quota for explicit persistent storage; r=bent 2015-01-09 00:31:50 +01:00
Andrew McCreight
8590b36083 Bug 1118044, part 2 - Use GCCellPtr in NoteJSChild. r=smaug,terrence
Also, strongly type the JS_TraceShapeCycleCollectorChildren function, and add an
isShape() method to GCCellPtr.
2015-01-08 15:30:54 -08:00
Andrew McCreight
643e2a84ac Bug 1118044, part 1 - Use GCCellPtr in CycleCollectedJSRuntime::TraverseGCThing. r=smaug 2015-01-08 15:30:54 -08:00
Mason Chang
9687efc38e Bug 1102631 - Create a software vsync timer. r=kats 2015-01-08 15:12:47 -08:00
Brian Birtles
d431855e41 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
ca4bc4770a 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
9aa9876849 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
764c2b45f4 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
197cde67e9 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
c6c61dd8ec 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
c58bc94deb 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
d24cdd2aad 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
846b4c3a6e 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
d6583c1dfb 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
Nicholas Nethercote
8c62400016 Backout 51e4e9fcde24 (bug 1105895) for causing some Octane and Dromaeo regressions.
--HG--
extra : rebase_source : 3c9da3b3ce85c217d038d81e498771652b775b92
2015-01-08 14:19:36 -08:00
Aaron Klotz
06315c997f 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
5ffa03e4dd Bug 1110585 - Inconsistent timestamp in storage metadata file; r=bent 2015-01-08 23:38:53 +01:00
David Keeler
a1f3b2453c bug 1101194 - follow-up to fix bustage in TestCertDB r=bustage on a CLOSED TREE
Turns out there was a code path that resulted in attempting to acquire a lock
on the DataStorage mutex when one had already been acquired, resulting in
deadlock. This fixes it.
2015-01-08 10:56:07 -08:00
Kai Engert
1aabca1e25 Bug 1107731, upgrade Mozilla 37 to use NSS 3.18 (this is beta 5), r=wtc 2015-01-08 19:40:05 +01:00
Christoph Kerschbaumer
0129d17600 Bug 1118534 - Comment updates in nsIContentPolicy, nsIOService.idl, nsNetutil.h, NetUtil.jsm (r=sicking) 2015-01-06 17:01:07 -08:00
Boris Zbarsky
480c7c1324 Bug 1103000 followup: remove failure annotations from the corresponding web platform test so we can reopen the CLOSED TREE. 2015-01-08 13:19:54 -05:00
Nicolas Silva
fdc552f2eb Bug 1114948 - Use NS_lroundf instead of NS_roundf in tioling code to avoid inconsistent behavior around zero. r=jrmuizel 2015-01-08 18:58:22 +01:00
Andrew McCreight
b3c22ad14e Backout bug 1052793 for exposing bad decommitting behavior for compartmental GCs. 2015-01-08 09:54:13 -08:00
David Keeler
b18f07bda4 bug 1101194 - add telemetry for DataStorage table size r=mgoodwin 2015-01-07 13:23:07 -08:00
Benjamin Smedberg
73dd1440c9 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
Ryan VanderMeulen
e4e1d3b251 Bug 987616 - Disable browser_image.js on debug builds due to frequent failures. 2015-01-08 12:32:12 -05:00
Boris Zbarsky
890f01a2b6 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
5e876aa4a5 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
6024b51a6b 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
Boris Zbarsky
50e2ffad55 Bug 1103000. Update the unitless length quick whitelist to match spec changes. r=dbaron 2015-01-08 11:57:09 -05:00
Benoit Girard
54d4b3735d Bug 1110229 - bustage fix on a CLOSED TREE 2015-01-08 11:53:03 -05:00
Kartikaya Gupta
eb960639f8 Bug 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD 2015-01-08 11:29:20 -05:00
Benoit Girard
4384ee9695 Bug 1110229 - Always paint the full low-res tile for performance and correctness. r=nical 2015-01-08 11:24:15 -05:00
Ben Kelly
0c6b52fca5 Bug 1118443 Make workers specify the XHR load group to use during the request. r=sicking 2015-01-08 11:21:52 -05:00
Ehsan Akhgari
5e0fea2d2b Bug 1119263 - Mark virtual overridden functions as MOZ_OVERRIDE in spellchecker; r=smaug 2015-01-08 10:58:55 -05:00
Ehsan Akhgari
458ee49a87 Bug 1119254 - Mark virtual overridden functions as MOZ_OVERRIDE in xpcom; r=froydnj 2015-01-08 10:58:39 -05:00
Ehsan Akhgari
40d4e01642 Bug 1119071 - Clean up some code used for older unsupported MSVC versions in MFBT; r=froydnj 2015-01-08 10:40:15 -05:00
Ehsan Akhgari
71e11c2ac3 Bug 1119232 - Fix a warning for the usage of the uninitialized gc member in JSRuntime's constructor; r=jandem
clang emits the following warning on this code:
warning: field 'gc' is uninitialized when used here [-Wuninitialized]

The warning is not an indication of a real bug since we're just taking the store
buffer's address, but we may as well silence it.
2015-01-08 10:33:40 -05:00
Ehsan Akhgari
fa38f407c5 Bug 1119228 - Fix a fatal warning in PossiblyFail; r=jandem
Recent clang emits the following warning (which is treated as an error) on this code:
error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
2015-01-08 10:33:32 -05:00
Ehsan Akhgari
7caa0c43d9 Bug 1119225 - Emulate Visual C++ 2013 Update 3 when using clang-cl; r=ted 2015-01-08 10:33:21 -05:00
Paul Adenot
d5386667be Bug 1119266 - Disable test_oscillatorNodeNegativeFrequency.html for failures on Android, on a CLOSED TREE. 2015-01-08 16:28:08 +01:00