chromium/third_party/blink/web_tests/http/tests/misc/resources/delete-frame-during-readystatechange-frame-with-gc-after-video-removal.html

<!DOCTYPE html>
<html>
    <head>
        <script src="/js-test-resources/js-test.js"></script>
        <script>
            i = 0;
            document.addEventListener('readystatechange', function()
            {
                if (i == 1)
                    parent.removeFrame();
                i++;
            });

            window.addEventListener('DOMContentLoaded', function()
            {
                document.getElementById("videoTag").load();
                document.body.removeChild(document.getElementById("videoTag"));
                gc();
            });
        </script>
    </head>
    <body>
      <video id="videoTag" src="empty.ogv"></video>
    </body>
</html>