<?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>9894</bug_id>
          
          <creation_ts>2006-07-13 03:50:17 -0700</creation_ts>
          <short_desc>www.makro.co.uk hangs (String.replace doesn&apos;t work with certain high-bit latin-1 patterns)</short_desc>
          <delta_ts>2006-07-15 08:38:44 -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>JavaScriptCore</component>
          <version>420+</version>
          <rep_platform>Mac (PowerPC)</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.makro.co.uk/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcus Bointon">marcus</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>ian</cc>
    
    <cc>joost</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49630</commentid>
    <comment_count>0</comment_count>
    <who name="Marcus Bointon">marcus</who>
    <bug_when>2006-07-13 03:50:17 -0700</bug_when>
    <thetext>http://www.makro.co.uk/ site hangs Safari for me, using either current 419 release or nightly build. I&apos;ve disabled all plugins, but it still dies. It either dies with a blank page, or after the main page has loaded, but before the pop-up that initially appears has loaded any content. The site works ok in Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49666</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-07-13 09:01:49 -0700</bug_when>
    <thetext>I couldn&apos;t reproduce a crash, but the page does hang WebKit in an infinite JavaScript loop, caused by the fact that String.replace() behaves strange with the section sign character § (U+00A7): &quot;a§&quot;.replace(/§/,&quot;b&quot;) gives &quot;a§&quot; instead of &quot;ab&quot;.

Marcus Bointon, does the site cause WebKit to crash or just a hang? If it causes a crash, please attach a crash report. Thanks in advance!
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49669</commentid>
    <comment_count>2</comment_count>
    <who name="Marcus Bointon">marcus</who>
    <bug_when>2006-07-13 09:19:22 -0700</bug_when>
    <thetext>No it doesn&apos;t crash - I rephrased it as a hang in the body, but forgot to change the title. However, it&apos;s as good as a crash in terms of user experience - the only way out is to force quit. Nice to know that you narrowed it down to that cause so quickly!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49673</commentid>
    <comment_count>3</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-07-13 10:05:47 -0700</bug_when>
    <thetext>A reproducible hang is arguably just as bad as a crash. Changing to P1, changing subject.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49676</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-13 10:41:18 -0700</bug_when>
    <thetext>Adding NeedsRadar since this would probably be a good bug to fix.  If it is not, please clear the keyword.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49677</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-07-13 10:50:51 -0700</bug_when>
    <thetext>I don&apos;t think P1 and &quot;good to fix&quot; (in that specific context) are warranted. JavaScript hangs are addressed separately, while the String/RegExp bug is not a regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49801</commentid>
    <comment_count>6</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-07-14 09:27:48 -0700</bug_when>
    <thetext>Duplicate of bug 8395?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49802</commentid>
    <comment_count>7</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-07-14 09:34:04 -0700</bug_when>
    <thetext>Could very well be, does the patch for that bug solve this problem too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49936</commentid>
    <comment_count>8</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-07-15 08:38:44 -0700</bug_when>
    <thetext>Fixed by fixing bug 8395.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>