Commit Graph

20013 Commits

Author SHA1 Message Date
Dave Townsend
40da05d1c3 Backing out bug 990685 as it changes some assumptions for XBL bindings. 2014-04-24 13:05:38 -07:00
Paul Adenot
9a84687a23 Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc
Use the sample rate passed to the OfflineAudioContext constructor in
MediaStreamGraph::CreateOfflineInstance, and pass the preferred mixer sample
rate to the (real time) MediaStreamGraph constructor.

Then, always use this sample rate for the lifetime of the graph.

This patch needed to pass the sample rate to the AudioMixer class to avoid
relying on globals like it was done before.

--HG--
extra : rebase_source : 2802208819887605fe26a7040998fc328b3c9a57
2014-04-23 11:20:56 +02:00
Star Cheng
2d091525bf Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Carsten "Tomcat" Book
cac8e6e93b Backed out changeset c07bced21c89 (bug 984498) for mochitest-1 bustage on a CLOSED TREE 2014-04-25 12:09:54 +02:00
Star Cheng
f4ff6a62d2 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Ehsan Akhgari
7e38db36b7 Bug 998729 - Mark nsIPhonetic as non-scriptable; r=smaug 2014-04-24 17:10:40 -04:00
Ehsan Akhgari
670aa9d97f Bug 998727 - Remove nsICanvasGLBuffer and nsICanvasGLTexture; r=smaug 2014-04-24 17:10:00 -04:00
Ehsan Akhgari
9b95780041 Bug 998725 - Mark nsIXHRSendable as non-scriptable; r=smaug 2014-04-24 17:09:09 -04:00
Aryeh Gregor
45fbfe5e45 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Robert O'Callahan
dba7d4c6ba Bug 998284. When entering the buffering state from AdvanceFrame, be prepared to accept a second's delay before reevaluating whether to exit buffering. r=cpearce
--HG--
extra : rebase_source : 2a7aab19c998f6977cb47d6300e2967be69bcbdf
2014-03-25 00:58:11 +13:00
Paul Kerr [:pkerr]
2435cef6ad Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Robert O'Callahan
ec44fe9ea2 Bug 998282. Ensure cancellable_request.sjs massively overfills the default 100K media cache size.
This ensures a test can make such a request, receive the event that the
load has been suspended, and cancel the request, all before the load has
completed.

--HG--
extra : rebase_source : c7ea934a1745004872d8529bb99241e2e376759c
2014-03-11 17:30:27 +08:00
Robert O'Callahan
192b5d6603 Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan
If nsTextEditorState::SetValue is allowed to rebuild the editor DOM even when
the new value is the same as the old value, then during PrepareEditor we can
remove the content that's the current target of the event triggering the
PrepareEditor, which prevents important code from running such as the code that
focuses the text input. Normally this isn't a problem but
nsTextEditorState::SetValue's code for getting the current value is broken
for password controls when !mEditorInitialized. So we remove that broken code
path.

We have to make sure that the password text, if any, is set on the edit-rules
during their initialization so the regular path for getting the current
value returns the right thing.

