[Modern Media Controls] Show a loading indicator after pressing the play button in...
[WebKit-https.git] / LayoutTests / media / modern-media-controls / compact-media-controls / compact-media-controls-constructor.html
1 <script src="../../../resources/js-test-pre.js"></script>
2 <script src="../resources/media-controls-loader.js" type="text/javascript"></script>
3 <body>
4 <script type="text/javascript">
5
6 description("Testing the <code>CompactMediaControls</code> constructor.");
7
8 const mediaControls = new CompactMediaControls;
9
10 shouldBeEqualToString("mediaControls.element.localName", "div");
11 shouldBeEqualToString("mediaControls.element.className", "compact media-controls");
12 shouldBe("mediaControls.layoutTraits", "LayoutTraits.Compact");
13 shouldBe("mediaControls.state", "CompactMediaControls.States.Paused");
14 debug("");
15
16 </script>
17 <script src="../../../resources/js-test-post.js"></script>
18 </body>