Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt

Issue 1297433004: Update prefixed EME deprecation message. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requ estMediaKeySystemAccess()' instead. 1 CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.reques tMediaKeySystemAccess()' instead.
2 CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requ estMediaKeySystemAccess()' instead. 2 CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.reques tMediaKeySystemAccess()' instead.
3 CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.requ estMediaKeySystemAccess()' instead. 3 CONSOLE WARNING: The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.reques tMediaKeySystemAccess()' instead.
4 Tests invalid and valid syntaxes. 4 Tests invalid and valid syntaxes.
5 5
6 Test calling functions with too few parameters. 6 Test calling functions with too few parameters.
7 TEST(video.webkitGenerateKeyRequest()) THROWS("TypeError: Failed to execute 'web kitGenerateKeyRequest' on 'HTMLMediaElement': 1 argument required, but only 0 pr esent.") OK 7 TEST(video.webkitGenerateKeyRequest()) THROWS("TypeError: Failed to execute 'web kitGenerateKeyRequest' on 'HTMLMediaElement': 1 argument required, but only 0 pr esent.") OK
8 TEST(video.webkitAddKey()) THROWS("TypeError: Failed to execute 'webkitAddKey' o n 'HTMLMediaElement': 2 arguments required, but only 0 present.") OK 8 TEST(video.webkitAddKey()) THROWS("TypeError: Failed to execute 'webkitAddKey' o n 'HTMLMediaElement': 2 arguments required, but only 0 present.") OK
9 TEST(video.webkitAddKey('webkit-org.w3.clearkey')) THROWS("TypeError: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': 2 arguments required, but only 1 p resent.") OK 9 TEST(video.webkitAddKey('webkit-org.w3.clearkey')) THROWS("TypeError: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': 2 arguments required, but only 1 p resent.") OK
10 TEST(video.webkitCancelKeyRequest()) THROWS("TypeError: Failed to execute 'webki tCancelKeyRequest' on 'HTMLMediaElement': 1 argument required, but only 0 presen t.") OK 10 TEST(video.webkitCancelKeyRequest()) THROWS("TypeError: Failed to execute 'webki tCancelKeyRequest' on 'HTMLMediaElement': 1 argument required, but only 0 presen t.") OK
11 11
12 Verify invalid key system parameter is caught before checking whether loading ha s started. 12 Verify invalid key system parameter is caught before checking whether loading ha s started.
13 EXPECTED (video.networkState == '0') OK 13 EXPECTED (video.networkState == '0') OK
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 RUN(video.webkitAddKey('webkit-org.w3.clearkey', key, initData, 'session')) 47 RUN(video.webkitAddKey('webkit-org.w3.clearkey', key, initData, 'session'))
48 RUN(video.webkitCancelKeyRequest('webkit-org.w3.clearkey')) 48 RUN(video.webkitCancelKeyRequest('webkit-org.w3.clearkey'))
49 RUN(video.webkitCancelKeyRequest('webkit-org.w3.clearkey', 'session')) 49 RUN(video.webkitCancelKeyRequest('webkit-org.w3.clearkey', 'session'))
50 50
51 Unsupported key systems result in NOT_SUPPORTED_ERR. 51 Unsupported key systems result in NOT_SUPPORTED_ERR.
52 TEST(video.webkitGenerateKeyRequest('com.example.invalid')) THROWS(DOMException. NOT_SUPPORTED_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaEle ment': The key system provided ('com.example.invalid') is not supported.) OK 52 TEST(video.webkitGenerateKeyRequest('com.example.invalid')) THROWS(DOMException. NOT_SUPPORTED_ERR: Failed to execute 'webkitGenerateKeyRequest' on 'HTMLMediaEle ment': The key system provided ('com.example.invalid') is not supported.) OK
53 TEST(video.webkitAddKey('com.example.invalid', key)) THROWS(DOMException.NOT_SUP PORTED_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key syst em provided ('com.example.invalid') is not supported.) OK 53 TEST(video.webkitAddKey('com.example.invalid', key)) THROWS(DOMException.NOT_SUP PORTED_ERR: Failed to execute 'webkitAddKey' on 'HTMLMediaElement': The key syst em provided ('com.example.invalid') is not supported.) OK
54 TEST(video.webkitCancelKeyRequest('com.example.invalid')) THROWS(DOMException.NO T_SUPPORTED_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement ': The key system provided ('com.example.invalid') is not supported.) OK 54 TEST(video.webkitCancelKeyRequest('com.example.invalid')) THROWS(DOMException.NO T_SUPPORTED_ERR: Failed to execute 'webkitCancelKeyRequest' on 'HTMLMediaElement ': The key system provided ('com.example.invalid') is not supported.) OK
55 END OF TEST 55 END OF TEST
56 56
OLDNEW
« no previous file with comments | « LayoutTests/media/encrypted-media/prefixed/encrypted-media-not-loaded-expected.txt ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698