Commit Graph

32302 Commits

Author SHA1 Message Date
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Bobby Holley
09f0153b4f Bug 1144519 - Rename MediaDecoder::OnDecodeThread to MediaDecoder::OnDecodeTaskQueue. r=jya 2015-03-27 11:50:21 -07:00
Bobby Holley
0b75454ec4 Bug 1144519 - Switch MediaDecoderReader subclasses to use OnTaskQueue(). r=jya 2015-03-27 11:50:20 -07:00
Bobby Holley
ca940f4d38 Bug 1144519 - Rename MediaDecoderReader::OnDecodeThread to MediaDecoderReader::OnTaskQueue. r=jya 2015-03-27 11:50:20 -07:00
Bobby Holley
135ab8c259 Bug 1144519 - Rename MDSM::OnDecodeThread to MDSM::OnDecodeTaskQueue. r=jya 2015-03-27 11:50:19 -07:00
Bobby Holley
79bed83dbd Bug 1144519 - Rename OnStateMachineThread-like functions to reflect the fact that it's a task queue. r=jya 2015-03-27 11:50:19 -07:00
John Schoenick
380b16b76a Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 -05:00
John Schoenick
d5d4d4ee31 Bug 1139560 - Fix srcset parser 'After descriptor' state mishandling spaces. r=jst 2015-03-04 23:11:00 -05:00
John Schoenick
2054c2af36 Bug 1139560 - Reject non-standard parses of integers in srcset descriptors. r=jst 2015-03-04 23:09:00 -05:00
John Schoenick
7e3e5a8277 Bug 1139554 - Fix srcset parser mishandling bare URLs followed by a comma. r=jst 2015-03-04 23:07:00 -05:00
JerryShih
a28984f6fe Bug 1147793 - Remove unnecessary intr semantic in ipdl file. r=bent 2015-03-26 03:04:00 -04:00
Timur Valeev
9ec0b448ba Bug 1146365 - Add support of union type for FetchEvent.respondWith. r=nsm, r=ehsan 2015-03-24 10:37:39 +03:00
George Wright
b01567e734 Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange 2015-03-16 14:30:41 -04:00
Jason Orendorff
b0be187269 Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.

There is no change in behavior.

In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.

We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).

Notes:

*   InvokeGetterOrSetter had to be split into two functions:
    InvokeGetter takes a MutableHandleValue out-param,
    InvokeSetter a HandleValue in-param.

*   Watchpoints can still tamper with values being assigned. So can
    JSSetterOps. I'm pleased we can support this craziness in a way that
    doesn't have to spread via the type system to encompass the entire
    codebase.

*   Change in GlobalObject::setIntrinsicValue is not really a change.
    Yes, it asserted before, but an exception thrown during self-hosting
    initialization is not going to go unnoticed either.

*   Since the receiver argument to js::SetProperty() is at the end now, it
    makes sense for it to be optional. Some callers look nicer.
