| Index: third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
|
| index 528fb97751ad2b4493fa437a155eec301694af92..e041c39861fdb0ef930a59cce9d1924e84f62f53 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
|
| @@ -16,7 +16,6 @@ if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
|
| if (!window.internals)
|
| assert_unreached('window.internals is required for this test');
|
|
|
| -
|
| // Tests for APIs that are deprecated, but still allowed, on
|
| // insecure origins
|
| async_test(function() {
|
| @@ -32,11 +31,6 @@ if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
|
| window.addEventListener('deviceorientation', this.step_func_done());
|
| }, 'device orientation');
|
|
|
| - promise_test(function(test) {
|
| - return navigator.requestMediaKeySystemAccess('org.w3.clearkey',
|
| - [{ videoCapabilities: [{contentType: 'video/webm; codecs="vp9"'}] }]);
|
| - }, 'requestMediaKeySystemAccess');
|
| -
|
| // Tests for APIs that have been turned off on insecure origins
|
| async_test(function() {
|
| navigator.geolocation.getCurrentPosition(
|
| @@ -87,6 +81,10 @@ if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
|
|
|
| applicationCache.addEventListener('cached', cached, false);
|
| }, 'appcache');
|
| +
|
| + test(function() {
|
| + assert_false('requestMediaKeySystemAccess' in navigator);
|
| + }, 'requestMediaKeySystemAccess');
|
| }
|
| </script>
|
| </body>
|
|
|