Commit Graph

68 Commits

Author SHA1 Message Date
Chris Pearce
ec67288f9d Bug 1160321 - Test whether we can create H.264/AAC decoders before we report we support them. r=mattwoodrow 2015-05-08 13:36:32 +12:00
Phil Ringnalda
25e5d3ddc4 Back out dbb002daa455 (bug 1160321) for assertion failures 2015-05-05 20:04:39 -07:00
Chris Pearce
b8de3abe20 Bug 1160321 - Test whether we can create H.264/AAC decoders before we report we support them. r=mattwoodrow 2015-05-06 11:40:45 +12:00
Mike Conley
ead628b6ad Bug 1146955 - Make the GMP pluginID a uint32_t, and dispatch it in the PluginCrashed event. r=jesup r=mrbkap 2015-05-04 15:40:29 -04:00
Chris Pearce
b332ab98b5 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
Chris Pearce
1572b8b915 Bug 1159495 - Only report Adobe EME supported if required WMF codecs are installed. r=edwin 2015-04-30 21:52:01 +12:00
Andrea Marchesini
504f4e8fee 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
ec805d44ea Bug 1156560 - Prefer old CDMs on update if they are in use - r=cpearce 2015-04-22 10:22:23 +12:00
Chris Pearce
7d74ad96b3 Bug 1154133 - Remove sync dispatches in EMEDecryptor, and mark MediaTaskQueue::SyncDispatch as deprecated. r=edwin 2015-04-15 12:14:49 +12:00
Chris Pearce
d432eb8513 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
f4a1ee70ca Bug 1148071 - Fix CDM update behaviour - r=cpearce 2015-04-04 17:03:16 +13:00
Jean-Yves Avenard
6f34756234 Bug 1150853: Part2. Use new MediaRawObject across the board. r=cpearce. 2015-04-09 21:14:55 +10:00
Peter Van der Beken
bdee5c0ec4 Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 4 - make GetNodeId asynchronous. r=jwwang. 2015-02-10 11:48:52 +01:00
Peter Van der Beken
ace406a462 Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 2 - support asynchronous GMP API getters. r=jwwang,rjesup. 2015-02-10 11:48:29 +01:00
Peter Van der Beken
b9e2957259 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. 2015-02-24 15:03:56 +01:00
Chris Pearce
715aca878d Bug 1148286 - Ensure we don't nullpointer deref if the CDM crashes in MediaKeys and Reader::SetCDMProxy implementations. r=edwin 2015-04-01 20:48:43 +13:00
Chris Pearce
27d2cbca4d Bug 1146201 - Delay navigator.requestMediaKeySystemAccess if CDM not downloaded yet or needs update. r=jwwang,ehsan 2015-03-31 20:50:01 +13:00
Daniel Holbert
6353a71719 Bug 1135541: Annotate new method "IsStillValid" in EME code as 'override'. rs=ehsan 2015-03-27 14:04:16 -07:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Edwin Flores
19fc7f27b6 Bug 1147689 - Preserve compatibility with eme-decrypt-v6 - r=cpearce 2015-03-26 22:58:43 +13:00
Edwin Flores
29b990ffae 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
180a471b26 Bug 1135541 - Make crash reporting work for EME CDMs - r=cpearce 2015-03-26 19:55:30 +13:00
Chris Pearce
dbec6d951a Bug 1147730 part 2 - Validate input rather than not-yet-set data field in MediaKeySession::SetSessionId. r=jw_wang 2015-03-26 19:53:23 +13:00
Ehsan Akhgari
33bb32f549 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
Boris Zbarsky
54c64f20a9 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Daniel Holbert
2c24121797 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
Phil Ringnalda
6799917ec4 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
764285660f 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
6adbe7ed51 Bug 1141883 - Add more logging to help debugging EME. r=edwin 2015-03-11 17:02:08 +13:00
JW Wang
171cf0ee9d Bug 1139270 - mark kGMPOutputDownscaled keys able to decrypt. r=cpearce 2015-03-04 22:26:23 +13:00
Chris Pearce
4d3879ec6c Bug 1138240 - Fail faster if a CDM tries to resolve a resolved promise. r=edwin 2015-03-02 14:13:47 +13:00
Chris Pearce
d8e338b4ef Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00
Chris Pearce
32a40d674d Bug 1124031 part 3 - Parse min CDM version from EME keySystem string. r=bz 2015-02-20 14:38:01 +13:00
Chris Pearce
7a93e0e38d Bug 1124031 part 2 - Rename EMELog.h to EMEUtils.h. r=bz
--HG--
rename : dom/media/eme/EMELog.cpp => dom/media/eme/EMEUtils.cpp
rename : dom/media/eme/EMELog.h => dom/media/eme/EMEUtils.h
2015-02-20 14:37:55 +13:00
Stephen Pohl
9f4fdc639e Bug 1089867: Rename media.eme.adobe-access.enabled pref to media.gmp-eme-adobe.enabled. r=cpearce 2015-02-17 12:50:16 -05:00
Gijs Kruitbosch
d42d49138e Bug 1133583 - pass window in EME notifications instead of null subject, r=cpearce
--HG--
extra : rebase_source : 509464a80ee8e3d82e5cfb24b6c215ab82d11056
2015-02-16 21:25:11 +00:00
Chris Pearce
1437140f15 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
a4c9b40759 Bug 1132780 - Fix namespace and include files in MediaKeyStatusMap.cpp/h. r=cpearce 2015-02-12 19:26:00 -05:00
JW Wang
c6deed34f9 Bug 1132366 - Correct place to call MediaKeys::Release() during shutdown. r=edwin 2015-02-11 23:30:00 -05:00
Edwin Flores
0c5211449d Bug 1113474 - Release MediaKeys when cleaning up pending promises - r=jwwang 2015-02-11 15:11:54 +13:00
Edwin Flores
f122b9c193 Bug 1113474 - Keep MediaKeys alive until it has resolved all of its stored promises - r=cpearce 2015-02-11 11:43:49 +13:00
Edwin Flores
c61259e883 Bug 1129722 - Add {Hold,Drop}JSObjects to MediaKeyStatusMap - r=jwwang,bz 2015-02-06 11:04:47 +13:00
Chris Pearce
59db990be2 Bug 1129229 - Recognize com.adobe.primetime keysystem string. r=edwin 2015-02-05 09:36:44 +13:00
JW Wang
cd1cfa0d08 Bug 1128389 - rename "keyschange" to "keystatuseschange" per spec change. r=bz. r=cpearce. 2015-02-03 16:53:36 +08:00
JW Wang
3118ef8c6a Bug 1128379 - improve error handling in MediaKeys::CreateSession. r=bz 2015-02-01 19:12:00 +01:00
JW Wang
85bd4cbdce Bug 1083658 - add "output-downscaled" to GMP. r=cpearce. 2015-02-01 09:18:39 +08:00
JW Wang
6802f989fc Bug 1121332. Part 4 - implement MediaKeySession.keyStatuses and remove MediaKeySession.getUsableKeyIds. r=bz. 2015-01-31 13:23:07 +13:00
JW Wang
6fea7611db Bug 1121332. Part 2 - expose media key status from CDMCaps. r=cpearce. 2015-01-31 13:22:25 +13:00
JW Wang
5fdc2d3679 Bug 1121332. Part 1 - add media key status to gmp-api. r=cpearce. 2015-01-31 13:22:12 +13:00
Edwin Flores
6e6bf61ee9 Bug 1101304 - Handle CORS in EME - r=cpearce 2015-01-29 20:30:38 +13:00