Commit Graph

51 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
f453170f6b Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 22f80376a2ce9415dc9d7fdd2444405d3cd7e011
2014-10-10 17:28:35 -04:00
Chris Pearce
ffeb49f2c1 Bug 1088460 - Don't warn if we try to clear GMP storage when it's already clear. r=jesup 2014-10-28 11:19:25 +13:00