2015-03-01 13:16:19 -06:00
Andrew Overholt
644abc927a Bug 1127552 - Add Telemetry to Fetch. r=nsm
Note when the Fetch is coming from the main thread or a worker.  Also
count Requests just passed through a Service Worker.
2015-03-27 06:47:00 -04:00
Bill McCloskey
bc4429a33c Bug 1132072 - Tab switch refactoring (r=mconley) 2015-03-27 08:38:47 -07:00
Bill McCloskey
63a9c8cdb6 Bug 1132072 - Handle RequestNotifyLayerTreeReady when RenderFrameParent not ready (r=dvander) 2015-03-27 08:38:47 -07:00
Ryan VanderMeulen
9d893a8462 Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-27 11:17:04 -04:00
Jamin Liu
3741556420 Bug 1142390 - Add a flag to identify if the CKPD is the very first AT+CKPD=200 for Bluetooth HSP handling. r=shuang 2015-03-27 19:00:41 +08:00
Wes Kocher
037be54ca7 Merge fx-team to m-c a=merge CLOSED TREE 2015-03-26 17:22:05 -07:00
Neil Deakin
3297ef0ddc Bug 916004, preload datasource to see if it prevents intermittent orange, r=test-only-change 2015-03-27 07:47:46 -04:00
Brian Birtles
07785c2a56 Bug 1109390 part 15 - Update AnimationPlayer::SetCurrentTime to cancel any pending pause tasks; r=jwatt 2015-03-27 15:56:45 +09:00
Brian Birtles
86ab74ffe8 Bug 1109390 part 14 - Update AnimationPlayer::DoPlay to re-use the ready promise appropriately; r=jwatt 2015-03-27 15:56:45 +09:00
Brian Birtles
f565425737 Bug 1109390 part 13 - Cancel pending pauses as well as pending plays; r=jwatt
This patch simply updates the method that cancels pending plays to also cancel
pending pauses. As it stands, for some of places where this is called it might
not be appropriate to cancel pending pauses but we will adjust each of these
call sites one-by-one in subsequent patches in this series.
2015-03-27 15:56:45 +09:00
Brian Birtles
fa14993c70 Bug 1109390 part 12 - Update IsPaused to handle pause-pending players as well; r=jwatt
IsPaused is used in nsAnimationManager to detect if a newly created animation
should be paused. It is also used inside AnimationPlayer::IsRunning which is
used to determine what animations to send to the compositor (we don't send
paused animations to the compositor). In all these cases we want to treat paused
animations and pause-pending animations alike.

This patch updates IsPaused to include also pause-pending animations. At the
same time it renames IsPaused to IsPausedOrPausing to reflect the change in
behavior.

This patch also adjusts a few nearby one-line functions to put the opening brace
on a new line since apparently this is what the coding style says to do.
2015-03-27 15:56:45 +09:00
Brian Birtles
8932320375 Bug 1109390 part 11 - Make IsPossiblyOrphanedPendingPlayer deal with pause-pending players too; r=jwatt 2015-03-27 15:56:45 +09:00
Brian Birtles
ca87c7e87f Bug 1109390 part 10 - Add an enum to AnimationPlayer to represent if we are pause-pending or play-pending; r=jwatt 2015-03-27 15:56:45 +09:00
Brian Birtles
419faab492 Bug 1109390 part 9 - Call Trigger* on pause-pending players; r=jwatt
This won't actually do anything yet because:
(a) We don't yet add pause-pending players to the PendingPlayerTracker
(b) We never mark pausing players as pending so
    AnimationPlayer::TriggerOnNextTick will just ignore them.
2015-03-27 15:56:45 +09:00
Brian Birtles
7e48f4d74f Bug 1109390 part 8 - Rename Start* methods in AnimationPlayer to Trigger*; r=jwatt 2015-03-27 15:56:45 +09:00
Brian Birtles
0883416822 Bug 1109390 part 7 - Rename PendingPlayerTracker's Start* methods to Trigger*; r=jwatt
These methods will soon be used to start animations that are waiting to start
and also to finish pausing animations that are waiting to pause. As a result
we rename them to TriggerXXX since that's a bit more generic.

There are still references to StartXXX within PendingPlayerTracker. These will
be updated in a subsequent patch once we have the appropriate methods available
on AnimationPlayer to call.
2015-03-27 15:56:45 +09:00
Brian Birtles
9dd91d8731 Bug 1109390 part 6 - Generalize PendingPlayerTracker to support pausing as well; r=jwatt
This patch extends the PendingPlayerTracker which is currently used to record
which animations are waiting to play, such that it can also handle animations
which are waiting to complete a pause operation.

