[Webkit-unassigned] [Bug 14503] New: creating an iframe from javascript will cause safari to crash after leaving webpage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 2 18:52:59 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14503

           Summary: creating an iframe from javascript will cause safari to
                    crash after leaving webpage
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
               URL: http://www.steremberg.com/safari/crashbug.html
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alans at wunderground.com


executing the following javascript causes safari on Windows and iPhone to be
unstable, and usually crash after going to one or two new URLs (ie:
www.yahoo.com)

If you click on the steremberg.com url, make sure you wait a second so the
javascript body load will fire before going to yahoo. If it doesn't crash,
click back or something it almost always crashes for me.

<script >
function addIFrame()
{
    with
(document.getElementsByTagName("body")[0].appendChild(document.createElement("iframe")))
    {
        style.border='0px';
        style.width='0px';
        style.height='0px';
        setAttribute("id", "condscript", 0);
        setAttribute("src",
"http://stationdata.wunderground.com/xmlrequest.html",0);
    }
}

</script>


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list