Граф коммитов

31345 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 491103743a Bug 1107617 - Add support for writing-mode to the NotifyIMESelection message. r=smaug 2014-12-04 18:15:43 -08:00
Daniel Holbert 22ecaed796 Bug 1107351: Simplify logic in AnimationPlayer::GetCurrentTime(). r=birtles 2014-12-04 12:13:38 -08:00
Paul Adenot e3aea8a8ea Bug 1092831 - AnalyserNode should have channelCountMode set to "max" by default. r=ehsan
Spec change: https://github.com/WebAudio/web-audio-api/issues/450

--HG--
extra : rebase_source : f8e71f73e45f31e31c745e29e4b694778d7db445
2014-12-04 11:22:51 -08:00
Paul Adenot ff43667e52 Bug 1100349 - Tests for the StereoPannerNode. r=ehsan
--HG--
extra : rebase_source : 4944c4626f5e6ab40a95be8bc02b4389572077a7
2014-11-19 18:16:07 +01:00
Paul Adenot 538c6b59c6 Bug 1100349 - Implement StereoPannerNode. r=ehsan,smaug
--HG--
extra : rebase_source : c0d3df3c4ea01001c0800997edbdf441c7287fb8
2014-11-19 18:15:13 +01:00
Matt Woodrow 7e527a7d82 Bug 1107274 - Don't return EOS from MP4Reader until all frames have been output. r=cpearce 2014-12-04 11:51:30 -08:00
Brian Birtles 3410496562 Bug 1104427 part 3 - Make resolving the start time a separate method in AnimationPlayer; r=dholbert
In preparation for deferring the start of animations in bug 927349, this patch
makes the code that resolves the start time a separate method. In this patch we
call the method immediately from AnimationPlayer::DoPlay. However, in the future
this will be called at a later point when the first frame of the animation has
been rendered.
2014-12-04 08:28:38 -08:00
Brian Birtles ba8d2e5233 Bug 1104427 part 2 - Encapsulate AnimationPlayer::mStartTime; r=dholbert
Now that there is a public accessor for mStartTime, we can make it a protected
member of AnimationPlayer. The only time mStartTime is ever set is when playing
the animation so we can replace external modifications to mStartTime with calls
to Play(). This simplifies implementing deferred starting of animations
in bug 927349 by isolating the deferred playback logic to AnimationPlayer.

Note that even when we call PauseFromStyle immediately afterwards we still need
to call PlayFromStyle (or Play) first in order to resolve the time at which the
player should be paused. A newly created player doesn't have a current time so
if we were simply to call pause it wouldn't pause at the start of the animation
as we might expect. The call to Play(FromStyle) will cause the current time to
become zero and then we pause at that time.
2014-12-04 08:28:38 -08:00
Brian Birtles fd2b033a29 Bug 1104427 part 1 - Rename GetStartTime to GetStartTimeAsDouble; r=bholley
In forthcoming patches we will encapsulate AnimationPlayer::mStartTime so we can
ensure that related state is updated appropriately. We would like to expose
mStartTime via GetStartTime() but currently a method of that name returns the
start time as a double.

This patch applies the pattern used for currentTime to startTime; specifically,
GetCurrentTime() returns the TimeDuration (since that's what C++ callers should
use) while GetCurrentTimeAsDouble() returns a double.

At the same time, this patch also removes the [Pure] extended attribute from
startTime in the WebIDL definition since subsequent patches either in this bug
or in bug 927349 will mean that startTime can be updated out-of-band.
Specifically, we will implement deferred playback of animation such that the
startTime remains null until we've finished rendering the first frame of the
animation.
2014-12-04 08:28:38 -08:00
Brian Birtles 3148509768 Bug 1104424 - Rework pausing in AnimationPlayer to remove mIsPaused; r=dholbert
This patch reworks AnimationPlayer to represent the paused state by a null start
time. This brings it into line with recent changes in the Web Animations spec
and removes the need for the mIsPaused member variable.

The idea is that in order for a player to play, it needs a start time and
an active timeline. The processing is roughly:
* If it is seeked to a particular time (through setting the currentTime or
  calling pause() or finish()) but has no start time, it is paused.
* Otherwise, if it has no active timeline or no start time, it is idle.