It doesn't yet do anything with the pause-pending animations, that will come
in another patch.
2015-03-27 15:56:45 +09:00
Brian Birtles
154247c2ee Bug 1109390 part 5 - Adjust tests to better handle asynchronous pausing; r=jwatt
A number of animation tests assume that pausing happens instantaneously. This
patch adjust many of those tests so that they will continue to work when
pausing happens asynchronously. In many cases this is possible because we
know the ready promise on AnimationPlayer (soon to be Animation) objects will
be resolved so we can wait on it and it will resolve immediately now, but when
asynchronous pausing is introduced the test the promise won't resolve until
after the pause operation is complete.

There are some tests that can't be so easily adjusted and we will have to fix
these at the same time as we turn on async pausing. However, taking care of
this set of tests now should reduce the size of subsequent patches in this
series.
2015-03-27 15:56:44 +09:00
Eddy Bruël
2b2a7900ca Bug 1092102 - Implement WorkerDebuggerGlobalScope.enterEventLoop;r=khuey 2015-03-27 07:17:16 +01:00
Sotaro Ikeda
48046713d7 Bug 1147435 - Fix SetDormant() handling in MediaOmxCommonDecoder r=cpearce 2015-03-26 20:57:42 -07:00
Boris Zbarsky
4c56278b8a Bug 1147193. Go back to having our accessors on JSStackFrame infallible. r=bholley 2015-03-26 23:05:16 -04:00
Geoff Brown
0003177c6f Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Ehsan Akhgari
e6eeb77c08 Bug 1148230 - Eliminate the duplicate subexpression
This is leftover from bug 815643.  In that bug,
|destinationChannelL->length()| and |destinationChannelR->length()| both
end up being |destinationBus->mDuration| and I forgot to eliminate the
common subexpression.
2015-03-26 20:58:23 -04:00
Wes Kocher
ec293905dc Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Steven Michaud
9005643e13 Bug 1147521 - Cannot type into comment area of plugin crash UI. r=smaug 2015-03-26 19:38:13 -05:00
Wes Kocher
f04ba61d1a Backed out changeset 2c368e6b267e (bug 1139554) for mochitest-2 failures 2015-03-26 17:34:37 -07:00
Cameron McCormack
57f44ef17b Bug 1120300 - Export WritingModes.h as mozilla/WritingModes.h. r=jfkthame 2015-03-26 18:29:31 +11:00
Randall Barker
177a9ee9b9 Bug 1144975 - Video dimensions for tab mirroring can be smaller than the devices display. r=snorp 2015-03-19 14:24:00 -04:00
Amy Chung
8ce706d188 Bug 1123680 - Forget Wifi cause problems to reconnect on it immediately. r=hchang 2015-03-26 00:52:00 -04:00
Samael Wang
b3aeda2808 Bug 733331 - Part 3: Add corresponding marionette test case. r=btseng 2015-03-24 19:02:31 +08:00
Samael Wang
53bea429d6 Bug 733331 - Part 2: Update enabledGsmTableTuples when MCC changes in SmsService.js and fix segmentChars in SmsSegmentHelper.jsm. r=btseng 2015-03-23 10:51:26 +08:00
Samael Wang
211511c272 Bug 733331 - Part 1: Add the mapping of MCC and corresponding extra national language table tuples to enable in ril_consts.js. r=btseng 2015-03-24 18:54:09 +08:00
Ryan VanderMeulen
25be56391f Merge mozilla-inbound to m-c. a=merge
CLOSED TREE
2015-03-26 14:43:39 -04:00
Ryan VanderMeulen
7c7cabf58d Backed out changeset f30be176edfd (bug 1083410) on a CLOSED TREE. 2015-03-26 11:53:51 -04:00
Ryan VanderMeulen
e59e7e0b24 Bug 1037287 - Skip test_abort.html on Android and B2G due to intermittent failures. 2015-03-26 08:59:32 -04:00
Shian-Yow Wu
c074ff533b Bug 1138354 - Add proxy authencation info for 'mozbrowserusernameandpasswordrequired' event. r=mayhemer 2015-03-26 18:49:16 +08:00