<html>
<head>
<title>This test that we do not crash, when the child frame is set to display:none during a beforeload event while the subtree is being mutated.</title>
<script>
    if (window.testRunner && window.internals) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
    }
</script>
</head>
<body>
<div>PASS if no crash or assert while loading the iframe.</div>
<iframe id=displaynoneme onload='setTimeout("if (window.testRunner) testRunner.notifyDone()", 100);' src='./resources/displaynone-this-during-object-beforeload.html'></iframe>
</body>
</html>
