chromium/third_party/blink/web_tests/fast/dom/non-styled-element-id-crash.html

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

gc = window.gc || function()
{
    if (window.GCController)
        return GCController.collect();

    for (var i = 0; i < 10000; ++i)
        var s = new String("AAAA");
}

window.onload = function()
{
    element = document.body.appendChild(document.createElementNS("foo", "bar"));
    element.id = "bar";
    element.setAttribute("id", "bar");
    document.body.removeChild(element);

    element = null;
    gc();

    setTimeout(finishTest, 0);
}

finishTest = function()
{
    document.getElementById("bar");
    
    if (window.testRunner)
        testRunner.notifyDone();
}
</script>
<body>PASS</body>
</html>