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

173 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup 135871f921 Bug 1353476: Make InputObserver refcounted r=drno
MozReview-Commit-ID: 9YULodfLBkq
2017-04-04 16:38:52 -04:00
Ben Kelly 4ffa062ade Bug 1350398 Remove Workers.h include from BindingUtils.h now that ThrowDOMExceptionForNSResult no longer exists. rs=bz 2017-03-24 15:27:11 -04:00
Andreas Pehrson 2feaa6b104 Bug 1334421 - Don't use templated class for refcount macros in MediaParent. r=jib
The assert in bug 1334421 mentions the MOZ_COUNT_{C|D}TOR macros, but the same
comment seems to apply to the NS_LogAddRef that's part of the
NS_INLINE_DECL_THREADSAFE_REFCOUNTING macro.

This fixes it for me.

MozReview-Commit-ID: CPjdO8YBbt0

--HG--
extra : rebase_source : 5833c4165517addd3f48f0d7dfe196cec494b013
2017-03-20 16:55:31 +01:00
Andrea Marchesini 9a66b94890 Bug 1340163 - Use of contentPrincipalInfo.origin in Media, r=jib 2017-03-20 16:04:06 +01:00
Sebastian Hengst 079d19514c Backed out changeset 591c42f40cbe (bug 1340163) 2017-03-20 15:37:23 +01:00
Andrea Marchesini c2dd88696c Bug 1340163 - Use of contentPrincipalInfo.origin in Media, r=jib 2017-03-20 14:51:56 +01:00
Randell Jesup f709468851 Bug 1337777: if no receive-SSRC was signaled for video, on the first packet reset the VideoReceiveStream r=bwc
Note that this stumbles over the use of the PCHandle as a global when
initializing the OpenH264 gmp plugin.

MozReview-Commit-ID: 7GEvIwwsitk
2017-03-02 15:11:22 -05:00
Michael Layzell 4ed3440974 Bug 1336510 - Part 6: Avoid AddRefing/Releasing CamerasChild on the wrong thread, r=jwwang
MozReview-Commit-ID: 8b5KK7sL6wb
2017-02-24 14:34:26 -05: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 4067f0d367 Bug 1336510 - Part 6: Avoid AddRefing/Releasing CamerasChild on the wrong thread, r=jwwang
MozReview-Commit-ID: 8b5KK7sL6wb
2017-02-23 12:24:12 -05: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
Andrea Marchesini 8cfefe583e Bug 1339734 - dom/media should check the return value of OriginKeysTable::GetPrincipalKey, r=jesup 2017-02-15 18:47:23 +01: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
Andrea Marchesini 359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Randell Jesup ac570b16c4 Bug 1250356: rollup of changes for webrtc after applying webrtc.org v49 update r=pkerr,ng,pehrsons,etc
See ssh://hg.mozilla.org/users/paulrkerr_gmail.com/webrtc49_merge/ for the
patch development history.
2016-12-27 19:41:02 -05:00
Kan-Ru Chen c649cfaa98 Bug 1319271 - Use actor's manager in case actor is already deleted (r=billm)
MozReview-Commit-ID: 3Dr2POjqNft
2016-12-13 16:46:33 -08:00
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05: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
Randell Jesup 2c33546190 Bug 1317670 Part 1 - r=jib 2016-11-20 02:39:08 -05:00
Jan-Ivar Bruaroey be144a7726 Bug 1318132 - Fix CamerasChild helper to return by value instead of out-of-scope reference (Coverity) r=jesup
MozReview-Commit-ID: 5RQodJ18MbA

--HG--
extra : rebase_source : 16af8788674198ab74cf44c7dc7cd87d1850aff9
2016-11-16 17:09:14 -05:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Bill McCloskey 4e78a26c74 Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 15:22:34 -08:00
Wes Kocher 4b3d16605a Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey 2dc5f495db Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 11:32:24 -08:00
Jan-Ivar Bruaroey 695cfd5856 Bug 1311048 - Pick out Firefox windows as scary by pid on Windows. r=jesup
MozReview-Commit-ID: DzlAVt1oJIs

--HG--
extra : rebase_source : 640dce53420d5b5d862244ef9d953cff899f1d1c
2016-11-03 17:21:56 -04:00
Jan-Ivar Bruaroey 409780816c Bug 1311048 - Pick out Firefox windows as scary by pid (only OSX atm). r=jesup
MozReview-Commit-ID: DwUodsRWswm

--HG--
extra : rebase_source : 0ab4002dfbbb4a0cf0265764d22c598256198d82
2016-09-30 13:23:42 -04: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
Cervantes Yu 9b89fed177 Bug 1278443 - Part 1: Don't open PBackground actors after PContentChild is closed. r=billm
MozReview-Commit-ID: FMtHF3yMQFG

