Andreas Pehrson
edff555cf5
Bug 1320994 - Refactor MediaManager's window management. r=jib
...
This in large does the following:
* Changes the model in MediaManager to align with that of chrome code, namely:
- One GetUserMediaWindowListener *per window*, containing N SourceListeners for N gUM requests, and
- GetUserMediaWindowListener replaces GetUserMediaStreamListener
- So if two SourceListeners stop we can still send only one event
* Breaks a special event specific to B2G chrome
MozReview-Commit-ID: 3wbPFmc9yWj
--HG--
extra : rebase_source : 4ad324f6bb1be637da584f323a3e039c5b4f664d
2017-04-26 11:13:40 +02:00
Jan-Ivar Bruaroey
aa0a07c837
Bug 1354642 - Add MakeRefPtr<> helper class. r=Ehsan
...
MozReview-Commit-ID: es34uMTZ00
--HG--
extra : rebase_source : 8738a70a47cceece1b56b66f741e29275c066d92
2017-04-07 15:08:42 -04:00
Jan-Ivar Bruaroey
ee60830406
Bug 1349480 - s/NotSupportedError/TypeError for getUserMedia({}) r=jesup
...
MozReview-Commit-ID: 7bJA01u7F0K
--HG--
extra : rebase_source : 383fcf039842bdefac682b4839a04ee8bf5e296c
2017-03-22 08:41:33 -04:00
Andrea Marchesini
507c00cb9f
Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot
...
--HG--
rename : caps/nsPrincipal.cpp => caps/ContentPrincipal.cpp
rename : caps/nsPrincipal.h => caps/ContentPrincipal.h
2017-03-22 11:39:31 +01:00
Andrea Marchesini
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Michael Layzell
cab1a9949b
Bug 1336510 - Part 4: Capture a strong reference to this in dom/media, r=jwwang
...
MozReview-Commit-ID: 4lVGrGzhVXh
2017-02-24 14:34:23 -05:00
Wes Kocher
7e8f316730
Backed out 8 changesets (bug 1336510) for windows debug mn-e10s failures a=backout
...
Backed out changeset 419ada2f9e81 (bug 1336510)
Backed out changeset 19239f566a93 (bug 1336510)
Backed out changeset c8aeead6fe83 (bug 1336510)
Backed out changeset 422e63b872b5 (bug 1336510)
Backed out changeset 21869174dfd3 (bug 1336510)
Backed out changeset 57476b9f342d (bug 1336510)
Backed out changeset e842cdaaa7e5 (bug 1336510)
Backed out changeset bd943b368ff7 (bug 1336510)
MozReview-Commit-ID: 2z3Wa9QFkX4
2017-02-23 16:07:41 -08:00
Michael Layzell
1d0870e2e1
Bug 1336510 - Part 4: Capture a strong reference to this in dom/media, r=jwwang
...
MozReview-Commit-ID: 4lVGrGzhVXh
2017-02-23 12:24:12 -05:00
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Boris Zbarsky
6e7bd78dc6
Bug 1335368 part 16. Remove the use of IsCallerChrome in GetUserMedia. r=jib
2017-02-01 15:43:38 -05:00
Boris Zbarsky
387da61c81
Bug 1335368 part 15. Remove the use of IsCallerChrome in ApplyConstraints. r=jib
2017-02-01 15:43:38 -05:00
Andrea Marchesini
98f845f364
Bug 1320170 - dom/media should use nsIPrincipal (and PrincipalInfo) instead origin as string, r=rjesup, r=ehsan
2017-01-28 18:29:13 +01:00
Bill McCloskey
ec760e9fba
Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)
...
MozReview-Commit-ID: ET43PbGRgxl
2017-01-26 14:45:58 -08:00
Bevis Tseng
72d516ef01
Bug 1314833 - Part 2.2: Use AbstractThread::CreateDirectTaskDrainer() to Drain Direct Tasks Dispatched to MediaStreamGraph. f=rjesup,r=padenot,jwwang
...
MozReview-Commit-ID: 1KgE3uKu4CG
--HG--
extra : rebase_source : 2ad950afe84675fb9bc4c449e53e7c0d52270175
2016-12-07 22:00:12 -10:00
Munro Mengjue Chiang
f0be461749
Bug 1270572 - allow un-prompted gUM access if the page has a live track connected to the same device; r=florian,gcp,smaug
...
MozReview-Commit-ID: EvATqR4NNTH
--HG--
extra : rebase_source : cf3b08d7f47e8239bdb6ed27a2eaacb491200d48
2017-01-19 12:24:59 +08:00
Chris Peterson
faf39081ac
Bug 1329562 - Part 2: Remove gUM screensharing.allow_on_old_platforms check for XP. r=jesup
...
MozReview-Commit-ID: GWCjf8mT3Wl
--HG--
extra : rebase_source : c6d267585114c8e82550dc8378596a26054dac8d
2017-01-08 12:12:03 -08:00
Chris Peterson
64471d9880
Bug 1329562 - Part 1: Remove WebRTC checks for Vista. r=jesup
...
MozReview-Commit-ID: IGv5weXLIwJ
--HG--
extra : rebase_source : 3bc86cba7cedf37395504f5792d0e8803df30676
2017-01-08 00:18:22 -08:00
Andrea Marchesini
f7f5990527
Bug 1317927 - Media caching needs to use origin attributes, r=cpearce, r=jesup
2016-12-07 07:07:09 -10:00
Florian Quèze
0211bb62b9
Bug 1037438
- implement persistent deny permissions for screen sharing, r=jesup,past.
2016-11-28 12:29:31 +01:00
Carsten "Tomcat" Book
aee9df5fff
Backed out changeset ca8ca07756ab (bug 1037438
)
2016-11-28 15:56:42 +01:00
Florian Quèze
10d60535cc
Bug 1037438
- implement persistent deny permissions for screen sharing, r=jesup,past.
2016-11-28 12:29:31 +01:00
Randell Jesup
2c33546190
Bug 1317670 Part 1 - r=jib
2016-11-20 02:39:08 -05:00
Andrea Marchesini
dd1d53bd2b
Bug 1319045 - Get rid of nsPrincipal::GetOriginFromURI, r=qdot
2016-11-22 12:38:41 +01:00
Ehsan Akhgari
eac76d9772
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
3eacc680db
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Ehsan Akhgari
cb369370b3
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Jan-Ivar Bruaroey
f89ebba64a
Bug 1315858 - Test ability to detect screensharing sources that are firefox. r=florian,jesup
...
MozReview-Commit-ID: K6Kkdaso7dd
--HG--
extra : rebase_source : e655b26439496af416bd7b1072c6f74cf20401a2
2016-11-07 12:20:41 -05:00
Phil Ringnalda
b12005f643
Backed out changeset 621860d37e72 (bug 1315858) for WinXP failures in test_getUserMedia_scarySources.html
2016-11-08 20:50:53 -08:00
Jan-Ivar Bruaroey
e67d93e9ca
Bug 1315858 - Test ability to detect screensharing sources that are firefox. r=florian,jesup
...
MozReview-Commit-ID: K6Kkdaso7dd
--HG--
extra : rebase_source : 482d2802036e707997e3b72186e04489e2324dce
2016-11-07 12:20:41 -05:00
Jan-Ivar Bruaroey
3e374cf65b
Bug 1315737 - Remove platform checking of screensharing whitelist r=jesup
...
MozReview-Commit-ID: IosWOvEsIF8
--HG--
extra : rebase_source : 6a54649593ed47057220d901f895fd5933c66a47
2016-11-07 13:39:20 -05:00
Phil Ringnalda
393b414467
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Andreas Pehrson
825d513165
Bug 1301675 - Rename BasicUnstoppableTrackSource to BasicTrackSource. r=jib
...
They are not unstoppable any longer. We just don't forward Stop() to the real source.
MozReview-Commit-ID: FdFccMsD3eb
--HG--
extra : rebase_source : e29a1abb8f2060cb72399d61d91ca3a00128f08c
2016-09-16 15:19:28 +02:00
Andreas Pehrson
159d4ead9e
Bug 1301675 - Remove MediaStreamTrackSource::mIsRemote. r=jib
...
MediaStreamTrack.remote is no longer part of the spec.
MozReview-Commit-ID: BgHJ1zNIoWN
--HG--
extra : rebase_source : 11022eb420cbdb0c7aa5aa7814cf35330f4170b9
2016-09-12 15:59:58 +02:00
Jan-Ivar Bruaroey
2c03b58a19
Bug 1312030 - Remove MediaParent singleton to work with multi content processes. r=jesup
...
MozReview-Commit-ID: 8JONCRge6SU
--HG--
extra : rebase_source : ad30110ab35afb783291beee20cd5df2047d1149
2016-11-01 07:44:02 -04:00
Andreas Pehrson
0c1268b303
Bug 1312332 - Use stopVideo as intended. r=jib
...
MozReview-Commit-ID: JreGgjDwfam
--HG--
extra : rebase_source : 3bcf591250ea92e245446ddb2c34a937afd63939
2016-10-24 08:01:41 +02:00
Andreas Pehrson
e53071bee0
Bug 1284102 - Notify chrome of stopped tracks in next stable state. r=jib
...
If content stops multiple gUM tracks in the same event loop we should only
notify chrome once to avoid unnecessary chrome updates.
MozReview-Commit-ID: 93aAPUvydPt
--HG--
extra : rebase_source : 685a842acce4970df9a495af1d7fac267b3d252b
extra : source : ed8face75a4664fa11eb64c62a289adf5bcca6db
2016-09-21 15:17:23 +02:00
Jan-Ivar Bruaroey
fb49e07898
Bug 1284910 - Add scary boolean to mediaDeviceInfo. r=jesup
...
MozReview-Commit-ID: 2A7QZgUQH8l
--HG--
extra : rebase_source : 15f534bd11d1b8bb4e85de7bc8cac45c99654ce4
2016-09-29 15:37:25 -04:00
Carsten "Tomcat" Book
d6850a3a86
merge mozilla-inbound to mozilla-central a=merge
2016-10-17 11:19:02 +02:00
Sebastian Hengst
2bd34f750f
Bug 1306137 - remove b2g camera code: Remove MOZ_B2G_CAMERA. r=aosmond
...
MozReview-Commit-ID: D207i9boeTJ
--HG--
extra : rebase_source : 390031b8a74ba145008328129079dcb0dee5a6c1
2016-09-28 21:10:32 +02:00
Carsten "Tomcat" Book
e90a683f18
Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes
2016-10-14 14:59:36 +02:00
Carsten "Tomcat" Book
fed18a42c0
Backed out changeset 5af415bbb107 (bug 1308615)
2016-10-14 14:58:51 +02:00
Eric Rahm
b8cfe3a083
Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
...
This removes the rest of the usage of nsISupportsArray in MediaManager.
MozReview-Commit-ID: EqXTRNyKiva
2016-10-13 22:02:58 -07:00
Eric Rahm
441292eb71
Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
...
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.
MozReview-Commit-ID: 1PLczEptf59
2016-10-13 22:02:47 -07:00
Eric Rahm
e4b0439502
Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
...
This removes the rest of the usage of nsISupportsArray in MediaManager.
MozReview-Commit-ID: EqXTRNyKiva
2016-10-14 10:06:37 -07:00
Eric Rahm
b9acba878d
Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
...
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.
MozReview-Commit-ID: 1PLczEptf59
2016-10-14 10:06:27 -07:00
Jan-Ivar Bruaroey
cfc1a09d64
Bug 1308605 - Fail with OverconstrainedError on bad constraint. r=jesup
...
MozReview-Commit-ID: JJ1Y3G5b1wl
--HG--
extra : rebase_source : 0ac85ff7c2438aef4ea9e6230fb3816148993fb6
2016-10-12 17:31:20 -04:00
Phil Ringnalda
e6f43c4543
Backed out 2 changesets (bug 1308615) for failures in browser_devices_get_user_media.js
...
CLOSED TREE
Backed out changeset 85689c52301c (bug 1308615)
Backed out changeset ec8e67234efb (bug 1308615)
2016-10-07 19:42:01 -07:00
Eric Rahm
abd64af72d
Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
...
This removes the rest of the usage of nsISupportsArray in MediaManager.
MozReview-Commit-ID: EqXTRNyKiva
--HG--
extra : rebase_source : e41488b4ef7bc6a380a12aae402029d56c92c925
2016-10-07 14:52:52 -07:00
Eric Rahm
28dd079343
Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
...
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.
MozReview-Commit-ID: 1PLczEptf59
--HG--
extra : rebase_source : a8beed043989f6e69e89d17c0db1864c6d7258ac
2016-10-07 14:52:48 -07:00
Mark Banner
c4565f5765
Bug 1306631 - Remove old Loop telemetry hooks from WebRTC code. r=jesup
...
MozReview-Commit-ID: 1ctKZPDVEha
--HG--
extra : rebase_source : 530df82d85d87dd605289b8af8ce372ba6cd4ed9
2016-09-23 16:55:48 +01:00