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

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

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

window.captureEvents();
captureEvents();

</script>