By removing the mIsPaused flag the number of possible permutations of states is
reduced so the model is easier to reason about (see:
http://lists.w3.org/Archives/Public/public-fx/2014OctDec/0026.html).

This patch replaces the mIsPaused flag with checks for mStartTime.IsNull()
according to the rules outlined above.
2014-12-04 08:28:37 -08:00
Carsten "Tomcat" Book 9c0e2f6b07 merge b2g-inbound to mozilla-central a=merge 2014-12-04 17:03:38 +01:00
Reuben Morais ac0f041896 Bug 1098470 - Move manifest.* scope from navigator.getFeature to navigator.hasFeature. r=ehsan 2014-12-03 10:50:46 -08:00
Chris Pearce d928f41d37 Bug 1104970 - Store GMPStorage record names at the start of each record. r=jesup 2014-12-03 13:36:00 +01:00
Chris Pearce b42661434f Bug 1104970 - Handle GMPStorage write failure in gtest. r=edwin 2014-12-03 13:34:00 +01:00
Mike Habicher 2c017fb242 Bug 1103400 - add autofocus support to WebRTC on Gonk, r=aosmond,jesup 2014-12-03 17:08:00 +01:00
Andrea Marchesini 3b337f3505 Bug 1104064 - setInterval(,0) in workers must be scheduled correctly, r=khuey 2014-12-03 10:57:39 -08:00
Alexandre Lissy 7b995f0ea3 Bug 1106896 - Improve debug and error reporting in mozSettings. r=qdot
We break down the logging capabilities into two classes: debug and
verbose. Verbose will help to track everything that happens, while debug
should just report error cases. We also augment memory reports with
values to help tracking potential issues like: queue blockage, leaking,
etc.
2014-12-02 14:50:00 +01:00
Matthew Gregan b341a046f7 Bug 1106657 - Move MOZ_PDM_VPX definition to moz.build. r=bholley 2014-12-02 14:00:45 +13:00
Fabrice Desré 38dc391f7f Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Carsten "Tomcat" Book e1cc9c8763 Backed out changeset fb224386bea8 (bug 1003848) for bustage on a CLOSED TREE 2014-12-03 16:43:15 +01:00
Thomas Zimmermann d2c8bbf752 Bug 1094177: Call |Keystore::Shutdown| to cleanup key store, r=chucklee 2014-12-03 07:26:29 -08:00
Fabrice Desré 89db929ab8 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Yoshi Huang 0baa955618 Bug 1103732 - Part 2: update test cases. r=dimi
From abdfb00788f359f4ed9bbd502a7e723350e3212d Mon Sep 17 00:00:00 2001
---
 dom/nfc/tests/marionette/test_nfc_peer.js          | 16 ++--------------
 dom/nfc/tests/marionette/test_nfc_peer_sendFile.js |  3 +--
 dom/nfc/tests/marionette/test_nfc_peer_sendndef.js |  5 ++---
 3 files changed, 5 insertions(+), 19 deletions(-)
2014-11-27 15:05:29 +08:00
Yoshi Huang 1e4ab4c8f8 Bug 1103732 - remove getNFCPeer. r=smaug, dimi 2014-11-26 15:02:36 +08:00
Christoph Kerschbaumer 003a5b8d57 Bug 1021669 - Use protocol flags to whiteliste protocols not suspect to CSP (r=sstamm) 2014-11-20 14:59:53 -08:00
Andreas Pehrson fd315ba8ff Bug 1106547 - Return EOS after drain is complete, rather than before. r=cpearce 2014-12-01 22:10:00 +01:00
Andreas Pehrson b65d1620f8 Bug 1105126 - Change test_eme_stream_capture_blocked.html to check loadeddata instead of canplay. r=cpearce 2014-12-01 19:24:00 +01:00
Bobby Holley dba2651569 Bug 1104964 - Make MediaDecoderReader own the task queue. r=cpearce 2014-12-01 21:51:03 -08:00
Bobby Holley e693d3e685 Bug 1104964 - Rename the task queue for hardware video decoding to something more obvious. r=cpearce
Otherwise it will shadow the mTaskQueue that we're about to introduce on
MediaDecoderReader.
2014-12-01 21:51:02 -08:00
Bobby Holley 38d5cddf88 Bug 1104964 - Split shutdown initiatation and queue-drain-waiting into separate pieces. r=cpearce
This patch shouldn't change any behavior. The upcoming patch takes advantage of
these separate pieces.
2014-12-01 21:51:02 -08:00
Bobby Holley 79860bf9ab Bug 1104964 - Make sure that MediaDecoderReader::Shutdown is always called. r=cpearce 2014-12-01 21:51:02 -08:00
Bobby Holley bd6a57b08d Bug 1104964 - Handle ShutdownPoolsEvent race. r=cpearce 2014-12-01 21:51:02 -08:00
Dan Glastonbury baf3f4332f Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug
--HG--
extra : rebase_source : 40fe3ec66b091ced40f5a773fdc23d06bf6abc11
2014-11-26 12:00:06 +10:00
Matthew Gregan 0e219a07c0 Bug 1104410 - Add a test.
--HG--
extra : rebase_source : 5350acb0503b650ba322cebe14d39e1df5778e51
2014-12-02 11:59:45 +13:00
Boris Zbarsky b21414912c Bug 966385 followup to make the review comment code actually compile. 2014-12-01 15:27:19 -05:00
Boris Zbarsky 4c2e5e962d Bug 1104875. Ellipsize long unresponsive script locations so they don't make the slow script dialog too big. r=peterv 2014-12-01 15:18:40 -05:00
Boris Zbarsky 6ac7384613 Bug 1105614. Fix dependency tracking for IDL methods with dictionary arguments. r=peterv 2014-12-01 15:17:58 -05:00
Boris Zbarsky 7195ec693d Bug 966385. Stop using the deprecated GetInputEncoding in XHR code. r=peterv 2014-12-01 15:17:49 -05:00
Boris Zbarsky c9285776b2 Bug 830260. Passing null as the value to CSSStyleDeclaration.setProperty should remove the property. r=heycam 2014-12-01 15:15:59 -05:00
JW Wang a62d6f881c Bug 1102607 - make GMPStorage APIs callable off the main thread. r=cpearce. 2014-11-28 00:34:00 +01:00
Ehsan Akhgari 751467e432 Bug 116083 - Correctly handle the whitespace in all preformatted elements; r=roc
Previously this code only handled the special case of a <body> element that
had an explicit style attribute, which doesn't really make sense.  Now we
do the right thing based on the computed white-space style.
2014-12-01 06:38:11 -05:00
Dan Glastonbury eeea0b42c9 Bug 1048719 - [WebGL2] Remove WebGLQueryRefPtr typedef. r=jgilbert
--HG--
extra : rebase_source : 1215509032baa31835844b4ee875e479de7cea2c
extra : source : 293d398b392ca1959d793298327ce2db170e1ca2
2014-11-26 13:46:49 +10:00
Olli Pettay a8059d6d37 Bug 1091934, increase EventSource tests stress factor, r=wellington 2014-11-30 17:51:33 -08:00
Yoshi Huang 7d462fac68 Bug 1048676 - Part 2: Nfc.js and test case change. r=dimi
From 609631024dbcf07d74c13b15ce201b499e6176dd Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js                                | 30 +++++++++++-----------
 .../marionette/test_nfc_checkP2PRegistration.js    |  4 +--
 .../tests/marionette/test_nfc_error_messages.js    |  4 +--
 dom/nfc/tests/marionette/test_nfc_peer.js          |  4 ++-
 4 files changed, 22 insertions(+), 20 deletions(-)
2014-11-06 11:21:07 +08:00
Yoshi Huang 215cbc771b Bug 1048676 - Part 1: WebIDL and DOM change. r=smaug, dimi
From 28e46b34f04d20d5f10c14a85e77ec1ac98aad9e Mon Sep 17 00:00:00 2001
---
 dom/apps/PermissionsTable.jsm     | 9 +++++++--
 dom/nfc/nsNfc.js                  | 9 +++++----
 dom/webidl/MozNFC.webidl          | 8 ++------
 dom/webidl/MozNFCPeer.webidl      | 2 +-
 dom/webidl/MozNFCPeerEvent.webidl | 2 +-
 dom/webidl/MozNFCTagEvent.webidl  | 2 +-
 6 files changed, 17 insertions(+), 15 deletions(-)
2014-11-06 11:12:38 +08:00
Dan Glastonbury 2a4ac288e1 Bug 1048745 - [WebGL2] Integer vertex attributes. r=jgilbert
--HG--
extra : rebase_source : 590eaef6f7582701607e48f7e67bbe7100ff7199
2014-06-24 10:56:21 +10:00
Brian Birtles 634e380e9b Bug 1104433 part 3 - Extend the timeout of dom/imptests/editing/conformancetest/test_runtest.html; rs=Ms2ger 2014-12-01 08:37:45 +09:00
Brian Birtles 42cc797d1e Bug 1104433 part 2 - Update dom/imptests/testharness.js and friends; rs=Ms2ger 2014-12-01 08:36:45 +09:00
Brian Birtles 9a78398b6b Bug 1104433 part 1 - Update test_error_events.html to set allow_uncaught_exception; r=Ms2ger 2014-12-01 08:36:22 +09:00
awake 58280aba48 Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted 2014-11-28 01:20:00 -08:00