chromium/third_party/blink/web_tests/fast/dom/HTMLDocument/capture-events.html

<!DOCTYPE html>
<p>Tests the deprecation warning of HTMLDocument captureEvents</p>
<script>

if (window.testRunner)
    testRunner.dumpAsText();

document.captureEvents();

</script>