Commit Graph

30274 Commits

Author SHA1 Message Date
Ed Morley
a277a7cd2e Merge mozilla-central and b2g-inbound 2014-01-06 15:21:11 +00:00
Olli Pettay
1930eaee3d Bug 947778, return early from SetEventHandler when ELM can't find the global jsobject, r=bz 2014-01-06 15:36:10 +02:00
Ethan Tseng
a7eb6eb74b Bug 951117 - [RTSP][Video][V1.3] Crash happened while stop playing RTSP strreaming. r=sworkman 2013-12-23 17:05:11 +08:00
Randy Lin
fa09b2887a Bug 950429 - Media Recording - Allow NS_DispatchToCurrentThread in Media Encoder thread. r=roc 2014-01-05 01:20:21 +08:00
Andrew Quartey
0ace8395a4 Bug 882718 - Part a: Add list of newly introduced cues to TextTrackManager. r=rillian 2014-01-06 13:03:50 -05:00
Ed Morley
db8923046f Merge mozilla-central and inbound 2014-01-06 15:20:18 +00:00
Birunthan Mohanathas
d05644b6b3 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Rick Eyre
3ebd0e3c13 Bug 949642 - Implement VTTCue::LineAlign. r=rillian 2013-12-13 09:29:15 -05:00
Robert O'Callahan
00674af005 Bug 943461. Part 19: nsSpeechTask should explicitly finish its audio track before finishing the stream. r=eitan
--HG--
extra : rebase_source : 8c927ef0f777e1c5c5fe39361df1185e73a06111
2013-12-13 01:33:01 +13:00
Robert O'Callahan
9d41dd625c Bug 943461. Part 18: Ensure AudioBufferSourceNode's engine always produces an audio block when ProduceAudioBlock is called, and add an assertion to catch this kind of error directly. r=karl
--HG--
extra : rebase_source : e6ae51dc34f5567998af3b299acd48dd10e8394e
2013-12-13 01:33:01 +13:00
Robert O'Callahan
5966c18438 Bug 943461. Part 17: MediaDecoderStateMachine::StopPlayback should not set mPlayDuration based on real time, but on whatever we're using for GetClock. r=cpearce
--HG--
extra : rebase_source : 855fd9cb87cfc5824676697cc73dee12ab816c16
2013-12-13 01:33:01 +13:00
Robert O'Callahan
a434bb9999 Bug 943461. Part 16: Fix test_streams_element_capture_reset to make its expected current times be independent of possibly-buggy v.currentTime. r=cpearce
--HG--
extra : rebase_source : ed67ce62701d5386bc4ba1ba98edd8e4d3946748
2013-12-13 01:33:01 +13:00
Robert O'Callahan
386d5c5339 Bug 943461. Part 15: Make MediaDecoder set its currentTime based on the decoded stream's time directly, if we are decoding to a stream. r=cpearce
--HG--
extra : rebase_source : 35fe51dbec3107d7dae801a5a179c5ef5fa53725
2013-12-13 01:33:00 +13:00
Robert O'Callahan
09bac2f130 Bug 943461. Part 13: Keep producing silence in AudioNodeStreams' mLastChunks even after they've finished r=padenot
Without this the last before-finished audio block gets picked up by downstream
ObtainInputBlock calls.

