Kyle Huey
3322da2aed
Bug 989224: Note orphaned FragmentOrElements in the CC log. r=bz
2014-04-01 11:33:28 +08:00
Karl Tomlinson
1ae31489bb
b=989907 initialize AudioNodeExternalInputStream output chunk even when first track has null output r=roc
...
--HG--
extra : transplant_source : %96%C3%A3%DCs%D3%CCY6.%CC%07%22%02%EDy%A5%94U%DD
2014-04-01 13:49:20 +13:00
Karl Tomlinson
4b2a8a221e
b=987976 rename ComputeFinalOuputChannelCount ComputedNumberOfChannels to match spec r=padenot
...
to remove any implication that the function might be for calculating
the number of output channels for an AudioNode.
--HG--
extra : transplant_source : %D9%12%BB%23n%92%EB%F7%1Df%11%3F%04%B4z%606%ADT%3A
2014-04-01 10:26:02 +13:00
Karl Tomlinson
0500cf197d
b=987976 make AudioNodeExternalInputStream output channel count match stream, unless > MaxChannelCount r=padenot
...
The difference from Blink here is that Blink plays silence for if element
channel counts are > 32, but here more channels are down-mixed. Media stream
channel counts are also fixed to 2 in Blink, but that restriction is not
applied here.
Leaving the "inline" const static/class member initialization of
MaxChannelCount left missing symbols with gcc 4.7.3.
--HG--
extra : transplant_source : %C9%BA%84%0F%E8%89%E2%85p%B8%28%EF%E9M%CC%81%B9ob/
2014-04-01 10:25:45 +13:00
Karl Tomlinson
ee76528d57
b=986901 don't assume that DelayNode maxDelayTime is greater than 1 block r=padenot
...
Also apply DelayNode maxDelayTime before rounding to ticks.
--HG--
extra : transplant_source : %F1i%02%2A%ED%98%95%C9u%60%0B%1A%81A%C2%8E%FB%F3%FA%D5
2014-03-31 18:32:34 +13:00
Karl Tomlinson
4280e20d4d
crashtest for bug 986901
...
Derived from testcase by Jesse Ruderman <jruderman@gmail.com>
--HG--
extra : transplant_source : %AE%CEf%29%F9%C4%25%82%B5%17%24%3C%0ErA%90.%7C%09%0C
2014-03-31 18:32:33 +13:00
Karl Tomlinson
9f9c4e885f
b=983066 pad out resampler input past track end only to the end of the block r=padenot
...
The extra null samples were mostly harmless, and may have even helped avoid
bug 983062 sometimes, but caused the "Samples missing" assertion to fail.
--HG--
extra : transplant_source : M%D6%B4ra2%AE%DA%EC%82%E1%D8_%83%9F%FBw%F2%ECh
2014-03-31 18:32:32 +13:00
Ed Morley
9d7a5cff30
Backed out changeset 00fa39c23b44 (bug 778077) for reftest failures
2014-03-28 12:31:29 +00:00
Chris Pearce
c9cd61eb5d
Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
...
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.
Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...
I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.
We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.
Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).
Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 22:36:10 +13:00
Neil Rashbrook
fe80fce47a
Bug 514280 Consistently declare and define IID accessors r=bsmedberg
2014-03-28 08:45:02 +00:00
Neil Rashbrook
8325a39b18
Bug 514280 Remove concrete classes from interface maps r=bsmedberg
2014-03-28 08:40:13 +00:00
Phil Ringnalda
1a6280a756
Backed out 2 changesets (bug 778077, bug 631058)
...
CLOSED TREE
Backed out changeset dda301682977 (bug 631058)
Backed out changeset 25b633e7dcd5 (bug 778077)
2014-03-27 21:50:02 -07:00
Chris Peterson
b2cffd6ac9
Bug 986787 - Fix -Wreorder warning and other cleanups in MediaEngineTabeVideoSource.cpp. r=rjesup
2014-03-26 00:59:01 -04:00
Chris Pearce
d6610626b5
Bug 631058 - Don't preroll extra media samples when we're not playing. r=cajbir
2014-03-28 15:50:35 +13:00
Chris Pearce
b26d467d58
Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
...
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.
Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...
I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.
We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.
Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).
Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 15:50:28 +13:00
Ehsan Akhgari
345b35a6e8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Ehsan Akhgari
6f2ea7ebeb
Bug 798158 - Part 0: Do not treat format warnings as errors in a few directories; r=mshal
2014-03-27 16:38:20 -04:00
Ms2ger
a9b18b906d
Bug 973915 - Simplify nsScriptLoader::EvaluateScript a bit; r=hsivonen
2014-03-27 21:05:15 +01:00
Ms2ger
b765dd44d3
Bug 984006 - Remove xpcom/ds from local includes; r=ehsan
2014-03-27 21:05:14 +01:00
Ms2ger
a55d6c279f
Bug 986860 - Cleanup nsContentUtils::GetDocumentFromScriptContext; r=bholley
2014-03-27 21:05:14 +01:00
Ethan Tseng
cd1e193f81
Bug 977518 - [RTSP] Resource leak from RtspMediaResource, RtspController and RTSPSource. r=sworkman
2014-02-27 15:28:18 +08:00
Ryan VanderMeulen
6fa5cbea0b
Merge m-c to inbound.
2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
d9d827e562
Merge inbound to m-c.
2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
c7bbaba022
Backed out changeset fea9904b6dec (bug 987433) for leaks on a CLOSED TREE.
2014-03-26 19:44:54 -04:00
Fabrice Desré
c1daa445bf
Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene
2014-03-25 21:56:35 -07:00
Wes Kocher
0db346b4d5
Merge inbound to m-c
2014-03-25 19:54:55 -07:00
Star Cheng
fa999c63d6
Bug 975955 - Hold a cpu wakelock while playing video. r=roc
2014-03-18 16:44:41 +08:00
Ehsan Akhgari
441ff4bba8
Bug 984195 - Remove MochiKit.js includes in the canvas tests; r=jrmuizel
2014-03-24 11:31:05 -04:00
Gabor Krizsanits
941fe47b2d
Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley
2014-03-24 16:00:52 +01:00
James Willcox
11722c2841
Bug 981621 - Guard against null GrContext r=gwright
2014-03-24 09:13:55 -05:00
Rik Cabanier
3425d5a8cf
Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc
2014-03-24 09:31:19 -04:00
Rick Eyre
a0b716dca0
Bug 891381 - Tracks loaded via TrackElement should have the same id as the TrackElement. r=cpearce
2014-03-19 11:27:39 -04:00
Robert Longson
8b69e12a76
Bug 986913 - Using setAttributeNS can cause serialisation to fail. r=smaug
2014-03-24 11:20:12 +00:00
L. David Baron
a085fede18
Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc
2014-03-23 18:44:50 -07:00
ekr
f17073af1c
Bug 986885 - Fix build problem in fmp4/demuxer. r=nalexander
2014-03-22 20:27:27 -07:00
Ehsan Akhgari
0a1fe8c669
Bug 983845 follow-up: Move the header to content/base and enable BrowserFeedWriter for xulrunner as well
2014-03-22 21:34:02 -04:00
Robert Longson
3e7f6dea42
Bug 982659 - Fix intermittent orange in test_onerror.xhtml. r=dholbert
2014-03-22 08:01:02 +00:00
Eric Rahm
4c96c88496
Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn
2014-03-19 14:33:12 -07:00
Garrett Robinson
cbd5b0e76f
Bug 979580: Enable CSP 1.1 {nonce,hash}-source by default r=sstamm
2014-03-21 14:24:53 -07:00
Ehsan Akhgari
0cfc414bc6
Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end
...
Backed out changeset ab12a8416a1d (bug 957431)
Backed out changeset 188d1e255d40 (bug 957431)
2014-03-21 16:04:09 -04:00
Ehsan Akhgari
67a4370aba
Backed out 2 changesets (bug 957652) because bug 957431 is being backed out
...
Backed out changeset 92efd61cfca5 (bug 957652)
Backed out changeset 9d405c64a7bf (bug 957652)
2014-03-21 16:02:21 -04:00
Nathan Froyd
da3c647bbd
Bug 942411 - Set the src of the iframe after adding it to the document
2014-03-21 13:36:11 -04:00
Ryan VanderMeulen
52db30b7a6
Backed out changeset e9c807b1e3d4 (bug 985257) for bustage.
2014-03-21 10:07:07 -04:00
Rik Cabanier
086c625c06
Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc
2014-03-21 09:18:58 -04:00
Olli Pettay
f04add4e26
Bug 987433 - DOMTokenList should have a strong reference to its owner so that the API doesn't suddenly start returning empty string. r=khuey
2014-03-26 16:04:57 -04:00
Birunthan Mohanathas
7ac995a949
Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz
2014-03-25 11:36:49 -04:00
Rick Eyre
651c0fd8e0
Bug 987076 - Construct HTMLMediaElement::mTextTrackManager lazily. r=roc
...
* Remove the TextTrackManager's initialization from the MediaElement's
ctor and add a getter that creates it if we don't have it yet. The public
functions exposed on the MediaElement's IDL now call this getter.
* Also remove the const qualifier from HTMLMediaElement::TextTracks()
as we don't really need it and this function now needs to call
GetOrCreateTextTrackManager() which is non-const.
2014-03-24 11:48:37 -04:00
Rick Eyre
07af79b144
Bug 977299 - Don't display subtitles if their mode is 'hidden'. r=rillian
...
I've renamed TextTrackList::GetAllActiveCues to
UpdateAndGetShowingCues to make it a bit more clear what
this function is doing.
2014-02-27 10:02:40 -05:00
Alessio Placitelli
93c7f6ceef
Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst
2014-03-20 20:51:16 +01:00
Alessio Placitelli
ccd66ec5c9
Bug 950076 - Propagate OOM errors to innerHTML getters. r=jst
2014-03-19 13:05:03 -04:00
Alessio Placitelli
d823d1c396
Bug 950076 - Add a fallible form of nsAString::Append and Replace and use it in nsTextFragment::AppendTo. r=bsmedberg, r=jst
2014-03-19 13:05:02 -04:00
Edwin Flores
cab563a65a
Bug 941298 - FFmpeg PlatformDecoderModule for Linux r=doublec,cpearce
2014-03-21 19:35:15 +13:00
Edwin Flores
372079241f
Bug 941298 - FFmpeg headers for FFmpeg PlatformDecoderModule r=doublec
...
While FFmpeg function signatures tend not to change between versions of FFmpeg,
class layouts can change dramatically. We include libavcodec, libavformat,
and libavutil headers here so that we don't accidentally build against the wrong
binary interface.
2014-03-21 19:35:14 +13:00
Edwin Flores
4125ba2622
Bug 941298 - Fix errors in content/media/fmp4 on Linux with clang and --enable-warnings-as-errors r=cpearce
2014-03-21 19:35:14 +13:00
Edwin Flores
53b9c2c9b3
Bug 941298 - Build changes for FFmpeg PlatformDecoderModule r=gps
2014-03-21 19:35:14 +13:00
Masatoshi Kimura
50eae496d9
Bug 981237 - Remove DataContainerEvent dependency from Plugin crash handler. r=jst,johns
2014-03-21 13:00:00 +09:00
Boris Zbarsky
05af31f010
Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff
2014-03-20 23:19:42 -04:00
Gorman Ho
f829937556
Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz
2014-03-25 09:25:47 -04:00
Carsten "Tomcat" Book
7dbffe4461
Backed out changeset 9b6ec03572ed (bug 981470) for suspicion of breaking mochitest-1 on a CLOSED TREE
...
--HG--
rename : content/media/test/test_documentTitle.html => content/media/test/test_audioDocumentTitle.html
2014-03-25 12:25:07 +01:00
Carsten "Tomcat" Book
0118fbd578
Backed out changeset 8baf04242325 (bug 493692) for mochitest bustage on a CLOSED TREE
2014-03-25 12:15:38 +01:00
Robert O'Callahan
5b6e267ad0
Bug 493692. Fix and reenable test_preload_suspend. r=cpearce
...
--HG--
extra : rebase_source : 947c7f65d071c62b57d7bf529a00cc72f9910345
2014-03-10 11:03:14 +08:00
Robert O'Callahan
8f471df6ac
Bug 981470. Combine test_audioDocumentTitle and test_videoDocumentTitle and avoid testing WAV files, which aren't supposed to load properly in <iframe>s. r=cpearce
...
--HG--
rename : content/media/test/test_audioDocumentTitle.html => content/media/test/test_documentTitle.html
extra : rebase_source : 27016e8c3a15dcbfeb9462a17f27b043ac977d75
2014-03-10 10:45:14 +08:00
Timothy Nikkel
8ccbcd870e
Bug 957668. Add and implement plumbing for a display port margins api. r=kats
2014-03-26 21:46:23 -04:00
Paolo Amadini
29bea07d6e
Bug 985954 - Remove deprecated promise.js usage in the testing framework. r=ted
2014-04-01 13:45:48 +02:00
Olli Pettay
fe87f850f3
Bug 987140 - Return width/height from the most recent image request. r=bz
2014-03-26 14:43:27 -04:00
Wes Kocher
bac6fbdf50
Merge m-c to inbound
2014-03-25 20:21:17 -07:00
Randy Lin
867e22698f
Bug 973522 MediaRecorder causes large leak. r=roc, jsmith
2014-03-26 01:11:58 +08:00
Robert O'Callahan
ae259da2ce
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
...
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Robert O'Callahan
8bcebeb7f3
Bug 917755. Part 5.5: Implement getBoxQuads DOM API. r=jst
...
--HG--
extra : rebase_source : 02febe9fad731185bfbc50454683b485d551bf59
2014-03-12 09:11:38 +08:00
Robert O'Callahan
cf6b0995cb
Bug 917755. Part 4: Add DOMQuad implementation. r=jst
...
--HG--
extra : rebase_source : e74d516f27c004ecf5deea40fb397c2a8f5acfae
2013-09-20 22:21:04 +12:00
Robert O'Callahan
4a84273760
Bug 917755. Part 3: Implement DOMRect per spec. r=jst
...
--HG--
extra : rebase_source : 46ef3a90763ceaea5bb43652e5c97e16667a9e7f
2013-09-20 22:21:03 +12:00
Robert O'Callahan
6ad3d051ce
Bug 917755. Part 2: Implement DOMPoint. r=jst
...
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.
--HG--
extra : rebase_source : 8df6b51b3305e91c7c7693128e70e3e928d44b27
2014-03-12 09:11:37 +08:00
Robert O'Callahan
9be2412fdc
Bug 917755. Part 1.5: Make nsImageLoadingContent more robust in unified builds. r=matspal
...
--HG--
extra : rebase_source : be9acaac5b213666d02d1f6a95f132c46a7ada48
2014-03-12 09:11:37 +08:00
Chris Pearce
234f97e9c3
Bug 984698 - Reduce the amount of audio prerolled when we are not also decoding video in the same file. r=padenot
2014-03-21 11:47:17 +13:00
Ryan VanderMeulen
4f9ba420d3
Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
...
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Ryan VanderMeulen
bad51a5892
Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage.
2014-03-20 16:33:54 -04:00
Robert O'Callahan
df3c565901
Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
2014-03-12 09:11:39 +08:00
Robert O'Callahan
efd62ebbf4
Bug 917755. Part 5.5: Implement getBoxQuads DOM API. r=jst
2014-03-12 09:11:38 +08:00
Robert O'Callahan
b4a2a23674
Bug 917755. Part 4: Add DOMQuad implementation. r=jst
2013-09-20 22:21:04 +12:00
Robert O'Callahan
88ce62afde
Bug 917755. Part 3: Implement DOMRect per spec. r=jst
2013-09-20 22:21:03 +12:00
Robert O'Callahan
bbc9ced7d1
Bug 917755. Part 2: Implement DOMPoint. r=jst
...
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.
2014-03-12 09:11:37 +08:00
Robert O'Callahan
5024887b7c
Bug 917755. Part 1.5: Make nsImageLoadingContent more robust in unified builds. r=matspal
2014-03-12 09:11:37 +08:00
Bob Owen
06fa102930
Bug 978042 - Part 5: AutoPushJSContext in nsScriptLoader::EvaluateScript. r=bholley
2014-03-19 11:38:02 +00:00
Bob Owen
890da9422a
Bug 978042 - Part 3: AutoPushJSContext in nsXULTemplateBuilder::InitHTMLTemplateRoot. r=bholley
2014-03-19 19:47:14 +00:00
Rick Eyre
ca6fa01a7e
Bug 985484 - Remove TextTrackCue::CueChange. r=cpearce
2014-03-19 11:01:38 -04:00
Rick Eyre
59ba14791c
Bug 977302 - Perform automatic text track selection. r=rillian
...
This takes care of automatic track selection for tracks with
the default attribute specified. However, it does not take
into account any user preferences set through Firefox such
as default language.
2014-02-28 15:40:00 -05:00
Carsten "Tomcat" Book
fb67e88f61
Merge mozilla-central to mozilla-inbound
2014-03-20 14:18:00 +01:00
Carsten "Tomcat" Book
93dadba149
merge b2g-inbound to mozilla-central
2014-03-20 14:07:58 +01:00
Andrea Marchesini
d849d65073
Bug 983984 - Default AudioChannel from a pref, r=ehsan, r=roc, r=mchen
2014-03-20 10:45:55 +00:00
Markus Stange
cb1ed17792
Bug 984761 - Use a typed enum for ColorSpace and AlphaModel. r=bjacob
2014-03-20 10:12:43 +08:00
Markus Stange
e86eaec4d0
Bug 984761 - Use a typed enum for filter primitive types. r=bjacob
2014-03-20 10:12:43 +08:00
Ehsan Akhgari
5ab76fe98e
Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium
2014-03-19 21:55:00 -04:00
Carsten "Tomcat" Book
57df59943d
Merge mozilla-central to b2g-inbound
2014-03-19 16:30:49 +01:00
Carsten "Tomcat" Book
6f93ee87a8
Backed out changeset 002dbc057a74 (bug 917755)
2014-03-19 09:46:13 +01:00
Carsten "Tomcat" Book
3ce2c58413
Backed out changeset 92e5d79ec57f (bug 917755)
2014-03-19 09:46:12 +01:00
Carsten "Tomcat" Book
2174a9b3fb
Backed out changeset 3b41ab878fcd (bug 917755)
2014-03-19 09:46:09 +01:00
Carsten "Tomcat" Book
75e8320e45
Backed out changeset 8ad57cf09e75 (bug 917755)
2014-03-19 09:46:07 +01:00
Carsten "Tomcat" Book
71c4eaa985
Backed out changeset 896bfaeab866 (bug 917755)
2014-03-19 09:46:03 +01:00
Carsten "Tomcat" Book
a84e36bcf6
Backed out changeset e60fe593236d (bug 918189)
2014-03-19 09:45:57 +01:00
Patrick McManus
807863d95e
bug 477578 - http methods should be case sensitive r=hurley
2014-03-18 12:36:18 -04:00