Commit Graph

38891 Commits

Author SHA1 Message Date
Karl Tomlinson
57b712a475 bug 1197028 add MOZ_IMPLICIT for AudioBlock constructor from base AudioChunk on CLOSED TREE 2015-09-09 23:04:02 +12:00
Karl Tomlinson
5059538e20 bug 1201855 send ended event even when the buffer has no channel data r=padenot
The ThreadSharedFloatArrayBufferList may be null even when there is a buffer
if one of its arrays has been neutered.

SAMPLE_RATE is used instead of BUFFEREND to detect whether start() and buffer
have been received because buffers can have zero length when acquiring the
contents returns "zero-length channel data buffers", although this zero-length
is not yet implemented.

LOOP and BUFFEREND are reset when the buffer is set to null to end playback.
2015-09-05 00:15:52 +12:00
Karl Tomlinson
eacc146607 bug 1201855 use unsigned integers for buffer positions so that negative buffer positions are impossible r=padenot
I think the limits on sample rates already ensure that mBufferPosition will
not overflow, but this makes sure that there are no out of bounds reads.

The node checks the parameters are > 0 before sending to the engine.
2015-08-25 13:01:15 +12:00
Karl Tomlinson
f9288735ed bug 1201855 keep track of buffer position even when there are no channels r=padenot 2015-09-05 00:50:35 +12:00
Karl Tomlinson
9f3c6c9ca9 bug 1201855 rearrange CopyFromBuffer to separate code using numFrames r=padenot 2015-09-04 23:06:50 +12:00
Karl Tomlinson
54be414320 bug 1201854 handle stop time precisely even when resampling r=padenot 2015-09-04 22:05:49 +12:00
Karl Tomlinson
caec95335e bug 1197028 use AudioBlock for web audio processing to reuse buffers shared downstream r=padenot 2015-09-03 19:01:50 +12:00
Karl Tomlinson
51e4967728 bug 1197028 introduce AudioBlock to keep track of downstream references to AudioBlockBuffer r=padenot 2015-09-08 12:04:16 +12:00
Karl Tomlinson
f0f754cdfa bug 1197028 use AudioChunk::GetDuration() r=padenot 2015-09-03 18:04:41 +12:00
Karl Tomlinson
333b7ddff1 bug 1197028 use AudioChunk::ChannelCount() r=padenot 2015-09-03 17:30:16 +12:00
Karl Tomlinson
4e2081ab1b bug 1197028 introduce AudioBlockBuffer r=padenot
At this point AudioBlockBuffer is just like SharedBuffer but always with float
channels of length 128.
2015-09-03 18:45:14 +12:00
Karl Tomlinson
39f085faae bug 1197028 move AllocateAudioBlock to AudioBlock.h r=padenot
In a subsequent patch, AllocateAudioBlock will become part of an AudioBlock
class derived from AudioChunk and used for AudioNodeStream members.
2015-09-03 19:05:02 +12:00
Kaustabh Datta Choudhury
325b58a73b Bug 1162003 - Enable run-by-dir mode on Fx desktop debug & ASAN builds. r=jmaher 2015-09-09 05:42:04 -04:00
Jonathan Watt
4e27516089 Bug 1202964 - Use the correct nsIFilePicker API for directory picking in HTMLInputElement::nsFilePickerShownCallback::Done. r=baku 2015-08-18 10:30:19 +01:00
Jonathan Watt
d433e237af Bug 1202952 - Fix directory picking for e10s on Windows by making FilePickerParent use the correct nsIFilePicker API for directory picking. r=roc 2015-08-17 03:03:49 +01:00
Andrea Marchesini
2b83fc3f33 Bug 1201806 - part 2 - nsStructuredCloneContainer should use StructuredCloneIPCHelper, r=smaug 2015-09-09 08:11:38 +01:00
Andrea Marchesini
9f01064ca4 Bug 1201806 - part 1 - Remove OwningSerializedStructuredCloneBuffer and use StructuredCloneIPCHelper everywhere in IPC code, r=smaug 2015-09-09 08:10:32 +01:00
Francois Marier
9886fbbc13 Bug 1202027 - Make SRI require CORS loads for cross-origin resources. r=ckerschb 2015-09-09 00:11:38 -07:00
Francois Marier
4e7db7e535 Bug 1202015 - Better document the SRI strings for translators. r=ckerschb 2015-09-09 00:10:25 -07:00
Bob Owen
a7c6d68c6d Bug 1197007: Turn off optimization for GMPLoaderImpl::Load. r=cpearce 2015-09-09 07:34:56 +01:00
Gian-Carlo Pascutto
6e5a46c5bf Bug 1200614 - Check whether engines are still alive when webrtc ops run. r=jesup 2015-09-08 20:32:59 +02:00
JW Wang
17b6f540a1 Bug 1199562. Part 3 - remove unused code. r=roc. 2015-09-09 10:12:46 +08:00
JW Wang
e2f5272f90 Bug 1199562. Part 2 - replace usage of mStreamSink with mMediaSink in most cases. r=roc. 2015-09-09 10:12:35 +08:00
JW Wang
6261cd2cdc Bug 1199562. Part 1 - rename mAudioSink to mMediaSink as well as related member names. r=roc. 2015-09-09 10:12:23 +08:00
Nigel Babu
6b7b9e651a Backed out changeset 873acda091b7 (bug 1137009) for bc3 bustages ON A CLOSED TREE 2015-09-09 09:16:06 +05:30
Nigel Babu
6f50c367d7 Backed out changeset 3555d4b1ab1e (bug 815299) for M4 bustage. 2015-09-09 09:12:31 +05:30
Nigel Babu
61855501b5 Backed out changeset 0a2a9972b4c7 (bug 815299) for M4 bustage. 2015-09-09 09:12:28 +05:30
Nigel Babu
d0d408866b Backed out changeset 9f3adfd2ca52 (bug 815299) for M4 bustage. 2015-09-09 09:12:24 +05:30
Boris Zbarsky
e84591ec58 Bug 633154. When alerts/prompts/confirms are suppressed, just return silently instead of throwing. r=sicking 2015-09-08 21:23:55 -04:00
Boris Zbarsky
c885d7466a Bug 1201692. Add a fast path to ExplicitChildIterator::Seek for the common case of seeking an actual DOM child of the parent node. r=wchen 2015-09-08 21:23:55 -04:00
Boris Zbarsky
ad1e37e40c Bug 1182197 investigation patch. Log the stack at promise fulfillment on a CCed promise into the crash reporter data. r=dmajor,nsm 2015-09-08 21:23:55 -04:00
Garvan Keeley
669c076a56 Bug 1200310 - No need to wifi+cell scan if stumble file is full, just trigger upload. r=jdm 2015-09-08 21:20:57 -04:00
Garvan Keeley
4d40a13e64 Bug 1200310 - Instead of thread guard flags for 'is stumbling' AND 'is uploading', we can use just one flag. r=jdm 2015-09-08 21:20:56 -04:00
Garvan Keeley
4cd16c8472 Bug 1200304 - Move stumbling code from gonkgps to MozStumbler.cpp. r=jdm 2015-09-08 21:20:56 -04:00
Garvan Keeley
c5b234b354 Bug 1199395 - FxOS Stumbling gzip the stumbles to store more data. r=jdm 2015-09-08 21:20:56 -04:00
Xidorn Quan
0ade7a7b49 Bug 1137009 - Do not persist attributes of xul window if the window is in fullscreen. r=janv 2015-09-09 10:45:39 +10:00
Ehsan Akhgari
c78500337b Bug 815299 - Part 4: Address jdm's review comments 2015-09-08 20:38:33 -04:00
Ehsan Akhgari
f407718d2e Bug 1201229 - Return an empty string for a header when an error occurs; r=dragana
This fixes nsIHttpChannel::GetRequestHeader() and
nsIHttpChannel::GetResponseHeader() to always empty out their string
argument even when they fail.  This prevents programming mistakes of
passing the same string object to multiple of these calls and using the
string value without checking the nsresult error code, since otherwise
the string value may be unchanged from a previous call.

