I found that the following javascript causes a stack exhaustion: <BODY onload="go()"><SCRIPT> function go() { var oEmbed=document.createElement('embed'); document.body.appendChild(oEmbed); var oEmbed2 = oEmbed.cloneNode(); oEmbed2.appendChild(document.body.parentElement); var oA = document.createElement('a'); document.title = ''; oA.innerHTML = '<x><html></html>'; } </SCRIPT></BODY> Tested with Safari 3.1.1. Marked as security, I'm not sure if you treat DoS as a security issue, so erring on the safe side.
(In reply to comment #0) OOOPS. I copy+pasted the wrong code (see bug 19516). This is the real repro code for this case: <BODY onload="go()"><SCRIPT> function go() { oStrike=document.createElement('b'); oStrike.innerHTML='<object><table></table><colGroup></colGroup></object>'; document.body.parentElement.appendChild(oStrike); } </SCRIPT></BODY>
Changing priority and security flag
<rdar://problem/6007109>
I cannot reproduce in r35011. I think this bug was fixed along with bug 15919 in <http://trac.webkit.org/changeset/34692>.