--HG--
extra : rebase_source : 81a01a957b4b1e0cf868505a1b23c9110a2f4b3a
2014-04-15 00:33:47 +12:00
John
aec1baf311 Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
Ben Turner
e0a0c602bd Bug 999742, Split Blob<> into BlobParent/BlobChild. rs=sicking.
--HG--
extra : transplant_source : %F6%EF%8D%0C%0E%0B7%EFm%7F%15%83%D5%82%19T%BF-%3C%98
2014-04-23 21:43:57 -07:00
Wes Kocher
bd5e387b25 Backed out 2 changesets (bug 970691) for build bustage on a CLOSED TREE
Backed out changeset 83f7aec5a083 (bug 970691)
Backed out changeset 94348d189ed5 (bug 970691)
2014-04-23 18:26:05 -07:00
Ehsan Akhgari
15916f4738 Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Paul Kerr [:pkerr]
8a77293ef3 Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Ben Kelly
cad1735642 Bug 987556 Part 12 Remove the nsString ConvertToUTF16() compat shim. r=bz 2014-04-25 10:11:57 -04:00
Ben Kelly
3436bdce3f Bug 987556 Part 8 Use JS::SourceBufferHolder in XULDocument. r=bz 2014-04-25 10:11:57 -04:00
Ben Kelly
85d7ef06d3 Bug 987556 Part 7 Use JS::SourceBufferHolder in nsFrameMessageManager. r=bz 2014-04-25 10:11:56 -04:00
Ben Kelly
602bae69bb Bug 987556 Part 5 Use JS::SourceBufferHolder in nsScriptLoader. r=bz 2014-04-25 10:11:56 -04:00
Henri Sivonen
1a97e800b4 Bug 999349 - Add "DO NOT USE" annotation to nsIPlatformCharset. r=emk 2014-04-22 12:35:44 +03:00
Carsten "Tomcat" Book
7d66b2a945 Merge m-c to mozilla-inbound 2014-04-23 15:00:31 +02:00
Carsten "Tomcat" Book
db97c8a694 merge b2g-inbound to mozilla-central 2014-04-23 14:58:05 +02:00
Ehsan Akhgari
66ed3f1461 Bug 999908 - Remove support for the Web Audio legacy prefs for AudioBufferSourceNode, AudioContext, and AudioParam; r=padenot 2014-04-23 08:56:42 -04:00
JW Wang
22158c2aa1 Bug 998168 - nsITimer functions should be only called in the event target thread of the timer. r=cpearce. 2014-04-23 05:29:14 -04:00
JW Wang
77af058043 Bug 998168 - add decoder pointer to the log message of MediaDecoderStateMachine/MediaDecoder for debugging. r=cpearce 2014-04-23 05:29:04 -04:00
Carsten "Tomcat" Book
410267e783 Backed out changeset 1f410dde84d9 (bug 984498) 2014-04-23 08:20:37 +02:00
Benjamin Chen
a75d3ed394 Bug 994557 - part2: 1. fix bug in finishCluster function. 2. Can flush metadata only. 3. Ensure the keyframe is placed at the beginning of cluster. r=rillian 2014-04-23 12:04:27 +08:00
Sotaro Ikeda
db7a0e4e36 Bug 994889 - Fix how to get video size from OMXCodec r=cajbir 2014-04-22 20:21:29 -07:00
Benjamin Chen
1009c20413 Bug 994557 - part1:fix formatting, typo, 80 characters. r=rillian 2014-04-23 10:32:46 +08:00
Star Cheng
d77d681816 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=padenot 2014-04-23 09:58:38 +08:00
Wes Kocher
20d24e2d94 Merge inbound to m-c 2014-04-22 17:54:44 -07:00
Ryan VanderMeulen
2144e66473 Merge b2g-inbound to m-c. 2014-04-22 12:50:29 -07:00
Randell Jesup
1f9314c7a8 Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
Bobby Holley
91dd463b40 Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-22 14:08:27 -07:00
Jefry Lagrange
50a37c8c05 Bug 939323 - Warn about XMLHttpRequest sendAsBinary usage. r=smaug 2014-04-22 13:59:39 -07:00
Ethan Tseng
5f43c64159 Bug 992568 - Part 2: Refactor RtspChannel to support redirection. r=sworkman 2014-04-03 19:08:34 +08:00
Martin Thomson
9ade181aa5 Bug 907770 - Part 2: Test changes for https support on b2g/android. r=jmaher 2014-03-14 11:25:48 -07:00
Ryan VanderMeulen
411bd2fa0e Merge m-c to inbound. 2014-04-22 13:07:17 -07:00
Ethan Tseng
7d80196a9c Bug 992568 - Part 1: Render RTSP in the browser. r=sworkman 2014-01-20 18:54:33 +08:00
Ethan Tseng
0e5f7890cc Bug 998239 - [RTSP] Follow up of 877193 to refine RtspTrackBuffer size. r=sworkman 2014-04-18 15:54:00 +08:00
JW Wang
e8b41fbc67 Bug 995090 - Update MediaCache again when there are changes in |MediaCache::mStreams|. r=roc 2014-04-22 08:37:01 -04:00
Vasanthakumar Pandurangan
bcf38b36c6 Bug 994881 - Release audio offload player resources after pause timeout. r=roc 2014-04-21 16:47:04 +05:30
Dan Glastonbury
abe7a046bc Bug 990851 - Fix TexSubImage with cubemap face failure. r=jgilbert 2014-04-22 14:09:33 +10:00
Kearwood (Kip) Gilbert
b2ac3fc727 Bug 991545 - Update SVGTransformableElement::GetAttributeChangeHint to use nsChangeHint_UpdatePostTransformOverflow. r=longsonr
- When only the transform is changed,
  SVGTransformableElement::GetAttributeChangeHint returns
  nsChangeHint_UpdatePostTransformOverflow to avoid extraneous calls to
  UpdateOverflow in OverflowChangedTracker::Flush.
- nsSVGElement::DidAnimateTransformList now receives a modType parameter
  that is set by callers to either nsIDOMMutationEvent::ADDITION,
  nsIDOMMutationEvent::REMOVAL, or nsIDOMMutationEvent::MODIFICATION.