Note that this doesn't affect JS consumers of these APIs since we only
empty out the string argument in case the method fails, which will be
translated to a JS exception, and the JS code will never get to see the
emptied string.
2015-09-08 20:08:35 -04:00
Ehsan Akhgari
26ff686dbd Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-08 20:08:32 -04:00
Ehsan Akhgari
a385224dc2 Bug 815299 - Part 2: Accept empty HTTP headers in fetch; r=jdm 2015-09-08 20:08:31 -04:00
Wes Kocher
7dbe08c0ba Merge m-c to inbound, a=merge CLOSED TREE 2015-09-08 17:06:42 -07:00
Wes Kocher
23bbb12593 Merge inbound to central, a=merge CLOSED TREE 2015-09-08 17:04:03 -07:00
Carsten "Tomcat" Book
37647fcaea Merge mozilla-central to b2g-inbound 2015-09-08 16:22:03 +02:00
Carsten "Tomcat" Book
201a08fe83 merge mozilla-inbound to mozilla-central a=merge 2015-09-08 15:37:12 +02:00
Jessica Jong
ca3fcfa46a Bug 978071 - Enable mobile data IPv6 tests. r=echen 2015-09-08 17:47:04 +08:00
Kyle Huey
c29beff2b7 Bug 1200004 - Fix IDB permission handling around navigated windows. r=baku 2015-09-08 10:11:36 +02:00
Carsten "Tomcat" Book
d78f7745c6 Merge mozilla-central to mozilla-inbound 2015-09-08 15:55:01 +02:00
Nathan Froyd
b678ec2e6d Bug 1202474 - improve refcounting behavior of webm decoders; r=kinetik
We can remove refcounted things from deques without unnecessary refcounting.
2015-09-07 20:36:47 -04:00
Nikhil Marathe
f83c5f81d0 Bug 1197998 - Use counters for Push subscribe, unsubscribe and permission query. r=froydnj,kitcambridge,jst
Counters do not currently work on Web Workers, so it a no-op on non main thread.
2015-09-03 17:54:59 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
e1e32f6ff4 Bug 1202421 - Rename the network.auth.allow-subresource-auth pref. r=michal 2015-09-08 08:21:19 -07:00