<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>4207</bug_id>
          
          <creation_ts>2005-07-29 13:37:34 -0700</creation_ts>
          <short_desc>crash on a specific website</short_desc>
          <delta_ts>2005-08-08 14:36:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://wow-europe.com/en/info/underdev/darkmoon.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Denis Ahrens">denis</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15420</commentid>
    <comment_count>0</comment_count>
    <who name="Denis Ahrens">denis</who>
    <bug_when>2005-07-29 13:37:34 -0700</bug_when>
    <thetext>Safari (cvs-current from 29.7.2005) crashes when you click on an image on http://wow-europe.com/
en/info/underdev/darkmoon.html

It does not happen with the normal Safari browser, only with a cvs-build one!

The following fixes at least the crash!

diff -u -r1.99 htmlparser.cpp
--- htmlparser.cpp      18 Jul 2005 21:52:26 -0000      1.99
+++ htmlparser.cpp      29 Jul 2005 20:20:23 -0000
@@ -1360,7 +1360,7 @@
 void HTMLParser::finished()
 {
     // In the case of a completely empty document, here&apos;s the place to create the HTM
L element.
-    if (current-&gt;isDocumentNode() &amp;&amp; current-&gt;firstChild() == 0) {
+    if (current &amp;&amp; current-&gt;isDocumentNode() &amp;&amp; current-&gt;firstChild() == 0) {
         insertNode(new HTMLHtmlElementImpl(document));
     }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16074</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2005-08-06 23:21:32 -0700</bug_when>
    <thetext>A fix identical to the one described below was landed on 2005-08-04 so I am resolving this as fixed.  
Denis, can you please verify that the problem is resolved: if so, mark the bug as resolved, and if not please 
reopen it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16222</commentid>
    <comment_count>2</comment_count>
    <who name="Denis Ahrens">denis</who>
    <bug_when>2005-08-08 14:36:20 -0700</bug_when>
    <thetext>yes, it seems the crash is not only fixed but that now the new window actually displays some content 
which was not the case with the default Safari before.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>