Commit Graph

499 Commits

Author SHA1 Message Date
L. David Baron
601c2f62da Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:46:42 -08:00
L. David Baron
31c36af539 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:12:17 -08:00
Alex Xu
fdd45047a0 Bug 840834 - Fix compiler warning. r=jesup 2013-02-25 09:07:16 -05:00
L. David Baron
49b7670edf Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
L. David Baron
a8ee400190 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Adam Roach [:abr]
7fbbac7cff Bug 839647 - Remove crash test workaround r=jesup 2013-02-22 10:08:54 -06:00
Randell Jesup
1b7c5bc7aa Bug 843190: Allow cameras/mics to be shared if permissions UI is disabled r=derf 2013-02-20 17:08:44 -05:00
Florian Quèze
fe7ef37c6a Bug 839106 - Add preferences to control the stun behavior, r=jesup. 2013-02-18 14:49:14 +01:00
Jan-Ivar Bruaroey
92a410c896 Bug 835370 - Optional offer/answer constraints work + unsupported mandatory ones fail. r=bz, r=jesup 2013-02-14 02:08:56 -05:00
Randell Jesup
166a0a1d33 Bug 826044: Fix Webrtc crashtests, disable known permaoranges r=jsmith 2013-02-17 13:54:05 -05:00
Jan-Ivar Bruaroey
32763405d0 Bug 841958 - <reftest-wait> avoids JS SecurityError in crashtest 822197.html. r=jesup 2013-02-16 19:55:41 -05:00
Boris Zbarsky
d2d9fb3436 Bug 822674 followup to disable this test on Android. r=jesup 2013-02-16 00:59:11 -05:00
Boris Zbarsky
0880803e2f Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Justin Dolske
c59a1abd14 Bug 827145 - When no A/V devices are available, return that error to the page's getUserMedia callbacks. r=jesup 2013-02-15 19:22:27 -08:00
Ryan VanderMeulen
3d202fcac5 Backed out changeset 39d8916b698b (bug 826044) for frequent failures. 2013-02-15 21:27:17 -05:00
Randell Jesup
b3f55d6267 Bug 835953: Notify UI that all gUM streams for a WindowID are gone r=dolske 2013-02-15 11:10:15 -05:00
Randell Jesup
3981afdc31 Bug 826044: enable WebRTC crashtests r=jsmith 2013-02-15 19:54:29 -05:00
Robert O'Callahan
2c25988734 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Robert O'Callahan
a019386f6d Bug 837034. Part 1: Rename nsDOM(Local)MediaStream to DOM(Local)MediaStream and put them in the mozilla namespace. r=jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 6fd3f71779b4ecb9d3b053b6cd844c2ff0c25f80
2013-02-15 21:01:58 +13:00
Ryan VanderMeulen
f0a8ded71f Merge the last PGO-green inbound changeset to m-c. 2013-02-14 17:16:49 -05:00
Randell Jesup
4c966d0634 Bug 829907: release video capture device on MainThread (mac only) r=bsmedberg 2013-02-14 14:59:27 -05:00
Adam Roach [:abr]
13614479ee Bug 840344: Prevent multiple creations of local SDP r=ekr,jsmith 2013-02-14 10:04:09 -06:00
Jason Smith
c630f7f7c2 Bug 837324 - Crashtest for WebRTC crash [@fsmdef_ev_addcandidate]. r=jesup 2013-02-05 00:35:21 -08:00
Jason Smith
45a3f704f7 Bug 822109 - Add a bunch of basic functional tests for getUserMedia and enable a per config setting for those tests for fake vs. non-fake. r=jesup 2013-02-07 17:35:17 -08:00
Randell Jesup
338e5db435 Bug 830247: rollup of changes to media/webrtc/trunk, and backouts of some temp patches r=ted,derf
--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/DShowTools.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/DShowTools.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.h
2013-02-09 23:16:10 -05:00
Randell Jesup
d5dc1a93b2 Bug 837874: Check ObserverService before adding observers in MediaManager r=derf 2013-02-07 22:14:21 -05:00
Jason Smith
04805b601f bug 837421 - Crashtest for WebRTC ConnectionDataConnection causes assertion failures if called a second time. r=jesup 2013-02-05 00:23:51 -08:00
Henrik Skupin
c471a63fe2 Bug 838318 - Crashtest 791330.html timeout because of missing try/catch. r=jesup 2013-02-04 08:57:01 +01:00
Jason Smith
cd9c9246a2 bug 837028 - Add logging statements for basic peer connection tests. r=jesup 2013-01-31 20:12:51 -08:00
Andrew Miller
a3d39b9bfa Bug 834100 - Null deref if you call addIceCandidate on an RTCPeerConnection before setting localDesc [@ fsmdef_ev_addcandidate]. r=abr 2013-01-31 15:43:03 -05:00
Ryan VanderMeulen
373b364c09 Backed out changeset b1e8d7154488 (bug 834100) for Fedora64 M3 orange. 2013-01-31 17:14:13 -05:00
Andrew Miller
f58619e166 Bug 834100 - Null deref if you call addIceCandidate on an RTCPeerConnection before setting localDesc [@ fsmdef_ev_addcandidate]. r=abr 2013-01-31 15:43:03 -05:00
Randell Jesup
83c2fd91ec Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM (w/bustage fix) r=derf 2013-01-29 11:55:09 -05:00
Randell Jesup
ffd024bf5b Bug 836294: Don't drop array of media devices on the floor r=bz 2013-01-30 10:56:10 -05:00
Ed Morley
58ea6b383c Backout 40f09f7bc670 & fc262e3c635f (bug 818670) for frequent fedora64 mochitest-3 leaks on a CLOSED TREE 2013-01-30 10:32:11 +00:00
Randell Jesup
5bfe28ca5c Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM (w/bustage fix) r=derf 2013-01-29 11:55:09 -05:00
Ed Morley
367cd59d9d Backout df75a87cce60 & 19e164f7d88d (bug 818670) for build bustage on a CLOSED TREE 2013-01-29 17:28:30 +00:00
Randell Jesup
abaf7857dc Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM r=derf 2013-01-29 11:55:09 -05:00
Jason Smith
8c60c6f0b9 Bug 822197 - Crashtest for assertion failure: cb_hdr and crash fim_process_event/FIM_DEBUG. r=ehugg 2013-01-28 10:38:06 -08:00
EKR
6e6d470f56 Bug 816780 - Merge all incoming m-lines into one MediaStream. r=jesup,abr 2013-01-24 08:34:18 -08:00
Adam Roach [:abr]
70e37be425 Bug 834153 - Mochitest. r=ekr 2013-01-24 12:11:08 -06:00
Adam Roach [:abr]
309a81e0a4 Bug 834153 - Queue CreateAnswer State Checks, remove extraneous _executeNext calls. r=jesup 2013-01-24 21:44:30 -06:00
Sotaro Ikeda
9869e6bdbd Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 21:45:36 -05:00
Jan-Ivar Bruaroey
0995673625 Bug 834463: Corrected RTCConfiguration format. r=jst 2013-01-24 17:58:29 -05:00
Jan-Ivar Bruaroey
4da08a17f1 Bug 825703: Stun configuration from JS for PeerConnections (IP only) r=bz,jesup 2013-01-23 14:21:25 -05:00
Adam Roach [:abr]
cfd4cca0c9 Bug 827843: Check for closed state on relevant operations r=jesup,smaug 2013-01-17 14:25:17 -06:00
Ryan VanderMeulen
3efa2175dc Backed out changeset 33b1caee42d2 (bug 827843) for Android test failures. 2013-01-24 20:02:59 -05:00
Andrew Miller
86a666bcbe Bug 833948 - Fix misspelling of property from candidateInitDict. r=rjesup 2013-01-24 10:00:22 +13:00
Adam Roach [:abr]
599d531391 Bug 827843: Check for closed state on relevant operations r=jesup,smaug 2013-01-17 14:25:17 -06:00
Adam Roach [:abr]
f922f6b3ab Bug 825570: Finish plumbing attribute getters for localDescription and remoteDescription r=jesup,smaug 2013-01-14 16:25:54 -06:00
Randell Jesup
91e8d627f4 Bug 825510: Mark PeerConnection mochitests as desktopsupportedonly r=ted 2013-01-22 14:54:10 -05:00
Randell Jesup
3faae823ab Bug 825510: enable PeerConnection mochitests r=ted a=nonlibxul 2013-01-22 11:34:46 -05:00
Adam Roach [:abr]
c26dd6c6e1 Bug 824919: Weaken key references to PeerConnection and friends r=jesup,smaug,ekr 2013-01-17 17:11:14 -06:00
Henrik Skupin
a1377a76d9 Bug 831782 - Small fixes for WebRTC mochitests. r=jesup 2013-01-17 22:33:02 +01:00
Ethan Hugg
ef6cacd7b1 Bug 825565 CreateOffer/Answer should be callable more than once r=jesup 2013-01-16 07:53:56 -08:00
Randell Jesup
4fadb0bc10 Bug 831427: Gate RemoveListener(stream) to avoid calling if Destroy() pending r=roc 2013-01-17 02:38:21 -05:00
Gian-Carlo Pascutto
25904c460c Bug 812650 - Enable WebRTC audio recording on Android. r=dmose 2013-01-16 10:14:49 +01:00
Ryan VanderMeulen
e1e12091ba Backed out changeset cebb008a72f9 (bug 824919) for mochitest b-c orange.
CLOSED TREE
2013-01-14 22:01:12 -05:00
Adam Roach [:abr]
f6c5f21152 Bug 824919: Weaken key references to PeerConnection and friends,r=jesup,smaug,ekr 2013-01-14 17:00:20 -06:00
Randell Jesup
d12b4b0cfb Bug 827913: remove no-longer-correct MOZ_ASSERT in getUserMedia r=derf 2013-01-08 22:10:09 -05:00
Ethan Hugg
ab8873ab23 Bug 825569 - Allow setLocal/RemoteDescription to be called more than once r=jesup 2013-01-08 10:40:15 -08:00
Randell Jesup
26b82f4427 Bug 827203: add locks against calling RemoveListener on a Destroy()ed MediaStream r=roc 2013-01-07 21:44:43 -05:00
Randell Jesup
8e9451dfa1 Bug 826576: Manage the lifetimes of GUMCMSL objects (with inactive Listeners) r=roc 2013-01-06 21:31:32 -05:00
Randell Jesup
08fd4e2d72 Bug 827007: Implement Stop for UserMediaStreams; add NotifyRemoved for MediaStream listeners r=roc 2013-01-06 21:31:30 -05:00
Randell Jesup
ecb358d581 Bug 802656: GetUserMediaDevices: Consider no devices available an error r=anant 2013-01-04 13:11:14 -05:00
Randell Jesup
e49cc9e10e Bug 805632: backend for getUserMedia:revoke r=anant 2013-01-04 13:11:12 -05:00
Robert O'Callahan
cbd61fb349 Bug 822956. Part 2: Don't wrap getUserMedia's SourceMediaStream in a DOM object wrapper. Create an nsDOMUserMediaStream wrapper specifically to clean up the SourceMediaStream and the MediaInputPort. r=jesup 2013-01-04 12:16:32 -05:00
Randell Jesup
573e321f8d Bug 822956: convert to TrackUnionStreams for getUserMedia (and add hint support) r=roc 2012-12-19 02:07:37 -05:00
Jason Smith
e6faca59c7 bug 826584 - remove canplaythrough event listener if we timeout. r=jesup 2013-01-04 06:54:59 -08:00
Jason Smith
dec2ab62ae bug 826584 - Increase event callback timeout for gum tests. r=jesup 2013-01-04 00:20:57 -08:00
Jason Smith
700de2ac64 bug 826168 - Wait for time change in timeUpdate event fired instead of assuming time has changed. r=jesup 2013-01-03 07:36:01 -08:00
Randell Jesup
2d10679224 Bug 826168: disable failing gUM test for validation of correctness rs=bustage 2013-01-03 03:38:40 -05:00
Jason Smith
47453348e2 bug 814807 - Pref on the gum automation in mozilla-central. r=jesup 2013-01-01 18:29:51 -05:00
Masatoshi Kimura
9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Jason Smith
75f25aa470 bug 814718 - Remove invalid gum tests for ended and played. r=roc 2013-01-01 18:18:57 -05:00
Randell Jesup
8d4b69e76b Bug 825526: Improve lifetime control of SourceMediaStream in gUM r=anant 2012-12-31 18:12:15 -05:00
Randell Jesup
5cd17e7cda Bug 811757: Allow the user to explicitly share devices between tabs r=anant 2012-12-31 18:12:12 -05:00
Josh Matthews
a0e09edbad Backed out changeset 35a7f17ac707 (bug 802538) 2012-12-28 18:33:34 -05:00
Randell Jesup
a4250e5b65 Bug 820978: keep reference to MediaManager singleton r=derf 2012-12-28 15:29:52 -05:00
Randell Jesup
3a903f1837 Bug 802538: Enable getUserMedia() mochitests r=whimboo 2012-12-28 15:29:48 -05:00
Randell Jesup
ac2befd756 Bug 802538: Make sure gUM MediaStreams are destroyed (and fix other leaks) r=derf 2012-12-28 15:27:57 -05:00
Henrik Skupin
1b3fd919f0 Bug 824923 - Stablize WebRTC mochitests against Javascript exceptions to prevent timeouts. r=jesup 2012-12-27 21:55:52 +01:00
Henrik Skupin
c09c03e74a Bug 796890 - Create Mochitest for Video/Audio connection (send/receive/disconnect). r=jesup 2012-12-23 23:04:37 +01:00
Randell Jesup
889ac174c8 Bug 799417: Backend support for list of documents that have active gUM MediaStreams r=derf 2012-12-22 03:09:36 -05:00
Adam Roach [:abr]
e86ce73501 Bug 797534: Update PeerConnectionImpl to use SDP from SIPCC, r=ehugg 2012-12-19 09:25:51 -06:00
Randell Jesup
22e9dc9724 Bug 823453 - Change gUM permissions response to be an array. r=anant 2012-12-20 12:03:07 -05:00
Randell Jesup
db1a97de43 Bug 822956: backout 3dead2094684 due to breaking normal PeerConnection cases rs=me 2012-12-20 14:23:55 -05:00
Randell Jesup
c17e3ff221 Bug 822956: convert to TrackUnionStreams for getUserMedia (and add hint support) r=roc 2012-12-19 02:48:12 -05:00
Adam Roach
31a68e5a48 Bug 817429: Accept candidate messages that are zero numbered r=jesup 2012-11-21 12:48:32 -06:00
Ted Mielczarek
11d95aa6fc bug 821306 - Expose nsIMediaDevice.id to script. r=jst
--HG--
extra : rebase_source : 147c0419bc89e52164234cc6edcb367f63322317
2012-12-17 08:28:24 -05:00
Henrik Skupin
06aa691210 Bug 796892 - Create Mochitest for Audio only connection (send/disconnect). r=jesup
--HG--
extra : rebase_source : 3bb5261272dd2cb69f51811273a3ed723fcdc0bf
2012-12-14 10:27:04 +01:00
Jason Smith
17220fb267 bug 799419 - crashtest for 2 peer connections create and close with fake video. r=jesup 2012-12-04 01:02:28 -08:00
Henrik Skupin
948e2b61cf Bug 796888 - Create Mochitest for Video only connection (connect/disconnect). r=jesup 2012-12-13 21:38:49 +01:00
Jason Smith
508622257f Bug 818466 - Enable basic automated WebRTC gUM tests on Android. r=jesup 2012-12-12 16:40:57 -05:00
Randell Jesup
38c1bec0e2 Bug 812886: disable peerconnection creation while offline r=smaug 2012-12-11 07:58:12 -05:00
Mark Banner
36eb10078c Bug 819916 Selecting "Share Microphone" or "Share Camera" picks the last item in the list rather than the first. r=jesup 2012-12-10 19:51:48 +00:00
Henrik Skupin
f9b6c00e1c Bug 812785 - Crashtest for WebRTC use-after-free crash. r=jesup 2012-11-19 15:56:29 +01:00
Saurabh Anand
6de7befa37 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Henrik Skupin
a8b402b942 Bug 817709 - Fix make bustage when including leaking tests. r=standard8 2012-12-07 12:28:22 +01:00
Henrik Skupin
d34cbaf52e Bug 817709 - Global flag to conditionally enable leaking mochitests. r=jesup 2012-12-05 15:57:37 +01:00
Henrik Skupin
24d1e802d1 Backout bug 817709 because tests have not been updated correctly. 2012-12-04 19:49:11 +01:00
Henrik Skupin
58fb29ecd3 Bug 817709 - Global flag to conditionally enable leaking mochitests. r=jesup
--HG--
extra : rebase_source : 08445b394ef810ac0be430298000a137c4cbd49b
2012-12-04 16:22:43 +01:00
Randell Jesup
0421c82850 Bug 817841: Proxy deletion of nsDOMMediaStreams with NS_ProxyRelease() r=roc 2012-12-03 22:17:38 -08:00
Jason Duell
2e63d7c91c Backed out changeset d9bcbec33260 for bustage. 2012-12-03 22:12:51 -08:00
Randell Jesup
b045050020 Bug 817841: Proxy deletion of nsDOMMediaStreams with NS_ProxyRelease() r=roc 2012-12-04 00:53:13 -05:00
Jason Smith
0d72073126 Bug 802982 - Crash test for excessive getUserMedia calls. r=jesup 2012-12-03 00:56:54 -08:00
Paul Adenot
8f7a82b1bf Bug 817433 - Accept missing Mid for RTCIceCandidate. r=jesup 2012-12-02 14:10:19 -08:00
Henrik Skupin
032ae22d03 Bug 816463 - Update webrtc crashtest manifest to use new default-preferences feature. r=jesup
--HG--
extra : rebase_source : 614a2906772fe40a3b781a014eb2ad18f1a226ca
2012-11-29 14:15:33 +01:00
Jason Smith
0a6b2e8c8f Bug 781534 - Create basic automated test coverage for the mozGetUserMedia for desktop. r=roc 2012-11-26 18:27:46 -08:00
Paul Adenot
da38e3c356 Bug 814012 - Add a |onopen| member to the PeerConnection interface. r=ekr 2012-11-21 17:55:25 +01:00
Paul Adenot
f7141fa129 Bug 813885 - RTCIceCandidate constructor arguments don't match spec. r=jesup 2012-11-21 15:52:43 +01:00
Paul Adenot
2dcc603bbb Bug 810458 - Make mozRTCSessionDescriptor respect the spec. r=jesup 2012-11-21 08:59:02 +01:00
Paul Adenot
eaaabd00eb Backed out changeset d66d35f64802 because it is wrong. 2012-11-20 14:53:46 +01:00
Paul Adenot
6164b4865f Bug 810458 - Make mozRTCSessionDescriptor respect the spec. r=jesup 2012-11-20 14:36:29 +01:00
Randell Jesup
8e428d4084 Bug 812886: Watch network (tear)down events and kill PeerConnections r=ekr,smaug,bsmith 2012-11-18 23:53:14 -05:00
Randell Jesup
d3a4f3b8fa Bug 802376: wallpaper permissions bug when selecting a camera+audio other than the first r=ekr 2012-11-18 23:13:22 -05:00
Randell Jesup
decae3d858 Bug 811695: disable internal socket transports for getUserMedia Audio capture r=derf 2012-11-15 17:58:40 -05:00
Henrik Skupin
3a028fcb70 Bug 801227 - Crashtest for WebRTC crash [@mozilla::MediaManager::GetUserMedia]. r=jesup 2012-11-15 19:34:41 +01:00
Randell Jesup
ee58d7edd6 Bug 801227: Patch v2 (unbitrotted) r=anant a=abillings 2012-11-13 16:55:02 -05:00
Anant Narayanan
d2c4f66e1e Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 21:04:27 -08:00
Jim Mathies
10f2624748 Backout Bug 810164 due to bustage. r=bustage 2012-11-09 18:04:23 -06:00
Anant Narayanan
6517e45991 Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 15:27:38 -08:00
Randell Jesup
54a75d338b Bug 808002: add missing consts lost in main landing for unreliable data channels r=anant 2012-11-07 14:07:22 -05:00
Anant Narayanan
ea423daca6 Bug 803782: Reset found flag while enumerating audio devices; r=jesup 2012-11-07 08:12:14 -08:00
Anant Narayanan
7097406397 Revert d2f77172baf2 due to incorrect crashtest 2012-11-07 08:10:36 -08:00
Anant Narayanan
109054e57c Bug 803782: Reset found flag before enumerating audio devices; r=jesup 2012-11-07 06:51:38 -08:00
Randell Jesup
ce2fee7d59 Bug 807103: plug leak of PeerConnectionImpl in PeerConnection r=anant 2012-10-31 20:31:37 -04:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nathan Froyd
4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Henrik Skupin
ce48d7988f Bug 803493 - Fix Makefile.in entry for /dom/media mochitests. r=jesup 2012-10-29 08:57:11 -04:00
Robert O'Callahan
b1feab9a84 Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13:00
Henrik Skupin
a30b6a04c4 Bug 803493 - Move WebRTC Mochitests from dom/tests/mochitests/media to /dom/media/tests/mochitest. r=ted 2012-10-27 13:51:48 -04:00
Anant Narayanan
3a00ca73a2 Bug 805871: Make PeerConnection constraints optional; r=jesup 2012-10-26 15:31:17 -07:00
Ryan VanderMeulen
4f8fe31d2a Merge the last PGO-green inbound chnageset to m-c. 2012-10-25 21:14:50 -04:00
Randell Jesup
0111b8798d Bug 805451: Remove lock (mostly) and ensure other singleton refs are MainThread r=derf 2012-10-25 20:14:47 -04:00
Randell Jesup
d78da9336d Bug 798829: Force MediaManager to be created from MainThread r=anant 2012-10-25 00:54:38 -04:00
Anant Narayanan
f90c9929ee Bug 802694: Pass along constraints from PC JS module to PCImpl; r=ekr,jesup 2012-10-25 12:24:30 -07:00
Randell Jesup
157dcda1cc Bug 803976: Bustage fixes r=ehsan 2012-10-24 21:31:08 -04:00
Randell Jesup
4fda85ac3e Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Randell Jesup
f9529e846d Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc 2012-10-24 19:21:15 -04:00
Ehsan Akhgari
12ad3e18ba Backed out changeset ea436c6f7d2d (bug 803799), landed on a CLOSED TREE 2012-10-24 20:30:08 -04:00
Ehsan Akhgari
fec8894f04 Backed out changeset 165208ecd591 (bug 803976) 2012-10-24 20:29:32 -04:00
Randell Jesup
d6cc9a88c2 Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Randell Jesup
8f9c42aa87 Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc 2012-10-24 19:21:15 -04:00
Henrik Skupin
90369be346 Bug 805063 - Fix hang in crashtest for bug 791330. r=ekr 2012-10-24 17:13:39 -04:00
Henrik Skupin
51c558ac59 Bug 791330 - Crashtest for WebRTC crash [@ mozilla::NrIceCtx::GetGlobalAttributes], r=jesup 2012-10-23 16:18:09 -04:00
Henrik Skupin
8b58c2f1c0 Bug 804118 - Fix crashtests to use mozRTCPeerConnection insread of mozPeerConnection. r=jesup 2012-10-22 22:22:27 -04:00
EKR
0da9a18934 Bug 791330: Suppress calls to PC after close has been called; r=anant 2012-10-20 09:43:57 -07:00
Jason Smith
b5c5ba0df8 Bug 780780 - Crash test for mozilla::SuccessCallbackRunnable::Run - r=jesup 2012-10-17 23:32:25 -07:00
Anant Narayanan
546365d1f8 Bug 780790: Check for NULL callbacks in getUserMedia; r=jesup 2012-10-18 11:31:00 -07:00
Anant Narayanan
382c3b4fb6 Backed out changeset 3dfb18a29fe2 2012-10-18 11:53:59 -07:00
Anant Narayanan
611a7f7479 Bug 780790: Check for NULL callbacks to getUserMedia; r=jesup 2012-10-18 11:52:39 -07:00
Randell Jesup
bef0a4c1e2 Bug 803093: Lock access to MediaEngineWebRTC singleton r=anant 2012-10-18 14:03:00 -04:00
Randell Jesup
bb05ef58b2 Bug 802661: Clean up getUserMedia MediaStream handling r=roc,anant 2012-10-17 17:40:14 -04:00
Henrik Skupin
fa81f0cb29 Bug 791278 - Crash test for WebRTC crash [@sipcc::PeerConnectionImpl::SetLocalDescription]. r=jesup 2012-10-17 15:33:57 -04:00
Randell Jesup
abfb94ebc4 Bug 801843: Change how video frames are inserted into getUserMedia streams to remove blocking r=roc,anant 2012-10-17 05:46:40 -04:00
Anant Narayanan
edf634a604 Bug 802411: Refactor MediaEngine to use GIPS singletons; r=jesup 2012-10-16 17:53:55 -07:00
Henrik Skupin
e327718f4d Bug 791270 - Crashtest for WebRTC crash [@sipcc::PeerConnectionImpl::AddStream]. r=jesup 2012-10-16 13:23:41 -04:00
Randell Jesup
05bc38656e Bug 773649: Support getting audio and video in the same getUserMedia call r=roc,anant 2012-10-15 16:41:46 -04:00
Anant Narayanan
fe803ee13d Bug 801297: Fix PeerConnection.createAnswer API; r=jesup 2012-10-15 11:35:21 -07:00
Peter Van der Beken
767c08f204 Fix for bug 711628 (Implement PeerConnection.localStreams/remoteStreams). r=bz.
--HG--
extra : rebase_source : e21a429d85fc60a972752a2a7deb88a7cb648f3c
2012-09-13 18:04:31 +02:00
Randell Jesup
0945ff4d8b Bug 799191: incorrect audioCount in GetUserMediaDevicesRunnable r=derf 2012-10-09 17:56:22 -04:00
Anant Narayanan
b768c06860 Bug 798966: Create a preference to bypass gUM permission; r=jesup 2012-10-07 17:31:45 -07:00
Anant Narayanan
be9228b287 Bug 798825: Add DataChannel DOM interfaces to RTCPeerConnection; r=smaug 2012-10-07 01:34:30 -04:00
Anant Narayanan
dd86d9ae3a Bug 694807: Implement PeerConnection DOM interface; r=jst 2012-10-07 01:34:30 -04:00
Anant Narayanan
e61ba69837 Bug 694807: Implement PeerConnection C++ module; r=jst,jesup,ekr 2012-10-07 01:34:30 -04:00
Anant Narayanan
8b97806c7b Bug 792188: Add hints to MediaStreams to help with generating signaling r=jesup 2012-10-07 01:34:30 -04:00
Anant Narayanan
b31de5499b Bug 797796: Hookup getUserMedia backend with frontend UI; r=jesup 2012-10-05 17:20:47 -07:00
Anant Narayanan
f7ab670407 Bug 794668 - Fix error in patch to add fake media stream; r=me 2012-10-01 15:29:21 -07:00
Anant Narayanan
1045427d7c Bug 794668 - Add fake media stream functionality to getUserMedia; r=jesup 2012-09-28 15:26:00 -07:00
Kyle Huey
43e58e33c8 Bug 760331: Coalesce data for inline style across nodes. r=bz
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules.  MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit).  This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley.  A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet.  MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache.  This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.