--HG--
extra : rebase_source : d7f804cea59454bdb0aa5931d19bcc123e0d16cb
2013-12-10 13:49:03 +13:00
Robert O'Callahan
3dce478d14 Bug 943461. Part 12: Remove spurious ScriptProcessorNode from test. r=karl
--HG--
extra : rebase_source : e902519b5e1d7bbd7f60545147edd8241e4d9455
2013-12-10 13:49:03 +13:00
Robert O'Callahan
3dc38c3608 Bug 947796. Must convert milliseconds to MediaTime correctly. r=padenot
--HG--
extra : rebase_source : 8cbe26ea9f5189df38985a57fdd447e858885b18
2013-12-09 18:08:02 +13:00
Robert O'Callahan
27ac5e476a Bug 943461. Part 11: Don't tear down an OfflineAudioContext until its current time has actually reached its end, to ensure that all relevant stream state changes have been forwarded to the main thread. r=padenot
--HG--
extra : rebase_source : 32b9a4cf4c39edfabf5be17cec50a676f1ad4641
2013-12-09 18:08:02 +13:00
Robert O'Callahan
7ba76fee0d Bug 943461. Part 10: Fix and simplify setting of mNextMainThreadFinished. r=padenot
--HG--
extra : rebase_source : 4530688441600d6538cd9a9662466762ca845ff9
2013-12-09 18:08:02 +13:00
Robert O'Callahan
81d2879137 Bug 943461. Part 9: Handle absence of INCLUDE_TRAILING_BLOCKED_INTERVAL flag correctly. r=padenot
--HG--
extra : rebase_source : b7bf3e56e0332dcf1357f959891ff39a86f89cd1
2013-12-09 18:08:02 +13:00
Robert O'Callahan
8db811d2b5 Bug 943461. Part 8: When a MediaDecoder is decoding to a stream, run PlaybackEnded when the stream finishes. r=padenot
--HG--
extra : rebase_source : 92c8b55c5d8330bcf8242d379bc608fa3d30bc6b
2013-12-07 01:01:33 +13:00
Robert O'Callahan
bffdca06e1 Bug 943461. Part 7: DecodedStreamData::mNextVideoTime is not relative to mStartTime. r=cpearce
--HG--
extra : rebase_source : 63b4fe1859c362683b3d3192114263dd7910b183
2013-12-06 18:39:49 +13:00
Robert O'Callahan
dcd2c4a81d Bug 943461. Part 6: Fix test to handle automatic stop of MediaRecorder. r=rlin
--HG--
extra : rebase_source : 15e9a2042c4ac940afe9e6d524fab7a4d75e8675
2013-12-06 09:59:00 +13:00
Robert O'Callahan
0e1cc53aae Bug 943461. Part 5: Don't allow a stream to finish before it has produced output up to mStateComputedTime. r=padenot
--HG--
extra : rebase_source : 9bf003c246b63b1dd64665024533fda74a8e1fa4
2013-12-06 09:23:57 +13:00
Neil Rashbrook
a0de957770 Bug 952087 Anchor scroll fails if the anchor is created between DOMContentLoaded and onload r=smaug 2014-01-07 18:34:21 +00:00
Robert O'Callahan
01835a84a4 Bug 943461. Part 4: Fix TrackUnionStream track-ended calculation to catch cases where a track ends at the point where the input stream is completely blocked. r=padenot
We can have a situation where interval.mStart == interval.mEnd always (because
the input stream is always blocking) but the track has actually ended.

