Commit Graph

118 Commits

Author SHA1 Message Date
Jocelyn Liu
b144643f0d Bug 1203900 - Fix cycle collection and array buffer creation bug in the implementation of MediaKeyMessageEvent, MediaEncryptedEvent, and BluetoothLeDeviceEvent. r=bz 2015-09-11 21:05:00 +02:00
Edwin Flores
8813f3a69e Bug 1172396 - Check for GMP resources from chrome process instead of content - r=cpearce 2015-09-01 17:31:48 +12:00
Edwin Flores
5a3685e229 Bug 1172396 - Update GMP trial creation pref from chrome process - r=cpearce 2015-09-01 17:31:48 +12:00
Edwin Flores
72e6aa700d Bug 1172396 - Use a fixed node ID for GMP trial creation - r=cpearce 2015-09-01 17:31:48 +12:00
Edwin Flores
963c907732 Bug 1172396 - Use GMPVideoDecoderTrialCreator when e10s is enabled - r=cpearce 2015-09-01 17:31:48 +12:00
Chris Pearce
07c5d8b53b Bug 1176145 - Expose CDM version number in keySystem string. r=edwin 2015-08-31 16:08:51 +12:00
Chris Pearce
4253ea0ff6 Bug 1200059 - Make Adobe Primetime EME usable on MacOSX if available. r=edwin 2015-08-31 16:08:03 +12:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Pearce
2ad25b6368 Bug 1194576 - Add more NSPR logging around GMP*Parent actors. r=gerald 2015-08-14 19:18:19 +12:00
Jean-Yves Avenard
8c8e3b2a70 Bug 1190258: P1. Use getter to access MediaRawData mData and mSize member. r=cpearce 2015-08-06 18:48:44 +10:00
Boris Zbarsky
57621e1167 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Chris Pearce
e220da3249 Bug 1187113 - Add more logging around EME promise rejects and method calls that often fail. r=edwin 2015-07-27 11:52:19 +12:00
Kilik Kuo
bf15291935 Bug 1186375 - Add GMP EME render flags and APIs for query. r=cpearce 2015-07-22 19:07:14 +08:00
Bobby Holley
04eaf4c167 Bug 1184634 - Move various includes into the mozilla namespace. r=gerald
I did my a quick best-effort pass to fix up the most egregious ordering
problems. I left some big pre-existing messes alone.
2015-07-16 22:23:18 -07:00
Bobby Holley
407d2c5f90 Bug 1184634 - Rename MediaPromise to MozPromise. r=gerald 2015-07-16 22:21:56 -07:00
Chris Pearce
730e6e237a Bug 1184333 - Handle GMP crashing inside GMPVideoDecoder trial create. r=edwin 2015-07-17 11:09:39 +12:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Chris Pearce
f25d9c1e15 Bug 1181454 - Give up checking for Adobe EME plugin files if e10s is on until we get a proper fix. r=edwin 2015-07-09 19:29:13 +12:00
Chris Pearce
bf7652f7f2 Bug 1180610 - Handle EME plugin voucher disappearing after installation before restart, r=jw_wang 2015-07-06 21:59:07 +12:00
Chris Pearce
6f8271b698 Bug 1180070 - Use MediaPromises for CDMProxy::Decrypt. r=jwwang 2015-07-04 07:04:04 +12:00
Chris Pearce
8580f40510 Bug 1179521 - [EME] Replace test_eme_obs_notification.html with test for mediakeys-request notification. r=gerald 2015-07-03 14:29:46 +12:00
Chris Pearce
b4099e810a Bug 1174566 - More helpful MediaKeySystemAccess error messages. r=edwin 2015-06-26 15:16:52 -07:00
Chris Pearce
4c18608471 Bug 1147692 - Remove gmp-decryptor backwards compatibility hack. r=edwin 2015-06-26 08:06:25 -07:00
Chris Pearce
5c2a82c2bc Bug 1177461 - Check that the Adobe EME plugin voucher is present before advertising that Adobe EME will work to JS. r=edwin 2015-06-26 08:06:21 -07:00
Ryan VanderMeulen
7ac18353e6 Backed out changeset cbe9a2aea954 (bug 1147692) for test_eme_canvas_blocked.html failures.
CLOSED TREE
2015-06-25 16:05:41 -04:00
Chris Pearce
e8b350b32d Bug 1147692 - Remove gmp-decryptor backwards compatibility hack. r=edwin 2015-06-25 11:19:42 -07:00
Chris Pearce
8fde9bc26f Bug 1174987 - Disable GMPVideoDecoderTrialCreator when e10s is on. r=edwin 2015-06-16 21:12:53 +12:00
Chris Pearce
477384f63e Bug 1173225 - Add pref to control whether we trial create a GMPVideoDecoder. r=edwin 2015-06-10 14:42:04 +12:00
Edmund Wong
26d45a9e4f Bug 1171786 - Add DetailedPromise.h to MediaKeySession.h r=cpearce 2015-06-08 11:34:23 +08:00
Chris Pearce
b65cba6328 Bug 1169129 - Test GMPVideoDecoderTrialCreator detects failure. r=edwin
--HG--
rename : dom/media/gmp-plugin/gmp-fake.cpp => dom/media/gmp-plugin-openh264/gmp-fake-openh264.cpp
2015-06-05 21:55:52 +12:00
Chris Pearce
613781e9e3 Bug 1169129 - Make GMPVideoDecoderTrialCreator::Await...() take a detailed-promise-like template argument. r=edwin 2015-06-05 21:55:52 +12:00
Chris Pearce
6db802051b Bug 1169129 - Make DOMException::Create(nsresult, nsCString) accept nsACString. r=bholley 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
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
Eric Rahm
f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Edwin Flores
3e67f61e75 Bug 1160445 - Add |explicit| to DetailedPromise constructor on a CLOSED TREE - r=bustage 2015-06-03 14:28:56 +12:00
Edwin Flores
d0bfa9bf80 Bug 1160445 - Add detailed logging for EME promise failures - r=cpearce,bholley 2015-06-03 13:42:50 +12: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
Eric Rahm
141e0ff4a2 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -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
Eric Rahm
dc090e3fe5 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Chris Pearce
3ce455bf7b Bug 1165163 - Ensure MediaKeySession doesn't try to use CDM after it's crashed. r=jwwang 2015-05-18 11:09:05 +12:00
Eric Rahm
47d9aba92d Bug 1163201 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj 2015-05-14 10:13:23 -07: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
Chris Pearce
d383fa3c40 Bug 1160382 - Verify that Adobe EME plugin exists before instantiating it. r=edwin 2015-05-08 13:36:40 +12:00