Граф коммитов

600 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 6e485889b8 Bug 1330360 - Create new MSGs for each nsPIDOMWindow. r=jesup
MozReview-Commit-ID: 5m1MGcLmT7J

--HG--
extra : rebase_source : b9c05464bb545c047b7718a048eb7e5de3fe275d
2017-06-23 16:18:34 -07:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey 6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey 4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Carsten "Tomcat" Book 0aaf610c0f Merge mozilla-central to autoland 2017-06-13 12:14:05 +02:00
Bill McCloskey bd66079b0c Bug 1371127 - Use GetCurrentVirtualThread() in MediaManager (r=jesup)
MozReview-Commit-ID: 2Wf9Ln8TMOx
2017-06-12 20:21:43 -07:00
Bill McCloskey d6affd5261 Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce)
MozReview-Commit-ID: DUPt6xj49zz
2017-06-12 20:20:08 -07:00
Munro Mengjue Chiang ac029ed760 Bug 861716 - queue a gUM request if there has been a pending one. r=jib
MozReview-Commit-ID: 52KcsN27AR3

--HG--
extra : rebase_source : edd74624d32f964eee619e651be0c93dbaae0ac6
2017-05-12 11:32:14 +08:00
Jim Chen 378c61c98f Bug 1369108 - 1. Introduce optional device permission step; r=jesup
Right before `MediaManager::EnumerateRawDevices` posts its enumeration
task to the background thread, add the option to send out a
"getUserMedia:ask-device-permission" notification, whose purpose is to
give frontend UI a chance to ask for device permissions (e.g. permission
to enumerate cameras on Android).

The subject parameter of the notification is an `nsIRunnable` task,
which is passed back to `MediaManager`, after receiving permission,
through the `getUserMedia:got-device-permission` notification. The
notification listener then posts the task and enumeration proceeds as
before.

MozReview-Commit-ID: IhRXTdIplvN
2017-06-02 16:11:53 -04:00
Jan-Ivar Bruaroey 362c199aef Bug 1368875 - Count {video: true} and {audio: true} toward cam and mic counts respectively. r=jesup
MozReview-Commit-ID: BgdvRLpueit

--HG--
extra : rebase_source : 0e271bfd7547099586b3014e551bf6e3282c010a
2017-05-30 21:57:37 -04:00
Jan-Ivar Bruaroey 85b8864f71 Bug 1366415: Unprefix mozAutoGainControl and mozNoiseSuppression w/deprecation warnings. r=jesup,smaug
MozReview-Commit-ID: EdWjSsIhtIM

--HG--
extra : rebase_source : 373bf802ae7a0f957770f2f6ec18fa4cc6c736da
2017-05-19 20:57:44 -04:00
Benjamin Peterson d7205479b1 No bug - fix indentation DONTBUILD
--HG--
extra : rebase_source : 98b121a221b63f701e65536c602504d702945e0a
2017-05-09 22:19:23 -07:00
Munro Mengjue Chiang c8de52fd2d Bug 1363261 - Remove a callId from mCallIds when the corresponding GetUserMediaTask is removed from mActiveCallbacks. r=jib
MozReview-Commit-ID: DcSQ8O9MoCb
2017-04-24 15:11:51 +08:00
Andreas Pehrson 7b778ab6a6 Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB

--HG--
extra : rebase_source : 9276fc7db3566cf0d46a37811a044a25a19bfcbc
2017-03-29 12:07:45 +02:00
Andreas Pehrson 1fc0f176be Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8

--HG--
extra : rebase_source : 0170fb2dcf5856e04cb198eaeb7cbd6b296857b4
2017-03-29 12:06:49 +02:00
Andreas Pehrson 57c8cc22d0 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 : dff76a1fa604962b45446d632ffb4da58853cfa0
2017-04-26 11:13:40 +02:00
Sebastian Hengst 82e2afb73a Backed out changeset b17aaf7a8689 (bug 1320994) 2017-05-03 13:14:18 +02:00
Sebastian Hengst 7211725673 Backed out changeset c60c97633ac8 (bug 1320994) 2017-05-03 13:14:09 +02:00
Sebastian Hengst 23ee24c08b Backed out changeset cf74f8bacbc1 (bug 1320994) 2017-05-03 13:14:05 +02:00
Andreas Pehrson ade3807eea Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB

--HG--
extra : rebase_source : 0e964f4b41ff53c678fa015001156f3af27563db
2017-03-29 12:07:45 +02:00
Andreas Pehrson 7bd84f27d8 Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8

--HG--
extra : rebase_source : cb702280e9b3fcfcd09a11feeb9f8dfbdf115580
2017-03-29 12:06:49 +02:00
Andreas Pehrson 5db9427abb 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
Wes Kocher 2768cd5d15 Backed out 5 changesets (bug 1320994) for browser_downloads_panel_block.js permafails on Win7VM a=backout
Backed out changeset b744a070cafb (bug 1320994)
Backed out changeset 5766ba7143b4 (bug 1320994)
Backed out changeset 31afc3fcd61f (bug 1320994)
Backed out changeset 78e5f8775727 (bug 1320994)
Backed out changeset 6d4e1736fd69 (bug 1320994)

MozReview-Commit-ID: 9tPD6gwXttd

--HG--
extra : rebase_source : 56cb2ac6d2e057b171d74cd529b53e617c716b4c
2017-04-26 15:21:54 -07:00
Andreas Pehrson 0dcc290a85 Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB

--HG--
extra : rebase_source : 0e964f4b41ff53c678fa015001156f3af27563db
2017-03-29 12:07:45 +02:00
Andreas Pehrson 3294058c0a Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8

--HG--
extra : rebase_source : cb702280e9b3fcfcd09a11feeb9f8dfbdf115580
2017-03-29 12:06:49 +02:00
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