Commit Graph

276 Commits

Author SHA1 Message Date
Kyle Huey
ce39f191af Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Alastor Wu
408dc1372e Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku. 2015-12-24 17:28:45 +08:00
Alastor Wu
d7a26cc3a6 Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku. 2015-12-24 17:17:30 +08:00
Sebastian Hengst
3cc260d1a3 Backed out changesets 961f205d340d, 14a4637e9d96 and 14a4637e9d96 (bug 1228564) for failing Android M(4) test_browserElement_inproc_AudioChannel.html. r=backout 2015-12-27 22:28:08 +01:00
Alastor Wu
9d3a1a032f Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku. 2015-12-24 17:28:45 +08:00
Alastor Wu
ada3e48127 Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku. 2015-12-24 17:17:30 +08:00
Andrea Marchesini
8e09cc0bc3 Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
70f6d5c331 Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-11 11:17:33 -05:00
Carsten "Tomcat" Book
56b716dca6 Backed out changeset debd1ce280de (bug 1214148) 2015-12-15 14:44:50 +01:00
Carsten "Tomcat" Book
8d28766b3b Backed out changeset eb3d458624eb (bug 1214148) 2015-12-15 14:44:48 +01:00
Andrea Marchesini
86222f99a1 Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
3c4930bd2d Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-11 11:17:33 -05:00
Phil Ringnalda
61ed209b74 Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
CLOSED TREE

Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Andrea Marchesini
5426b5ac3c Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-09 16:46:25 -05:00
Andrea Marchesini
669c119d14 Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-09 16:46:25 -05:00
Wes Kocher
692b40fb9e Merge m-c to inbound, a=merge 2015-11-16 17:27:08 -08:00
Wes Kocher
d68c48e484 Merge inbound to m-c a=merge 2015-11-16 17:20:42 -08:00
Ryan VanderMeulen
48447ab2e0 Bug 1223734 - Add crashtest. r=baku 2015-11-16 18:07:39 -05:00
Alastor Wu
172eb396de Bug 1222902 - Create log system for the AudioChannel. r=baku. 2015-11-10 18:32:00 +08:00
Andrea Marchesini
d13d25087b Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug 2015-11-16 17:34:52 +00:00
Carsten "Tomcat" Book
cab9c2a1bf Backed out changeset 9b2c15970aa0 (bug 1222902) for bustage 2015-11-10 11:23:06 +01:00
Alastor Wu
2b592e152e Bug 1222902 - Create log system for the AudioChannel. r=baku 2015-11-10 14:43:59 +08:00
Makoto Kato
df47f5b457 Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd 2015-10-28 14:29:57 +09:00
Andrea Marchesini
eb8305a1dc Bug 1218396 - By default window-less AudioChannelAgents should be muted, r=alwu 2015-10-27 06:57:38 +00:00
Birunthan Mohanathas
68c551a17a Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
3c530551ba Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Alastor Wu
8fb6a2c8e0 Bug 1183033 - Don't mute the system channel type. r=baku 2015-10-20 20:42:24 +08:00
Andrea Marchesini
fd0cc988b8 Bug 1215684 - Shut down AudioChannelService in the child process. r=mccr8 2015-10-20 11:04:00 -04:00
Nathan Froyd
9c5965b035 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Andrea Marchesini
f748e94341 Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc 2015-10-07 20:06:47 +01:00
sajitk
e881742ef0 Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku 2015-10-05 04:35:00 +02:00
Nigel Babu
4e74c46055 Backed out changeset 04430cc26dba (bug 1180940) for Mulet Gij(4) bustage again. 2015-10-01 13:53:14 +05:30
sajitk
6862ae67d8 Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku 2015-09-30 17:51:00 +02:00
Chris Peterson
481691a248 Bug 1208353 - Fix -Wshadow warnings in dom/audiochannel. r=padenot 2015-09-21 23:39:00 -07:00
Nigel Babu
f1d3171b4e Backed out changeset 49847eb6c1ce (bug 1180940) for Mulet Gij(4) bustage on CLOSED TREE 2015-09-24 12:37:52 +05:30
sajitk
d3df4aaa32 Bug 1180940 - Changed return type of AudioDestinationNode::CreateAudioChannelAgent method to return errors, if any methods that it calls fail. Added code to handle the return value in AudioContext::Init(), and its callers. r=baku 2015-09-22 18:16:00 +02:00
Alastor Wu
06119f256b Bug 1203068 - Add system type into kMozAudioChannelAttributeTable. r=baku 2015-09-09 18:32:00 +08:00
Andrea Marchesini
9bed9431be Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object. r=alwu
CLOSED TREE
2015-09-01 12:05:59 -04:00
Ryan VanderMeulen
e15d441eea Backed out changeset ddc08e87843f (bug 1184058) for AudioChannelAgent crashes/asserts. 2015-09-01 09:47:02 -04:00
Andrea Marchesini
23953b6f90 Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object, r=alwu 2015-08-27 09:12:21 +01:00
Andrea Marchesini
c3121ca1cf Bug 1187204 - AudioChannelService must exist before calling IsAudioChannelMutedByDefault(), r=alwu 2015-08-31 11:52:42 +01:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Nigel Babu
16bb4b75d7 Back out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE 2015-08-27 14:50:50 +05:30
Andrea Marchesini
174a27e7a7 Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object, r=alwu 2015-08-27 09:12:21 +01:00
Ryan VanderMeulen
64888c286f Merge b2g-inbound to m-c. a=merge 2015-08-06 15:37:49 -04:00
Ehsan Akhgari
4b39b32cd8 Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot 2015-08-06 10:26:27 -04:00
Alastor Wu
b8b1c3f9eb Bug 1186135 - change active flag per channel. r=ehsan 2015-08-05 10:47:10 +08:00
Ehsan Akhgari
445de25825 Bug 1190082 - Rename media-playback and the related stuff to audio-playback; r=smaug
Given that we only dispatch this for audio, media-playback sounds
like a misnomer.
2015-08-04 21:07:41 -04:00
Birunthan Mohanathas
9b6236a10a Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Paul Adenot
e531a82084 Bug 1156472 - Part 14 - Null check the window, because it can be different during the window's shutdown. r=baku
In which case everything is cleaned up properly by the HTMLMediaElement themselves.
2015-07-24 14:28:17 +02:00