blob: 4e075361d3d5be26a451cccca3fba96b62224bcf [file] [log] [blame]
<html>
<script>
function runTest() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
document.getElementById('a').textContent = ' ';
setTimeout(function() {
document.getElementById('result').innerHTML = "SUCCESS!";
if (window.testRunner)
testRunner.notifyDone();
}, 10);
}
</script>
<body onload="runTest()">
<div>This tests that adding a child node with only whitespace to an object tag does not create a new subframe, causing an assert.</div>
<div id="result">FAILURE</div>
<object id="a" data="1"/></object>
</html>