The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value.  This can happen easily with large pages that are automatically generated.  An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change.  Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node.  Eliminating duplicate style rules enables further savings in layout through style context sharing.  The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.

Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules.  We also do not attempt to share MiscContainers when the node's base URI differs from the document URI.  The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Anant Narayanan
e852b08eb1 Bug 752352: Implement getUserMediaDevices for privileged chrome code; r=smaug, r=jesup 2012-09-20 12:54:00 -07:00
Ms2ger
e734d6f1a2 Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (second batch); r=mounir 2012-09-20 09:55:36 +02:00
Randell Jesup
e674138254 Bug 773847: Fix popupcontrol logic and take snapshots from main thread, enable Snapshots on Android by default r=mounir,blassey 2012-08-26 01:33:08 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Paul Adenot
106e87bbbc Bug 774581: Send event when starting/stopping audio or video recording; r=anant,mhabicher 2012-08-17 09:10:08 -07:00
Arjun
0d65c26ce9 Bug 780553: Fix error caused by merge of previous patch; r=anant 2012-08-10 08:41:33 -07:00
Arjun
1ea896bda5 Bug 780553 - Validate media type parameters for getUserMedia [r=anant] 2012-08-09 14:01:00 -07:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Robert O'Callahan
c26add417d Bug 771833. Windows in mActiveWindows are all inner-windows. r=anant 2012-07-26 16:05:00 -07:00
Mounir Lamouri
e744d91b29 Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking 2012-07-15 18:37:31 -07:00
Anant Narayanan
50e0b02bed Bug 771833: Assign an nsIPrincipal to media streams returned by getUserMedia; r=roc 2012-07-12 04:53:48 -07:00
Anant Narayanan
3e5896e86b Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst 2012-07-12 04:53:08 -07:00
Anant Narayanan
2d7d479c31 Backout b53e8a614a4c, bustage 2012-07-11 21:43:48 -07:00
Anant Narayanan
9bd2546c26 Backout 39fe6a5577d7, bustage 2012-07-11 21:43:24 -07:00
Anant Narayanan
ae28b3b6c2 Bug 771833: Assign an nsIPrincipal to media streams returned by gUM; r=roc 2012-07-11 21:24:34 -07:00
Anant Narayanan
75cd324c15 Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst 2012-07-11 21:22:24 -07:00
Ehsan Akhgari
4830dd98a3 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Anant Narayanan
bff22f37e2 Bug 738528: Android still image support for getUserMedia r=sicking, r=jesup (plus bustage fix r=jesup) 2012-06-05 08:53:00 -04:00
Anant Narayanan
87b32d19f1 Backout e8364adb4fd8, build bustage on Android (Bug 738528) 2012-06-08 17:17:52 -07:00
Anant Narayanan
10c1d5d1a7 Bug 738528: Android still image support for getUserMedia; r=sicking, r=jesup 2012-06-05 08:53:00 -07:00
Anant Narayanan
025e433abb Bug 752353: DOM bindings for getUserMedia; r=jst
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00