- SVGTransformableElement::GetAttributeChangeHint uses the passed modType
  to accurately select when to return nsChangeHint_UpdatePostTransformOverflow.
2014-04-07 12:52:12 -07:00
Adrian Lungu
ad51575296 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Jan Beich
f5c3201a40 Bug 996433 - Sprinkle MOZ_WEBRTC ifdefs to unbreak --disable-webrtc after bug 694814. r=jesup 2014-04-21 09:15:34 +02:00
Bobby Holley
0409dcf85d Bug 993772 - Remove nsXULPDGlobalObject. r=mrbkap 2014-04-20 11:48:14 -07:00
Bobby Holley
5d657b8b0c Bug 993772 - Switch to the singleton compilation scope for XUL prototype compilation. r=mrbkap 2014-04-20 11:48:14 -07:00
Phil Ringnalda
380621d27b Back out 8 changesets (bug 990353) for gaia-integration bustage
CLOSED TREE

Backed out changeset f6b3c03454a4 (bug 990353)
Backed out changeset 6e1f9b821ae0 (bug 990353)
Backed out changeset 2926ad6c594f (bug 990353)
Backed out changeset 74b75c155205 (bug 990353)
Backed out changeset 394e09fe2da2 (bug 990353)
Backed out changeset 0fdd36b19a51 (bug 990353)
Backed out changeset 0792729890cc (bug 990353)
Backed out changeset 487e6f72fcf7 (bug 990353)
2014-04-19 08:37:32 -07:00
Bobby Holley
dbcade681f Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-18 23:46:27 -07:00
Bobby Holley
660881d8c2 Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-18 23:46:26 -07:00
Ryan VanderMeulen
6392bc9506 Merge m-c to inbound. 2014-04-18 22:08:16 -04:00
Ryan VanderMeulen
2075f95fc4 Merge inbound to m-c. 2014-04-18 22:00:13 -04:00
Bobby Holley
0ca33ca839 Bug 998377 - Remove mDelayedDisconnect and friends. r=smaug 2014-04-18 16:00:06 -07:00
Bobby Holley
5cc36d461d Bug 998377 - Stop calling ReleaseWrapper in DelayedDisconnect(). r=smaug
AFAICT, nobody ever calls PreserveWrapper. Presumably, the CC machinery should
take care of us here.
2014-04-18 16:00:06 -07:00
Bobby Holley
e40a80a496 Bug 998377 - Stop nulling out nsInProcessTabChildGlobal::mGlobal during DelayedDisconnect. r=smaug
This is already cycle-collected, so no extra work needs to happen.
2014-04-18 16:00:06 -07:00
Ryan VanderMeulen
ac4c946801 Merge m-c to b2g-inbound. a=merge 2014-04-18 10:03:35 -04:00
Robert Longson
409bd06a8a Bug 974698 - Check that keyPoints and keyTimes numbers match for animateMotion. r=dholbert 2014-04-18 10:47:28 +01:00
Terrence Cole
4ab31f28b9 Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Ryan VanderMeulen
a9cc5ff586 Backed out changesets 1e581e74878d, 7d2138e87ca0, and 7cc66aee4341 (bug 942367) for B2G mochitest failures.
CLOSED TREE
2014-04-17 22:26:07 -04:00
Randell Jesup
061c1534da Bug 996853: handle AUDIO_FORMAT_SILENCE in MediaPipeline and AudioSegment::WriteTo r=roc 2014-04-17 17:45:25 -04:00
Eric Rahm
0c4d54b70f Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
Marco Castelluccio
1bd0344246 Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
Fabrice Desré
140000dc46 Bug 965970 - Add support to compile asm.js code at install/update time r=luke,bholley,marco 2014-04-17 22:03:03 -07:00
Jeff Gilbert
caa818abf9 Bug 996282 - Cleanup getParameter. - r=kamidphish 2014-04-16 14:36:53 -07:00
Jeff Gilbert
8b35684cba Bug 996269 - Lazily clear the WebGL backbuffer. - r=kamidphish 2014-04-17 13:15:41 -07:00
Randell Jesup
7164e62f23 Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg 2014-04-17 15:13:44 -04:00
Martin Thomson
41016bdb71 Bug 942367 - Part 3: Stream isolation for WebRTC. r=jib, r=bholley 2014-04-10 11:52:08 -07:00
Martin Thomson
3fbfe60643 Bug 942367 - Part 2: DOMMediaStream support for PeerIdentity. r=bholley, r=roc 2014-04-10 11:51:29 -07:00
Ryan VanderMeulen
6c9a60d624 Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
a46b5ab059 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Ralph Giles
0a786adb41 Bug 995289 - Use fmod to wrap custom waveform phase. r=padenot
From 4156df84046e8c0be31f02a9ac0ffac1cb9fe668 Mon Sep 17 00:00:00 2001
2014-04-14 19:12:13 -07:00
Birunthan Mohanathas
623dc45b86 Bug 997208 - Remove unnecessary nullptr checks before deleting in content/media. r=cajbir 2014-04-17 09:23:16 -04:00
Andrea Marchesini
baa0b5fd67 Bug 969201 - HTMLLinkElement sizes attribute, f=ms2ger, r=bz 2014-04-17 12:50:54 +01:00
Carsten "Tomcat" Book
760e3a1408 Merge m-c to mozilla-inbound 2014-04-17 12:53:05 +02:00
Carsten "Tomcat" Book
c55de21cc3 merge fx-team to mozilla-central 2014-04-17 12:49:25 +02:00
Carsten "Tomcat" Book
4686dd905a Backed out changeset ce1fe33d58a0 (bug 997014) for mochitest m-1 orange on a CLOSED TREE 2014-04-17 08:44:04 +02:00
Carsten "Tomcat" Book
672c8c479e Backed out changeset 20b75bf44c1e (bug 997014) 2014-04-17 08:43:43 +02:00
Carsten "Tomcat" Book
2b04bd5c8a Backed out changeset 29ed3c34af5e (bug 997014) 2014-04-17 08:43:40 +02:00
Carsten "Tomcat" Book
710a34c84c Backed out changeset 8681fc7a918b (bug 997014) 2014-04-17 08:43:38 +02:00
Carsten "Tomcat" Book
f86de035db Backed out changeset 6ba917df6b41 (bug 997014) 2014-04-17 08:43:35 +02:00
Matt Woodrow
871bc4e40f Bug 997014 - Part 6: Remove duplicate code for retreiving a snapshot from a canvas in CanvasRenderingContext2D. r=roc 2014-04-17 17:32:41 +12:00
Matt Woodrow
38567cd2f2 Bug 997014 - Part 5: Remove nsICanvasRenderingContextInternal::Render. r=roc 2014-04-17 17:31:44 +12:00
Matt Woodrow
ddc74478fa Bug 997014 - Part 4: Remove the external canvas API. r=roc 2014-04-17 17:31:12 +12:00
Matt Woodrow
aed9928e36 Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Matt Woodrow
ba19a5ad4c Bug 997014 - Part 1: Improve GetSurfaceSnapshot. r=roc 2014-04-17 17:28:17 +12:00
Ryan VanderMeulen
57cf370a9e Merge m-c to fx-team. 2014-04-16 22:53:31 -04:00
Randell Jesup
2e6f61e3bb Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg 2014-04-16 16:39:16 -04:00
Gabor Krizsanits
fe40f38191 Bug 996069 - Part1: nsContentUtils::IsSystemOrExpandedPrincipal. r=bz 2014-04-16 22:29:12 +02:00
Jonathan Watt
f6274fcf70 Bug 991572 - Stop creating a Thebes backed gfxContext in CanvasRenderingContext2D.cpp, and kill off nsICanvasRenderingContextInternal::GetThebesSurface. r=mattwoodrow 2014-04-17 22:13:34 +12:00
Matt Woodrow
c1ae41ee74 Bug 997014 - Part 6: Remove duplicate code for retreiving a snapshot from a canvas in CanvasRenderingContext2D. r=roc 2014-04-17 17:32:41 +12:00
Matt Woodrow
3e13bbf252 Bug 997014 - Part 5: Remove nsICanvasRenderingContextInternal::Render. r=roc 2014-04-17 17:31:44 +12:00
Matt Woodrow
dcf31b7da4 Bug 997014 - Part 4: Remove the external canvas API. r=roc 2014-04-17 17:31:12 +12:00
Matt Woodrow
d817c835cb Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Matt Woodrow
03f8f93835 Bug 997014 - Part 1: Improve GetSurfaceSnapshot. r=roc 2014-04-17 17:28:17 +12:00
Paul Adenot
df3abc4a21 Bug 997229 - Don't call IdealAudioRate on an offline MediaStreamGraph r=roc
--HG--
extra : rebase_source : 44aec47b98965a663600a84c630c0f89239842a6
2014-04-17 11:15:47 +02:00
Boris Zbarsky
f306ff6b04 Bug 996911. Make nsIDOMXUL*Element not inherit from nsIDOMXULElement, so we can make the latter noscript. r=smaug 2014-04-16 15:13:41 -04:00