chromium/third_party/blink/web_tests/media/video-no-audio.html

<html>
    <head>
        <script src=media-file.js></script>
        <script src="media-controls.js"></script>
        <script>
            if (window.testRunner)
                testRunner.waitUntilDone();

            function start()
            {
                // Set the rVFC callback before the src, to make sure to catch
                // the first frame.
                document.querySelector('video').requestVideoFrameCallback(finish);
                setSrcByTagName("video", "content/counting.ogv");
            }

            function finish()
            {
                if (window.testRunner)
                    testRunner.notifyDone();
            }
        </script>
    </head>
    <body onload="start()">
        <p>Movie with no audio track. The volume button should not render.</p>
        <video controls></video>
    </body>
    <script>
      const video = document.querySelector('video');
      enableTestMode(video);
    </script>
</html>