[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / media-session-restrictions.html
1 <!DOCTYPE html>
2 <html>
3     <script src="video-test.js"></script>
4     <body>
5     <script>
6
7     if (!window.internals) {
8         failTest('This test requires window.internals and must be run in DumpRenderTree or WebKitTestRunner.');
9         throw '';
10     }
11
12     ['video','audio','videoaudio','webaudio'].forEach(type => {
13         consoleWrite(`mediaSessionRestrictions["${type}"] = "${ internals.mediaSessionRestrictions(type) }"`);
14     });
15
16     endTest();
17
18     </script>
19     </body>
20 </html>