Chris Pearce
52b825bcc3
Bug 1169129
- Make GMPParent hold a self ref while GMP child process is alive. r=edwin
2015-06-05 21:55:52 +12:00
Chris Pearce
461ef61358
Bug 1169129
- Test that an EME GMP can instantiate a plugin before report we support that keySystem. r=edwin
2015-06-05 21:55:51 +12:00
Chris Pearce
3e5d36b7ac
Bug 1169129
- Make GMPService's GMP crash handlers easier to register. r=gerald
2015-06-05 21:55:51 +12:00
Chris Pearce
c02d6f7096
Bug 1169129
- Change GMP*Parent::ParentId() to a more consistent GMP*Parent::GetPluginId(). r=edwin
2015-06-05 21:55:51 +12:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Hieu Le
87a0a9fc12
Bug 1142272 - platformAPI memory leak, delete on return false. r=erahm
2015-05-28 00:32:00 -07:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Steven Michaud
551b2900b8
Bug 1167494 - Build error with --disable-sandbox on OS X. r=jld
2015-05-29 11:07:06 -05:00
Chris Pearce
f877417e6a
Bug 1168053 - Unified build fix in dom/media/gmp. r=jwwang
2015-05-29 14:07:22 +12:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Gerald Squelart
6a35b44e1b
Bug 1164264 - [EME] If there are no plugins left, don't wait for anything to shutdown. r=cpearce
2015-05-21 00:16:00 -04:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Ethan Hugg
c597bbc86a
Bug 1163239 - Check mGMPThread on shutdown. r=cpearce
...
--HG--
extra : rebase_source : 47c0458e8bc8bb14ca3245f33a416209b4f64ef4
2015-05-11 10:48:46 -07:00
Ehsan Akhgari
6532f9f013
Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
...
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before. This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-05-15 08:39:55 -04:00
Eric Rahm
34f99e4b4c
Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Bob Owen
c180b80463
Bug 1146874
Part 2: Add new nspr logging in GMPParent when process fails to launch. r=cpearce
2015-05-11 08:24:40 +01:00
Chris Pearce
256c472d27
Bug 1159495 - Change Windows to Unix line endings in GMPUtils.cpp. r=whitespace
2015-05-08 13:36:37 +12:00
Chris Pearce
0689f38a70
Bug 1162358 - Defer processing GMP DecodingComplete() calls until intr shmem allocs are finished. r=jesup
2015-05-08 13:36:34 +12:00
Gerald Squelart
cc52a79034
Bug 1160908 - [EME] Delete GMPRecords that are 0 bytes in size. r=cpearce
...
--HG--
extra : rebase_source : 3a43775f0a892573e72f3a45697093e5868da67e
2015-05-06 04:08:00 -04:00
Mike Conley
97a46ed1e0
Bug 1146955 - Make the GMP pluginID a uint32_t, and dispatch it in the PluginCrashed event. r=jesup r=mrbkap
...
--HG--
extra : rebase_source : ef8893d470e437d93a44b393f595518acb411852
extra : source : ad87e781794d5bb5337feb6e2608730075a7f71e
extra : histedit_source : 91cbbdedc9273982d0eb6b3c58269c73e0f46f63
2015-05-04 15:40:29 -04:00
Mike Conley
91457c2516
Bug 1146955 - Unify pluginID for GMP and runID for NPAPI plugins to use the same internal incrementor. r=jesup, mrbkap.
...
--HG--
extra : rebase_source : bd7989a043f0b36f23ffc8d35a55a6110b09b163
extra : source : 175040b5d347dcbb31cf63f124f88ba1f53fda61
2015-04-27 15:09:45 -04:00
Chris Pearce
9f7e269f5d
Bug 1159495 - Only report that Adobe EME is available if we have a plugin-container voucher. r=edwin
2015-04-30 21:52:14 +12:00
Edwin Flores
5e4843f394
Bug 1159300 - Don't use decrypting Gecko Media Plugins for non-encrypted playback - r=cpearce
2015-04-30 00:52:29 -04:00
Edwin Flores
5e27f10658
Bug 1155939 - Gtest for deletion of GMP plugins on removal - r=cpearce
2015-04-17 16:09:46 +12:00
Edwin Flores
a6f18578e9
Bug 1155939 - GMPServiceParent fixes for GMP deletion - r=cpearce
2015-04-20 16:21:35 +12:00
Andrea Marchesini
e666f02521
Bug 1156632 - Remove unused forward class declarations - patch 2 - dom/media, dom/indexedDB, dom/svg, r=ehsan
2015-04-22 08:29:17 +02:00
Edwin Flores
93909b8ff4
Bug 1156560 - Prefer old CDMs on update if they are in use - r=cpearce
2015-04-22 10:22:23 +12:00
Wes Kocher
78060d2f53
Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE
2015-04-21 14:23:56 -07:00
Ehsan Akhgari
3f4737e49a
Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
...
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before. This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-04-21 16:24:41 -04:00
Chris Pearce
5dd903a2e0
Bug 1154513 - [EME] GMP crash crashes browser in Nightly - Remember if actor is destroyed, so that no messages are sent from subsequent Shutdown() - r=cpearce
2015-04-21 16:32:15 +12:00
Ryan VanderMeulen
592eb8e32d
Backed out changesets f06080c6097f and 03ce639c4f13 (bug 1155939) for frequent Linux GMP gtest deadlocks.
...
--HG--
extra : rebase_source : ab588d9806e0c515943ebc0a387a58dce0c28a28
2015-04-20 11:39:36 -04:00
Ehsan Akhgari
4ebeb72f7b
Bug 1155178 - Part 2: Rename GMPUnique to GMPUniquePtr; r=cpearce
2015-04-20 08:29:51 -04:00
Ehsan Akhgari
623b3ca075
Bug 1155178 - Part 1: Convert GMPUnique into a template alias; r=cpearce
2015-04-20 08:28:44 -04:00
Chris Pearce
e0d0ef21b5
Bug 1156131 - Expand list of WMF DLLs that are whitelisted for use by EME plugins. r=bobowen
2015-04-20 20:10:40 +12:00
Edwin Flores
0394e1102c
Bug 1155939 - Gtest for deletion of GMP plugins on removal - r=cpearce
2015-04-17 16:09:46 +12:00
Edwin Flores
9a59beb0c7
Bug 1155939 - GMPServiceParent fixes for GMP deletion - r=cpearce
2015-04-20 16:21:35 +12:00
Chris Pearce
e61fe5c00d
Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin
2015-04-13 13:39:46 +12:00
Edwin Flores
22ff3a6f11
Bug 1148071 - Fix CDM update behaviour - r=cpearce
2015-04-04 17:03:16 +13:00
Jean-Yves Avenard
aa270b640c
Bug 1152652: Part1. Use mStandardMozillaStyle for crypto classes. r=edwin
2015-04-09 21:14:56 +10:00
Jean-Yves Avenard
e6858f0af5
Bug 1150853: Part2. Use new MediaRawObject across the board. r=cpearce.
2015-04-09 21:14:55 +10:00
Jean-Yves Avenard
a441d92aa3
Bug 1150853: Part1. Create MediaRawData object type. r=cpearce
...
This object extends MediaData and will be used to contain demuxed compressed
data.
2015-04-09 21:14:55 +10:00
JW Wang
a4af6bfb99
Bug 1150277 - Match hostname when removing GMP data. r=cpearce
2015-04-06 07:41:53 +08:00
Steven Michaud
33228918ed
Bug 1110911 - Move Mac sandboxing code into plugin-container. r=cpearce,areinald,jld
2015-04-03 11:51:41 -05:00
Daniel Holbert
a798d8e6bc
Bug 1057908 followup: Add missing 'override' annotation on GMPServiceParent::ActorDestroy method decl. rs=ehsan
2015-04-02 10:32:04 -07:00
Peter Van der Beken
166fcb5464
Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 5 - use bridging for GMP in e10s. r=billm.
...
--HG--
extra : rebase_source : a20ed3386758ceabccb50b68a9b9081c17a95c49
2015-02-10 11:49:03 +01:00
Peter Van der Beken
8308cf3a1b
Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 4 - make GetNodeId asynchronous. r=jwwang.
...
--HG--
extra : rebase_source : 59784b0a947cd870791a85b22c4d0607d9cdb835
2015-02-10 11:48:52 +01:00
Peter Van der Beken
75ade681f5
Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 3 - split the GMP IPDL actors in 2 parts (and use opens to open the second in non-e10s). r=billm.
...
--HG--
extra : rebase_source : 260e61d4a3e688e3ae3fb5c956d3ecce50fd7e0d
2015-02-10 11:48:42 +01:00
Peter Van der Beken
83b03d9a6f
Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 2 - support asynchronous GMP API getters. r=jwwang,rjesup.
...
--HG--
extra : rebase_source : 7010b6a0d5f3efc1ee749f836a37905f250d7cc6
2015-02-10 11:48:29 +01:00
Peter Van der Beken
f3fd8b5329
Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 1 - split GeckoMediaPluginService into a part for chrome and a part for both content and chrome. r=jwwang.
...
--HG--
rename : dom/media/gmp/GMPService.cpp => dom/media/gmp/GMPServiceParent.cpp
rename : dom/media/gmp/GMPService.h => dom/media/gmp/GMPServiceParent.h
rename : dom/media/gmp/mozIGeckoMediaPluginService.idl => dom/media/gmp/mozIGeckoMediaPluginChromeService.idl
extra : rebase_source : 7fe8972a20b198ca960ae76df082b153d22c37b4
2015-02-09 21:54:12 +01:00
Peter Van der Beken
5ae3fb0f69
Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 0 - Make mozIGeckoMediaPluginService::GetPluginVersionForAPI return whether we even have the plugin. r=cpearce.
...
--HG--
extra : rebase_source : fdb14a5ad68a7c6c76a4b67ca9ece1094d06422c
2015-02-24 15:03:56 +01:00
Bob Owen
e4f543bb58
Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce
2015-04-01 09:40:35 +01:00
Bob Owen
eef3ca5f6e
Bug 1119878 Part 1: Change SandboxTarget to hold sandbox target services to provide functions. r=aklotz, r=glandium, r=cpearce
2015-04-01 09:40:35 +01:00
Chris Pearce
5d922e0e8e
Bug 1146201 - Delay navigator.requestMediaKeySystemAccess if CDM not downloaded yet or needs update. r=jwwang,ehsan
2015-03-31 20:50:01 +13:00
Edwin Flores
157fb06549
Bug 1142835 - Null check mPlugin on GMPAudioDecoderParent shutdown - r=cpearce
2015-03-30 14:58:19 +13:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Edwin Flores
347ea12255
Bug 1147689 - Fix static analysis bustage - r=bustage
2015-03-26 23:17:13 +13:00
Edwin Flores
b790668a1f
Bug 1147689 - Preserve compatibility with eme-decrypt-v6 - r=cpearce
2015-03-26 22:58:43 +13:00
Edwin Flores
d888a5c88f
Bug 1147689 - Increment eme-decrypt API version to v7 - r=cpearce
2015-03-26 22:58:43 +13:00
Edwin Flores
46cbfd3c6b
Bug 1147689 - Pass the session ID(s) of an encrypted frame into EME CDMs - r=cpearce
2015-03-26 22:57:36 +13:00
Gerald Squelart
93b76062f3
Bug 1135541 - Make crash reporting work for EME CDMs - r=cpearce
2015-03-26 19:55:30 +13:00
Stephen Pohl
d123931436
Bug 1145336: Remove old GMPs during updates. r=jwwang
2015-03-22 23:12:03 -04:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
JW Wang
2689394ff9
Bug 1143532 - Include pid in the log messages of GMPParent. r=edwin
...
--HG--
extra : rebase_source : 704c153d9227781f9cc443315603204efc7e2b0a
2015-03-15 23:30:00 +01:00
Matthew Gregan
a5dd52d5ad
Bug 1144523 - Convert input buffer to expected format for OpenH264 GMP plugin. r=cpearce
2015-03-20 17:52:10 +13:00
JW Wang
88d592058a
Bug 1143562. Part2 - only init |mStorageBaseDir| in the chrome process. r=cpearce
2015-03-18 19:15:00 +01:00
JW Wang
80b1b90328
Bug 1143562 - use /data/b2g/mozilla/gmp as the gmp storage folder on B2G. r=cpearce
2015-03-16 19:51:00 +01:00
Nigel Babu
0a587c5cdd
Backed out changeset 05850dac2882 (bug 1143562) for B2G Emulator ICS M2 bustage CLOSED TREE
2015-03-18 12:20:57 +05:30
JW Wang
e21abfe964
Bug 1143562 - use /data/b2g/mozilla/gmp as the gmp storage folder on B2G. r=cpearce.
2015-03-18 10:29:31 +08:00
Daniel Holbert
082fd9cd7f
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
JW Wang
05f13e6968
Bug 1142917 - add logs to GMPChild. r=edwin.
2015-03-16 11:27:49 +08:00
Phil Ringnalda
571ce099b4
Back out 7f1f85ee4ba6 (bug 1143278) for Win7 near-permaorange in test_eme_canvas_blocked.html
2015-03-15 18:30:53 -07:00
Chris Pearce
151f899496
Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin
2015-03-15 11:30:24 +13:00
Chris Pearce
ae1bee7f7b
Bug 1138771 - Ensure we don't deref a null pointer in assertion in GMPVideoDecoderParent::Shutdown(). r=edwin
2015-03-04 23:20:45 +13:00
JW Wang
4c39b2596b
Bug 1131908 - no IPC calls after GMPDecryptorChild::RecvDecryptingComplete(). r=edwin.
2015-03-04 10:04:33 +08:00
Chris Pearce
e4ef49ff55
Bug 1136986 - Fix unthreadsafe uses of GMPVideoHost in gmp-clearkey. r=edwin
2015-02-28 10:23:33 +13:00
Chris Pearce
9c393b31d4
Bug 1136986 - Disable SharedDecoderManager for EME video. r=kentuckyfriedtakahe
2015-02-28 10:23:29 +13:00
Chris Pearce
feeeb99a0a
Bug 1124031 part 1 - Expose GMP version on GMPParent. r=jesup
2015-02-20 14:37:49 +13:00
Chris Pearce
9bf9f2a54e
Bug 1111160 - Dispatch observer service notifications when content succeeds or fails to get CDM access. r=bz
2015-02-14 08:52:42 +13:00
JW Wang
241c9833da
Bug 1130932
- allow GMPDecryptorParent::RecvKeyStatusChanged calls after Close(). r=edwin.
2015-02-09 07:32:59 +08:00
JW Wang
7a1fccea38
Bug 1130917 - Part 1 - disallow multiple records with the same name in GMPStorageChild::CreateRecord(). r=edwin
2015-02-08 20:37:18 +08:00
Matthew Gregan
554ea67ff5
Bug 1131340 - Avoid template aliasing since GCC 4.6 lacks support. r=cpearce
2015-02-10 14:27:36 +13:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Bill McCloskey
c04f106018
Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent)
2015-02-03 09:09:27 -08:00
Edwin Flores
e6bb7e2230
Bug 1075199 - Extend lifetime of VideoHost in GMPVideoDecoderParent to stop its destruction racing with the deallocation of video buffers - r=jesup
2015-01-16 11:04:03 +13:00
JW Wang
4d6309bd93
Bug 1083658
- add "output-downscaled" to GMP. r=cpearce.
2015-02-01 09:18:39 +08:00
JW Wang
c1dd9140a5
Bug 1121332. Part 1 - add media key status to gmp-api. r=cpearce.
2015-01-31 13:22:12 +13:00
Jed Davis
fef2dc290e
Bug 1120045 - Pref off allowing media plugins on Linux systems which can't sandbox them. r=jesup
...
This does *not* affect the sandboxing requirement for EME CDMs added in
bug 1074561; that is enforced separately and regardless of this pref.
Bonus fix: GC unused includes of sandbox headers.
2015-01-28 10:06:53 -08:00
JW Wang
bfc4d164a1
Bug 1124939 - Add "individualization-request" to MediaKeyMessageType. r=bz
2015-01-26 20:08:00 +01:00
Bob Owen
9bff5f0ad0
Bug 1094370: Use the USER_LOCKDOWN access token for GMP processes. r=aklotz
2015-01-26 10:14:39 +00:00
Matthew Gregan
f29aff15e4
Bug 1124021 - Fix dangerous UniquePtr usage pattern in GMP. r=cpearce
2015-01-20 18:39:00 +13:00
Matthew Gregan
8e86d1cba8
Bug 1124023 - Fix naming of GMPAudioDecoderCallbackProxy. r=cpearce
2015-01-20 18:39:00 +13:00
Brian Smith
205709fd68
Bug 1119072, Part 12: Explicitly cast char16_t to wchar_t in dom/media/gmp/GMPChild.cpp, r=ehsan
...
--HG--
extra : rebase_source : 676fcb3cbc4cc828c88cf404baa6af086e405915
2015-01-08 15:26:28 -08:00
Kyle Huey
7c82e6dd0a
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
JW Wang
a9391d3408
Bug 1102852 - add MediaKeyMessageType to and remove destinationURL from MediaKeyMessageEvent. r=cpearce,bz
2015-01-15 11:25:47 +13:00
JW Wang
d842c12f59
Bug 1111788 - Part 3 - clear nodeIds/records which are modified after the time of "clear recent history". r=cpearce.
2015-01-11 19:22:00 +01:00
JW Wang
b5a3daefe2
Bug 1111788 - Part 2 - have GeckoMediaPluginService listen to "browser:purge-session-history" event. r=cpearce.
2015-01-08 19:27:00 +01:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Chris Peterson
9e23388ca8
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Ehsan Akhgari
31a966ecd6
Bug 1117261 - Mark virtual overridden functions as MOZ_OVERRIDE in DOM media code; r=rillian
2015-01-08 23:11:30 -05:00
Chris Pearce
7ba4d8b1c1
Bug 1111391 - Enable keyMessages to be sent before create/load session promise is resolved. r=jwwang
2015-01-09 14:30:07 +13:00
JW Wang
c9d6a08a8c
Bug 1118574 - test case for "Forget This Site" command. r=cpearce
2015-01-06 18:51:00 +01:00
JW Wang
3434359fec
Bug 1111787 - Part 3: Clear plugis and storage data associated with the node IDs. r=cpearce
2014-12-29 22:22:00 -05:00
JW Wang
1725e359fe
Bug 1111787 - Part 2: Kill plugins with valid node IDs when clearing storage data for those IDs will be invalid and can't be used anymore. r=cpearce
2014-12-28 22:18:00 -05:00
JW Wang
ea65e9fd34
Bug 1111787 - Part 1: Delete the directory for the origin pair when "forget this site" is invoked. r=cpearce
2015-01-05 19:00:00 -05:00
Chris Pearce
2e9cf595cd
Bug 1114867 - Manually inline RtlSecureZeroMemory in GMPLoader, to ensure it doesn't wipe its own stack while running. r=dmajor
2015-01-06 07:36:42 +13:00
Chris Pearce
93923b922e
Bug 1114867 - Revert c29ebd2b4a10. r=dmajor
2015-01-06 07:36:39 +13:00
Ehsan Akhgari
de3498d101
Bug 1116358 - Directly call Release() on |this| when closing a GMP encoder/decoder proxies; r=cpearce
...
This is needed in order to avoid calling Release() on a smart pointer.
2014-12-30 14:53:12 -05:00
Chris Pearce
03dbaa0232
Bug 1101308 - Remove code to zero stack after GMP device binding as it's causing crashes. r=edwin
2014-12-22 19:59:00 +01:00
Chris Pearce
c4e3f4a357
Bug 1113477 - Fix logging in GMPParent that incorrectly labels sending nodeId and startPlugin as failed when it actually succeeded. r=edwin
2014-12-23 11:21:54 +13:00
Daniel Holbert
3229ae5426
Bug 1105065: Remove an #ifdef, to fix a -Wunused-private-field build warning in GMPLoader.cpp for builds with --disable-sandbox. r=cpearce
2014-12-19 10:12:23 -08:00
Chris Pearce
a23d2bdf73
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-19 09:54:34 +13:00
Ryan VanderMeulen
7acf8539fb
Backed out changesets 70428bb355a4 and a0ba2f134695 (bug 1109457) for EME failures and crashes on OSX 10.6.
2014-12-18 00:22:19 -05:00
Chris Pearce
65cccb08b1
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-18 16:16:13 +13:00
Ryan VanderMeulen
bf0212ce4f
Backed out changeset dc6994acf4e3 (bug 1109457) for EME test failures and crashes.
...
CLOSED TREE
2014-12-17 20:57:12 -05:00
Chris Pearce
ddd4b18d14
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-18 13:23:27 +13:00
JW Wang
5205c31de0
Bug 1111508 - cache GMP thread so we can access it after mPlugin is reset by GMPDecryptorParent. r=cpearce
2014-12-15 19:32:00 +01:00
Benjamin Smedberg
9f21c59029
Bug 1110818 - Measure crash and breakpad rates for subprocesses (plugin/gmplugin/content), r=gfritzsche
...
--HG--
extra : rebase_source : d5817f37804323f59d46c9c22c13f0588f2512fc
2014-12-12 14:13:28 -05:00
Chris Pearce
515d668bfb
Bug 1109861 - Add delegate to manage waiting for the CDM to mark key usable. r=kinetik
2014-12-11 15:59:37 +13:00
Ehsan Akhgari
550e972d13
Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku
2014-12-10 17:49:09 -05:00
Chris Pearce
b392b7de2a
Bug 1077159 - Use macros for GMP API names, to make them implicitly versionable. r=jesup
2014-12-10 09:35:26 +13:00
Chris Peterson
e424225899
Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps
2014-12-04 01:11:14 -08:00
Chris Pearce
179eab15d6
Bug 1049272 - Expose sandbox vouchers to GMPs. r=jesup
2014-12-05 00:43:41 -08:00
JW Wang
2846b24d9c
Bug 1107545 - add off-main-thread tests for GMPStorage APIs. r=cpearce.
2014-12-04 21:34:00 +01:00
Chris Pearce
d928f41d37
Bug 1104970 - Store GMPStorage record names at the start of each record. r=jesup
2014-12-03 13:36:00 +01:00
JW Wang
a62d6f881c
Bug 1102607 - make GMPStorage APIs callable off the main thread. r=cpearce.
2014-11-28 00:34:00 +01:00
Jed Davis
e78aaded67
Bug 1101170 - Move GMP's LinuxSandboxStarter into plugin-container. r=cpearce r=glandium
2014-11-24 15:22:14 -08:00
Jed Davis
2fdd7150c1
Bug 1101170 - Move sandbox status info into a separate module. r=kang r=glandium
...
This changes the interface so that the code which determines the flags
can live in one place, but checking the flags doesn't need to call into
another library.
Also removes the no-op wrappers for Set*Sandbox when disabled at build
time; nothing used them, one of them was unusable due to having the wrong
type, and all they really accomplish is allowing sloppiness with ifdefs
(which could hide actual mistakes).
2014-11-24 15:22:13 -08:00
Chris Pearce
fe82002fba
Bug 1100499 - Add GMP API to enumerate records stored on disk. r=jesup
2014-11-21 12:25:12 +13:00
Jacek Caban
f153018731
Bug 1101037 - Fixed dom/media/gmp compilation with mingw. r=nfroyd
2014-11-20 10:52:44 +01:00
Chris Pearce
12d67dabec
Bug 1102103 - Increase CDM voucher size limit. r=kentuckyfriedtakahe
2014-11-20 20:04:52 +13:00
Jacek Caban
c44c25bce3
Bug 1100963 - Fixed Windows compilation with disabled sandbox. r=cpearce
2014-11-19 11:07:52 +01:00
Chris Peterson
433d74c532
Bug 1098134 - Fix or suppress warnings in gmp-api, gmp-clearkey, and gmp-plugin and mark as FAIL_ON_WARNINGS. r=cpearce
2014-11-14 00:36:20 -08:00
Chris Pearce
8d2e1be533
Bug 1049273 - Expose GMP voucher to GMP at runtime if its present. r=jesup
2014-11-14 21:39:39 +13:00
Chris Pearce
a5cac33aae
Bug 1088488 - During GMP loading, zero stack memory after binding origin salt with device id. r=dmajor
2014-11-14 21:39:24 +13:00
Chris Pearce
7c37352690
Bug 1088488 - Remove old mechanism that GMPs could use to retrieve the device-bound node id. r=jesup
2014-11-14 21:39:24 +13:00
Chris Pearce
eb5bfa0cf3
Bug 1088488 - On Windows only, use librlz and SHA256 code to generate a device-bound node id inside plugin-container, pass to GMP. r=henri,r=jesup
2014-11-14 21:39:18 +13:00
Chris Pearce
c61a8acaa6
Bug 1088488 - make librlz a library, link into plugin-container. r=glandium
2014-11-14 21:26:24 +13:00
Chris Pearce
e90378e211
Bug 1088488 - Change GMPChild to use GMPLoader to load GMPs. r=jesup
2014-11-14 21:26:24 +13:00
Chris Pearce
f3af16c459
Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium
2014-11-14 21:26:24 +13:00
Chris Peterson
a05d3eba03
Back out changeset c98cb03a8475 (Bug 1098134) for Windows build bustage.
2014-11-14 00:09:58 -08:00
Chris Peterson
afa32e1976
Bug 1098134 - Fix or suppress warnings in gmp-api, gmp-clearkey, and gmp-plugin and mark as FAIL_ON_WARNINGS. r=cpearce
2014-10-22 00:40:18 -07:00
Chris Pearce
cb447ee54d
Bug 1096125 - Backout c129289d32d6 as Adobe/EME doesn't actually need those DLLs for OPM handshake. r=backout.
2014-11-11 15:00:02 +13:00
Chris Pearce
feee94838f
Bug 1096125 - Whitelist BCrypt.dll and Crypt32.dll for loading inside GMPs. r=bobowen
2014-11-09 18:17:00 +00:00
Jed Davis
59573e5f85
Bug 1077057 - Expose Linux sandboxing information to JS via nsSystemInfo. r=kang r=froydnj
...
This adds "hasSeccompBPF" for seccomp-bpf support; other "has" keys
will be added in the future (e.g., user namespaces).
This also adds "canSandboxContent" and "canSandboxMedia", which are
absent if the corresponding type of sandboxing isn't enabled at build
type (or is disabled with environment variables), and otherwise present
as a boolean indicating whether that type of sandboxing is supported.
Currently this is always the same as hasSeccompBPF, but that could change
in the future.
Some changes have been made to the "mozilla/Sandbox.h" interface to
support this; the idea is that the MOZ_DISABLE_*_SANDBOX environment
variables should be equivalent to disabling MOZ_*_SANDBOX at build time.
2014-11-06 13:11:00 +01:00
Chris Pearce
7ab137b8fd
Bug 1092860 - Fix GMPVideoFrameType and GMPSessionType serialization. r=jesup
2014-11-03 13:53:01 +13:00