chromium/third_party/blink/web_tests/http/tests/misc/selectionAsMarkup.html

<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

document.location.href = "http://localhost:8080/misc/resources/chromium-selectionAsMarkup.html";
</script>