chromium/third_party/blink/web_tests/fast/dom/remove-style-element.html

<div id="content"></div>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

var content = document.getElementById("content");
document.getElementById("content").innerHTML = "<style>text</style>";
content.style.display = "none";
content.innerHTML = '';
</script>
<p>SUCCESS (you didn't crash!)</p>