<?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>26636</bug_id>
          
          <creation_ts>2009-06-22 17:54:43 -0700</creation_ts>
          <short_desc>Need a way to test for race conditions in code like LocalStorage&apos;s import</short_desc>
          <delta_ts>2009-06-24 01:07:48 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></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="Jeremy Orlow">jorlow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>127527</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2009-06-22 17:54:43 -0700</bug_when>
    <thetext>We need a way to test for race conditions in code like LocalStorage&apos;s import.

https://bugs.webkit.org/show_bug.cgi?id=26629 is tracking some changes that (among other things) correct some races I&apos;ve found, but we really need a way to reliably verify we&apos;re doing the right thing.

This is somewhat related to https://bugs.webkit.org/show_bug.cgi?id=26171 which is also about needing better ways to test stuff (though that bug doesn&apos;t have to do with multi-threaded code).

This is on my long-term radar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127861</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-06-24 01:07:36 -0700</bug_when>
    <thetext>There are a few tests for races in LayoutTests in the form &quot;repeat something for 0.5 sec&quot; that did reliably trigger bugs, but that&apos;s not always possible, of course.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>