<html> | |
<body> | |
<p>test for <a href="rdar://problem/4110775">4110775</a> Crash will occur when double-clicking outerHTML link on W3 DOM test</p> | |
<p> | |
<div id="test">This test passed. We don't support outerHTML on the document object. Neither does WinIE.</div> | |
<script type="text/javascript"> | |
var t = document; | |
var outerStr = "<div id='test2'>This test failed. We don't support outerHTML on the document object. Neither does WinIE. Why did this work?</div>"; | |
t.outerHTML = outerStr; | |
</script> | |
</body> | |
</html> |