Alastor Wu
f0d62419f0
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
6a38526a4d
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
2015-12-24 17:17:30 +08:00
Sebastian Hengst
3c1eb47e3a
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
7ff9329b36
Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
...
--HG--
extra : commitid : B7NcXGTFGrv
2015-12-24 17:28:45 +08:00
Alastor Wu
b4cb129af1
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
...
--HG--
extra : commitid : JZF4VU0qxpg
2015-12-24 17:17:30 +08:00
Andrea Marchesini
f64dd19a60
Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu
2015-12-11 11:17:33 -05:00
Carsten "Tomcat" Book
73da51a3e1
Backed out changeset debd1ce280de (bug 1214148)
2015-12-15 14:44:50 +01:00
Andrea Marchesini
4f57cd1c8f
Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu
2015-12-11 11:17:33 -05:00
Phil Ringnalda
631f58c4f9
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
4ddcd9bade
Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu
2015-12-09 16:46:25 -05:00
Wes Kocher
c4f40f5dfc
Merge inbound to m-c a=merge
...
--HG--
extra : commitid : 8FO2ow49CX2
2015-11-16 17:20:42 -08:00
Alastor Wu
f49b90a02f
Bug 1222902 - Create log system for the AudioChannel. r=baku.
...
--HG--
extra : transplant_source : %BD%FF%8EH%08%97%3AC%C6%85%BC%F1%10%CB%07%AA%0E%90%85A
2015-11-10 18:32:00 +08:00
Andrea Marchesini
a14ba13b57
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
d756fc5496
Backed out changeset 9b2c15970aa0 (bug 1222902) for bustage
...
--HG--
extra : rebase_source : 87c28b1944bba96e5f4d3a9ced86bc7b805dbb18
2015-11-10 11:23:06 +01:00
Alastor Wu
ec3ce5062b
Bug 1222902 - Create log system for the AudioChannel. r=baku
...
--HG--
extra : transplant_source : o%B2y%E2%04%D9%C09%92%D3m%40%DFn%BC%E2%1B%B0%C6%8E
2015-11-10 14:43:59 +08:00
Makoto Kato
1929f6c7c4
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd
2015-10-28 14:29:57 +09:00
Andrea Marchesini
b15274a9bf
Bug 1218396 - By default window-less AudioChannelAgents should be muted, r=alwu
2015-10-27 06:57:38 +00:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Alastor Wu
603c594a23
Bug 1183033 - Don't mute the system channel type. r=baku
...
--HG--
extra : transplant_source : %11%A8%A3%3E%93W%F1%9D%F90m%A3%85pK%AE%25%01%C0%CE
2015-10-20 20:42:24 +08:00
Andrea Marchesini
b134d4fff4
Bug 1215684
- Shut down AudioChannelService in the child process. r=mccr8
2015-10-20 11:04:00 -04:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Chris Peterson
2648aa6251
Bug 1208353 - Fix -Wshadow warnings in dom/audiochannel. r=padenot
...
--HG--
extra : rebase_source : 0eb4688dc114e21a9b1607c14453439b3aff8ab0
2015-09-21 23:39:00 -07:00
Alastor Wu
5b9b7ae185
Bug 1203068 - Add system type into kMozAudioChannelAttributeTable. r=baku
...
--HG--
extra : transplant_source : %F6m%06%85%DF%C0%07%8B%E3%8F%D8%96%B9%85%1C%5E%DF%F9a8
2015-09-09 18:32:00 +08:00
Andrea Marchesini
f845917b2e
Bug 1187204 - AudioChannelService must exist before calling IsAudioChannelMutedByDefault(), r=alwu
2015-08-31 11:52:42 +01:00
Ehsan Akhgari
f22dea9a72
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
Ehsan Akhgari
778c91d13d
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
Paul Adenot
d8bc8741c7
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
Paul Adenot
6187533e7d
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Wes Kocher
83b4188234
Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
...
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00
Paul Adenot
8b7785c0a1
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
Paul Adenot
7c02310414
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Carsten "Tomcat" Book
2b73aa4f63
Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
...
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot
69bf340380
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
Paul Adenot
bae1e652bf
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Andrea Marchesini
97c618f8b9
Bug 1184970 - Remove unused struct in AudioChannelService, r=ehsan
2015-07-19 02:49:32 +01:00
Andrea Marchesini
84bc2d11bc
Bug 1184972 - We should always use the top window for any audioChannel operation, r=ehsan
2015-07-19 02:47:49 +01:00
Alastor Wu
0c8e7b7e06
Bug 1170117 - Separate volume control. r=baku
2015-07-17 10:07:37 +08:00
Ehsan Akhgari
4355437852
Bug 1183925 - Part 2: Clean up the AudioChannelService shutdown; r=baku
...
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers. It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 17:47:28 -04:00
Ryan VanderMeulen
1ec1df2206
Backed out changeset 21a5c9152c3b (bug 1183925) for B2G debug mochitest crashes.
2015-07-15 11:29:50 -04:00
Ehsan Akhgari
892a26b362
Bug 1183925 - Clean up the AudioChannelService shutdown; r=baku
...
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers. It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 08:12:36 -04:00
Andrea Marchesini
192390457e
Bug 1183446 - Audio Channel service should use outer windows, r=ehsan
2015-07-15 11:17:52 +01:00
Ehsan Akhgari
262c0bd498
Bug 1183356 - Part 2: Add assertions enforcing the usage of outer windows for all of the entry points of the API; r=baku
...
The assertions here serve as a unit test for the previous commit,
because with these, our existing tests would have caught this bug.
2015-07-14 11:48:19 -04:00
Carsten "Tomcat" Book
bfea0e40ad
Backed out changeset dc97f665d047 (bug 1183356)
2015-07-14 17:08:39 +02:00
Ehsan Akhgari
02fb842974
Bug 1183356 - Part 2: Add assertions enforcing the usage of outer windows for all of the entry points of the API; r=baku
...
The assertions here serve as a unit test for the previous commit,
because with these, our existing tests would have caught this bug.
2015-07-14 08:53:02 -04:00
Andrea Marchesini
7a92be5598
Bug 1113086 - AudioChannel policy in Browser API - patch 6 - media-playback has to be dispatched async, r=alwu
2015-07-10 17:38:53 +01:00
Andrea Marchesini
2ba53b5aab
Bug 1113086 - AudioChannel policy in Browser API - patch 5 - nsTObserverArray instead hashtables, r=ehsan, r=alwu
2015-07-10 17:38:51 +01:00
Andrea Marchesini
7fe6a31b4a
Bug 1113086 - AudioChannel policy in Browser API - patch 4 - Muted by default, e=alwu
2015-07-10 17:38:49 +01:00
Andrea Marchesini
b5e77fe73a
Bug 1113086 - AudioChannel policy in Browser API - patch 2 - IPC communication between AudioChannelServices, r=ehsan
2015-07-10 17:38:46 +01:00
Andrea Marchesini
db14826639
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
c07e36b612
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
...
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00