Closed Bug 1276643 Opened 8 years ago Closed 8 years ago

Tests do not fetch Widevine CDM

Categories

(Testing Graveyard :: external-media-tests, defect, P2)

defect

Tracking

(firefox46 unaffected, firefox47 wontfix, firefox48 affected, firefox49 fixed)

RESOLVED FIXED
mozilla49
Tracking Status
firefox46 --- unaffected
firefox47 --- wontfix
firefox48 --- affected
firefox49 --- fixed

People

(Reporter: bryce, Assigned: bryce)

References

Details

Attachments

(1 file, 1 obsolete file)

The external media tests are set up to trigger Firefox to download an up to date version of Adobe's Content Decryption Module (CDM). However the tests do not trigger this for Widevine. This results in test failures for EME protected content that uses Widevine.

As we move towards usage of Widevine CDM this will need to be remedied, so that the current tests work, and so we have coverage of Widevine.
Assignee: nobody → bvandyk
Bryce, the external media tests run on all Firefox channels or just Nightly?
Flags: needinfo?(bvandyk)
Priority: -- → P2
They currently run on Aurora and Nightly.
Flags: needinfo?(bvandyk)
Make the EME mixin also reset the widevine GMP. This gives us some
widevine downloader coverage, as well as meaning that EME tests that
rely on widevine should work.

Review commit: https://reviewboard.mozilla.org/r/57390/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/57390/
Attachment #8759388 - Flags: review?(mjzffr)
Comment on attachment 8759388 [details]
Bug 1276643 - External media tests reset widevine GMP.

https://reviewboard.mozilla.org/r/57390/#review54390

r+wc

::: dom/media/test/external/external_media_harness/testcase.py:342
(Diff revision 1)
>              prefs_ok = self.check_and_log_boolean_pref(
>                  'media.mediasource.enabled', True)
>              prefs_ok = self.check_and_log_boolean_pref(
>                  'media.eme.enabled', True) and prefs_ok
>              prefs_ok = self.check_and_log_boolean_pref(
>                  'media.mediasource.mp4.enabled', True) and prefs_ok
>              prefs_ok = self.check_and_log_boolean_pref(
>                  'media.gmp-eme-adobe.enabled', True) and prefs_ok
>              prefs_ok = self.check_and_log_integer_pref(
>                  'media.gmp-eme-adobe.version', 1) and prefs_ok
> +            prefs_ok = self.check_and_log_boolean_pref(
> +            	'media.gmp-widevinecdm.enabled', True) and prefs_ok
> +            prefs_ok = self.chceck_and_log_version_string_pref(
> +                'media.gmp-widevinecdm.version', '1.0.0.0') and prefs_ok

This chain of `and`s can be replaced with a call to the Python built-in `all`.
Attachment #8759388 - Flags: review?(mjzffr) → review+
Comment on attachment 8759388 [details]
Bug 1276643 - External media tests reset widevine GMP.

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/57390/diff/1-2/
Comment on attachment 8759388 [details]
Bug 1276643 - External media tests reset widevine GMP.

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/57390/diff/2-3/
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac2aaa6bcb4a
External media tests reset widevine GMP. r=maja_zf
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/ac2aaa6bcb4a
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Attachment #8759388 - Attachment is obsolete: true
Comment on attachment 8760551 [details]
Bug 1276643 - Correct variables used in error logging. Formatting for pep8.

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/58124/diff/1-2/
Attachment #8760551 - Attachment description: Bug 1276643 - Correct variables used in error logging. → Bug 1276643 - Correct variables used in error logging. Formatting for pep8.
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/235d278e82a3
Correct variables used in error logging. Formatting for pep8. r=maja_zf
Keywords: checkin-needed
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: