OLD | NEW |
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 Loading... |
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 |
OLD | NEW |