--HG--
extra : rebase_source : 901de005a8f18ea7e406abae48d623fb60537c04
2016-10-04 17:48:46 +08:00
Randell Jesup 07c0f87e39 Bug 1306940: Use a pref to disable system-load monitoring in webrtc calls r=pkerr 2016-10-11 15:40:06 -04:00
Munro Mengjue Chiang 7f65775cb7 Bug 1308114 - Setup camera engine when the script sets navigator.mediaDevices.ondevicechange; r=jesup
MozReview-Commit-ID: CCp3EQzHd1u

--HG--
extra : rebase_source : 05d9dd7005c204edf0eb0a6851f59efa22db9a71
2016-10-06 15:30:35 +08:00
Gian-Carlo Pascutto da63392ebd Bug 1306290 - Always export CamerasTypes.h. r=jesup
MozReview-Commit-ID: g4ptH9tjJm

--HG--
extra : rebase_source : 713fc07884b58f2155e5a8382fb945d18077c90d
2016-10-03 20:05:30 +02:00
Munro Chiang df89868108 Bug 1304270 - Run FakeOnDeviceChangeEventRunnable on a dedicated thread rather than Camera IPC thread to prevent deadlock. r=pehrsons
MozReview-Commit-ID: HU3wqcG0Gxg

--HG--
extra : histedit_source : 13c04ff6e0954ac6dbe9d6a42662fffb6f9e5b3f
2016-09-30 10:44:05 +08:00
Gian-Carlo Pascutto 57506c3f2a Bug 1303713. r=tedd
--HG--
extra : rebase_source : 2cff361097a46e01b2a1e3aa6866aa58d7e0ff52
extra : histedit_source : 2a7c978f83d45f4a6f256fb671366091430d6473
2016-09-19 17:49:59 +02:00
Florian Quèze 6f480b3e80 Bug 1299783 - change the name of the temporary permission from 'camera' to something not exposed in the UI, r=gcp. 2016-09-21 17:19:07 +02:00
Julian Hector 4946f018b4 Bug 1303275 - Fix ShmemPool code to resolve 'not declared' compiler error. r=gcp
--HG--
extra : amend_source : 7fde47fe1c2f25069f85904df7b06774129acc4b
2016-09-16 06:44:00 -04:00
David Anderson 62129d7cb4 Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 0419df6221d59c4e9b085015d8483267fb3d446f
2016-09-13 16:30:57 -07:00
Andreas Pehrson 0a0c94abc9 Bug 1297099 - Change LoadManagerSingleton WeakPtr to RefPtr. r=jesup
--HG--
extra : rebase_source : c40fe1ca338ca3e8aed7e618ea4dd8e95dc74672
2016-08-25 10:04:58 -04:00
Ryan VanderMeulen 520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Munro Mengjue Chiang b6c7822e72 Bug 1296684 - export DeviceChangeCallback.h no matter webrtc is enabled or not; r=jib
MozReview-Commit-ID: 9xocLhe1QZw

--HG--
extra : rebase_source : cfa81f49e8b98b93c90a6ea436ee106db7a12f00
2016-08-22 18:16:28 +08:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Munro Mengjue Chiang 730a993044 Bug 1286429 - Fire fake devicechange event in Camera IPC thread for mochitest; r=jib
MozReview-Commit-ID: 9sDLnMGh3xL

--HG--
extra : rebase_source : 026891d00450b9bfd792708ab3d5d2e730f431f9
2016-08-09 16:37:04 +08:00
Munro Mengjue Chiang 4eb2d3e90d Bug 1286429 - implement mediaDevices.ondevicechange for Mac OSX; r=jib,smaug
MozReview-Commit-ID: D1Jr6I4qPyr

--HG--
extra : rebase_source : 0f4a97da80d25923c9b6f6550b94039aefa88de5
2016-08-12 01:04:49 +08:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Jan-Ivar Bruaroey 6c6a61c82b Bug 1213517 - split off MediaTaskUtils.h from MediaUtils.h to shed dependencies. r=jesup
MozReview-Commit-ID: DQz12SN0SU1

--HG--
rename : dom/media/systemservices/MediaUtils.h => dom/media/systemservices/MediaTaskUtils.h
extra : rebase_source : bd2b2a22b0bc5f92e071534bf13ef3a6880edbd9
2015-11-18 22:40:41 -05:00
Iris Hsiao 0d054175d7 Backed out changeset 3764e2fac765 (bug 1213517) 2016-07-18 15:42:06 +08:00