OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Old Powerful Features on an Insecure Origin</title> | 4 <title>Old Powerful Features on an Insecure Origin</title> |
5 </head> | 5 </head> |
6 <script src="/resources/testharness.js"></script> | 6 <script src="/resources/testharness.js"></script> |
7 <script src="/resources/testharnessreport.js"></script> | 7 <script src="/resources/testharnessreport.js"></script> |
8 <script src="/resources/get-host-info.js"></script> | 8 <script src="/resources/get-host-info.js"></script> |
9 | 9 |
10 <body> | 10 <body> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 })); | 91 })); |
92 }, 'device motion'); | 92 }, 'device motion'); |
93 | 93 |
94 async_test(function() { | 94 async_test(function() { |
95 testRunner.setMockDeviceOrientation(11.1, 22.2, 33.3, true); | 95 testRunner.setMockDeviceOrientation(11.1, 22.2, 33.3, true); |
96 | 96 |
97 window.addEventListener('deviceorientation', this.step_func(function() { | 97 window.addEventListener('deviceorientation', this.step_func(function() { |
98 this.done(); | 98 this.done(); |
99 })); | 99 })); |
100 }, 'device orientation'); | 100 }, 'device orientation'); |
| 101 |
| 102 promise_test(function(test) { |
| 103 return navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{}]); |
| 104 }, 'requestMediaKeySystemAccess'); |
101 } | 105 } |
102 </script> | 106 </script> |
103 </body> | 107 </body> |
104 </html> | 108 </html> |
OLD | NEW |