--HG--
extra : rebase_source : d2ffdf56b51196dfaab15beb145db33dd97c749e
2013-12-04 19:01:59 +13:00
Robert O'Callahan
c03ca782ac Bug 943461. Part 3: Like part 1, blocking calculations should note that a stream is only fully ended whenall of its tracks have finished playing out. r=padenot
--HG--
extra : rebase_source : 892cd92396e317d1c46a2f67d0061dc3d513de98
2013-12-04 19:00:26 +13:00
Robert O'Callahan
8f2a35f833 Bug 943461. Part 2: Add assertion to catch cases where we NotifyOuput after NotifyFinished. r=padenot
--HG--
extra : rebase_source : 8653b45d9f1dde5ff40bd2621ee9cda527bb6be1
2013-12-04 18:59:14 +13:00
Robert O'Callahan
513b5a0c45 Bug 943461. Part 1: A stream is fully finished when all its tracks have finished playing out. r=padenot
--HG--
extra : rebase_source : 0efa4353ea22ffd52d550331623098d275382148
2013-12-04 14:08:12 +13:00
Boris Zbarsky
f401c6a7cc Bug 950315 part 1. Convert a bunch of event targets to passing a Window or nsDOMEventTargetHelper directly to the constructor of their ancestor nsDOMEventTargetHelper. r=smaug 2014-01-06 21:53:23 -05:00
Karl Tomlinson
1f498a0460 b=956611 remove costly atomic reference counting from ProduceDataForStreamsBlockByBlock r=padenot
--HG--
extra : transplant_source : %D7bP%80%E1zKym%0A6%E2w%FB%22%3Cy%00%23V
2014-01-07 12:53:49 +13:00
Karl Tomlinson
f3dc828963 b=944143 avoid producing infinite stream of subnormals in ZeroPole tail r=padenot
--HG--
extra : transplant_source : gI%94%E9%DB%99%83%B7%09%B6%82q%FF9%5DI%BE%D6%EF%B6
2014-01-07 12:53:48 +13:00
Karl Tomlinson
3d7d128e05 b=949683 optimize zero-gain in GainNode r=padenot
--HG--
extra : transplant_source : %97Js%1B%23%13%AEb%7F%9E%B5%C4%BEx%84xV%C1%F7%5B
2014-01-07 12:53:48 +13:00
Karl Tomlinson
544419ae88 b=944851 don't consider AudioNode input when getting AudioParam values on the main thread r=ehsan
--HG--
extra : transplant_source : %15o4%BAA%1F%D4%87%01%CD%B3H%A1T%B0%88%27%9F%A1e
2014-01-07 12:53:47 +13:00
Karl Tomlinson
9da3d20771 b=952756 always remember offset and duration from Start() r=padenot
--HG--
extra : transplant_source : %9A%3D%12wAbL%0D%E1%16G%A9%B7%23%A9%16%7F%8C%2B%18
2014-01-07 12:53:47 +13:00
Wes Kocher
edd478a6df Merge m-c to inbound 2014-01-06 18:14:57 -08:00
Chris Pearce
eb97868f09 Bug 945645 - Only init WMF video decoding if we have a video container. r=padenot. 2014-01-07 14:36:12 +13:00
Ryan VanderMeulen
21178ccc2b Bug 777574 - Skip quickCheckAPI-B2.html on Linux. r=bjacob 2014-01-06 15:24:25 -05:00
Andrew McCreight
6f5b258a5e Bug 956569 - Make nsContentUtils::WrapNative MOZ_WARN_UNUSED_RESULT. r=smaug 2014-01-06 11:54:43 -08:00
Andrew McCreight
194d76d7e9 Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor 2014-01-06 11:54:43 -08:00
Andrew McCreight
dce493cdb0 Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug 2014-01-06 11:54:43 -08:00
Andrew McCreight
cb14b87d38 Bug 956423 - Remove unused variables from nsXBLProtoImpl::InstallImplementation and InitTargetObjects. r=bholley 2014-01-06 11:54:42 -08:00
Ehsan Akhgari
24d85a4fea Bug 957431 follow-up - Handle the case where GetContent() returns null properly 2014-01-08 11:09:26 -05:00
Ehsan Akhgari
2bc7d53f79 Bug 957431 - Remove support for Attr.ownerElement; r=bzbarsky 2014-01-08 09:28:19 -05:00
Ehsan Akhgari
2bc8c835b8 Bug 956507 - Remove the PRUnichar typedef from Char16.h; r=jcranmer
--HG--
extra : rebase_source : 372ddaf10a7c65fb6d0c0c44181c61fc93577a01
2014-01-07 22:16:17 -05:00
Paul Adenot
dd19798c04 Bug 956201 - Null check the destination node when muting. r=karlt
This can happen since we now mute instead of suspending when an AudioContext
shuts down.
2014-01-07 11:17:28 +01:00
Markus Stange
77136b7ef2 Bug 941887. r=roc 2014-01-08 10:30:03 +01:00
Karl Tomlinson
65aaa1aca9 b=957468 don't unset mNonRealtimeProcessing after offline graph completion r=roc
--HG--
extra : transplant_source : %D1%17%20%079%82%2B%91ES%B5%CC%83%E3t%8B%F9%A8%D6%E7
2014-01-08 17:04:36 +13:00
Karl Tomlinson
4174d8294d b=943461 don't move messages from mCurrentTaskMessageQueue after it has been emptied r=roc
--HG--
extra : transplant_source : a%27%91%24%A5%1Fe%82%B5%5B%82%AF%17%1A%BA%D8%9DRai
2014-01-08 16:58:14 +13:00
Karl Tomlinson
df5a5e02e8 b=956604 optimize inverse FFT scaling during convolution r=padenot
--HG--
extra : transplant_source : %FD%10%CEAnU%98w%15%9D%9E6l%A7Q1%E1V%CDD
2014-01-08 16:58:11 +13:00
Karl Tomlinson
a69af4fbbf b=956604 Remove unnecessary channel count parameter from AudioBufferInPlaceScale r=padenot
--HG--
extra : transplant_source : %98%098%E3%1D%9D%B4%22%FD%ED%3C%96%11%96%F9P%89%F4J0
2014-01-08 16:57:53 +13:00
Karl Tomlinson
2c008faab9 b=956604 rename block version of AudioBufferInPlaceScale to AudioBlockInPlaceScale r=padenot
--HG--
extra : transplant_source : %EE%9C%0D%B4%F0S%DA%AFX%3D%D2%10H%28-%82%EE%B5%AB%84
2014-01-08 16:57:26 +13:00
Ehsan Akhgari
60eb19e15a Bug 884368 - Part 1: Add a memory reporter for AudioContexts; r=roc,njn 2014-01-04 13:15:41 -05:00
Ehsan Akhgari
2e67154d02 Merge m-c into inbound 2014-01-04 12:14:57 -05:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Randy Lin
b275c8b757 Bug 952052 - Avoid release Session object in Media Encoder thread. r=roc 2014-01-03 15:24:57 +08:00
Josh Matthews
8f8430cc24 Backed out changeset 629aa51ebfaf 2014-01-03 21:56:51 -05:00
Matt Woodrow
4d93bc9db0 Bug 940811 - Enable the gradient cache for canvas. r=Bas 2013-11-20 16:50:46 +13:00
Cervantes Yu
c26ba7e72d Bug 938470 - Part 1: Make nsFrameLoader async in loading a remote iframe to always use Nuwa-spawned app processes. r=smaug 2013-11-19 19:03:30 +08:00
Josh Matthews
2d7f81d323 Bug 902271 - Make StorageInputStream serializable cross-process. r=bent 2013-11-05 18:44:21 -05:00
Steve Workman
5664e66826 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Cameron McCormack
b3b6726cef Bug 731271 - Part 2: Add new nsCSSValue units to store colors in their original syntactic form. r=dbaron 2013-09-16 09:35:48 +10:00
Cameron McCormack
e93885019c Bug 731271 - Part 1: Rename eCSSUnit_Color to eCSSUnit_RGBAColor. r=dbaron 2013-09-16 09:35:48 +10:00
Nicholas Nethercote
91175eb896 Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
9366b60202 Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Ryan VanderMeulen
de9a91a217 Merge m-c to inbound. 2014-01-02 16:17:34 -05:00
Ryan VanderMeulen
d0a9cd5005 Merge b2g-inbound to m-c. 2014-01-02 16:14:38 -05:00
Benoit Jacob
1c4c105204 Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert 2014-01-02 10:17:29 -05:00
Wolfgang Rosenauer
3a4089174c Bug 953130 - Fix system NSPR builds for content/media. r=rjesup 2014-01-02 09:14:52 +01:00
Henri Sivonen
93d2e07020 Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame. 2014-01-02 09:18:20 +02:00
Masatoshi Kimura
40c3a61d7b Bug 876238 - Convert DeviceAcceleration and DeviceRotationRate to WebIDL bindings. r=smaug 2014-01-02 07:52:47 +09:00
Benoit Jacob
bd21578d7f Bug 877115 - some compilation fixes - no review, trivial build fix 2014-01-01 14:47:19 -05:00
Jan Gerber
4c311be922 Bug 952186 - Remove downmix code from WebMReader; r=rillian 2013-12-19 23:43:26 +05:30
Randy Lin
49c9343eff Bug 952020 - Remove the MediaEncoder::OnEncoderThread(). r=roc 2013-12-19 18:13:05 +08:00
David Zbarsky
df6e7c3bc9 Bug 952977: Switch GetCTM to gfx::Matrix r=nical 2013-12-31 13:44:27 -05:00
Terrence Cole
745f70c9d0 Bug 955735 - Reorganize the code in nsScriptLoader to eliminate some rooting hazards; r=smaug
--HG--
extra : rebase_source : db78c06d3eaa5539e906bfc95650abd8aac9be38
2013-12-31 08:30:07 -08:00
Ms2ger
fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
David Zbarsky
e357f0c9be Bug 952977: Switch GetViewBoxTransform to gfx::Matrix r=nical 2013-12-30 01:50:17 -05:00
David Zbarsky
1957b209f5 Bug 952977: Switch GetMarkerTransform to gfx::Matrix r=nical 2013-12-30 01:50:08 -05:00
David Zbarsky
2cf593acab Bug 952977: Switch SVGIntegrationUtils to gfx::Matrix r=nical 2013-12-29 18:35:52 -05:00
David Zbarsky
047dafbdfb Bug 952977: Switch SetAnimateMotionTransform to gfx::Matrix r=nical 2013-12-28 16:37:40 -05:00
David Zbarsky
80f65de35f Backout b04bd18e5692 for reftest failure 2013-12-26 15:13:57 -05:00
David Zbarsky
2b8f74cd56 Bug 952977: Switch PrependSVGTransform to gfx::Matrix r=nical 2013-12-26 13:06:54 -05:00
David Zbarsky
de37e93bb2 Bug 952977: Use gfx::Matrix in ipdl r=nical 2013-12-26 13:06:53 -05:00
Robert Longson
578160446b Bug 775730 - Address missed review comments. r=dholbert 2013-12-25 08:33:48 +00:00
Wes Kocher
76819e44d8 Merge m-c to inbound 2013-12-24 15:25:23 -08:00
Wes Kocher
b9030fdc53 Merge b2g-inbound to m-c 2013-12-24 15:13:27 -08:00
Robert Longson
d1f102fa4d Bug 775730 - Ensure AttributeWillChange is always paired with AttributeDidChange. r=dholbert 2013-12-24 22:09:22 +00:00
Andrew McCreight
df3bd326fa Bug 945585 - fix incr call for ICC. r=bustage 2013-12-23 09:40:32 -05:00
Olli Pettay
35f59dc30c Bug 945585 - Add shouldDelete to nsDocument::Release. r=mccr8 2013-12-23 09:10:46 -05:00
Carsten "Tomcat" Book
fd393640f5 Merge mozilla-central to b2g-inbound 2013-12-23 05:55:29 +01:00
Chris Peterson
3a0e55495d Bug 951547 - Assert that nsSMILTimedElement::SampleFillValue() is not called in STATE_STARTUP. r=dholbert 2013-12-18 21:08:03 -08:00
Nathan Froyd
4f27d2ee81 Backout ca927541e644:885c09371fe5 (bug 888685), because green builds are more Christmas-y than red builds 2013-12-22 12:56:39 -05:00
David Zbarsky
db48c8c957 Bug 888685: SVGPointList doesn't need to inherit nsISupports r=bz 2013-12-22 11:37:28 -05:00
David Zbarsky
7fa678c339 Bug 888685: SVGPathSegList doesn't need to inherit nsISupports r=bz 2013-12-22 11:37:18 -05:00
David Zbarsky
a3ba119755 Bug 888685: SVGTransformList doesn't need to inherit nsISupports r=bz 2013-12-22 11:37:07 -05:00
David Zbarsky
67173871a6 Bug 888685: SVGStringList doesn't need to inherit nsISupports r=bz 2013-12-22 11:36:55 -05:00
William Chen
a77e9ae737 Bug 887538 - Implement web components shadow element. r=mrbkap 2013-12-20 22:43:58 -08:00
Wes Kocher
207a21dbe8 Merge m-c to inbound 2013-12-20 19:00:45 -08:00
Wes Kocher
53c4b1ac6a Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Wes Kocher
84b5646ffb Backed out changeset df0855f26e4d (bug 949642) for introducing a new intermittent failure 2013-12-20 18:33:55 -08:00