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

Side by Side Diff: LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html

Issue 1125903003: Add deprecation warning to requestMediaKeySystemAccess on insecure origins. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 7 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 <!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
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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698