Commit 604beae9 authored by ddorwin@chromium.org's avatar ddorwin@chromium.org

Update prefixed EME deprecation message.

BUG=442555

Review URL: https://codereview.chromium.org/1297433004

git-svn-id: svn://svn.chromium.org/blink/trunk@200824 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2836b6fa
CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
Test Encrypted Media extension of HTMLMediaElement canPlayType() method. Test Encrypted Media extension of HTMLMediaElement canPlayType() method.
The test is designed to pass with any implementation regardless of supported media types and relies on the expected log to detect the expected results for some types. To get sufficient coverage, it is important that an implementation support clearkey encryption of at least one of the types below. The test is designed to pass with any implementation regardless of supported media types and relies on the expected log to detect the expected results for some types. To get sufficient coverage, it is important that an implementation support clearkey encryption of at least one of the types below.
......
CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
Test Encrypted Media extension of HTMLMediaElement canPlayType() method for WebM types. Test Encrypted Media extension of HTMLMediaElement canPlayType() method for WebM types.
WebM video container without a codec results in "maybe". WebM video container without a codec results in "maybe".
......
CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
Test all the key-related events. Test all the key-related events.
EXPECTED (keyNeededEvent != 'null') OK EXPECTED (keyNeededEvent != 'null') OK
......
CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
Test that the methods throw INVALID_STATE_ERR when the media element has not loaded. canPlayType() never throws. Test that the methods throw INVALID_STATE_ERR when the media element has not loaded. canPlayType() never throws.
EXPECTED (video.networkState == '0') OK EXPECTED (video.networkState == '0') OK
......
CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead. CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.
Tests invalid and valid syntaxes. Tests invalid and valid syntaxes.
Test calling functions with too few parameters. Test calling functions with too few parameters.
......
...@@ -859,10 +859,10 @@ String UseCounter::deprecationMessage(Feature feature) ...@@ -859,10 +859,10 @@ String UseCounter::deprecationMessage(Feature feature)
case PrefixedMediaAddKey: case PrefixedMediaAddKey:
case PrefixedMediaGenerateKeyRequest: case PrefixedMediaGenerateKeyRequest:
case PrefixedMediaCancelKeyRequest: case PrefixedMediaCancelKeyRequest:
return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead."; return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.";
case CanPlayTypeKeySystem: case CanPlayTypeKeySystem:
return "canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead."; return "canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M47 (beta around October 2015). Please use 'navigator.requestMediaKeySystemAccess()' instead.";
case SVGSVGElementForceRedraw: case SVGSVGElementForceRedraw:
return "'SVGSVGElement.forceRedraw()' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__forceRedraw)."; return "'SVGSVGElement.forceRedraw()' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__SVGSVGElement__forceRedraw).";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment