chromium/third_party/blink/web_tests/fast/dom/resources/exception-no-frame-inline-script-crash-iframe.html

<script>
if (window.testRunner)
    testRunner.dumpAsText();

function crash()
{
    /* Ensure we have no frame when the exception is thrown. */
    var iframe = parent.document.getElementById("iframe");
    iframe.parentNode.removeChild(iframe);
    
    /* Throw an exception. */
    throw "crash";
}

crash();
</script>