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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10165</bug_id>
          
          <creation_ts>2010-07-14 10:37:10 +0000</creation_ts>
          <short_desc>[IndexedDB] IDBRequest.abort() should be removed</short_desc>
          <delta_ts>2010-08-27 09:38:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Indexed Database API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Andrei Popescu">andreip</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36835</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-07-14 10:37:10 +0000</bug_when>
    <thetext>As discussed in the thread &quot;[IndexedDB] IDBRequest.abort on writing requests&quot; [1], it&apos;s dangerous to allow IDBRequest.abort() to be called on any request that has side effects.  The best solution brought up in the thread was to have it throw if you call it on any request that isn&apos;t read only.

But later on in the thread, I think it became fairly questionable that IDBRequest.abort() provides any value in the current spec since none of the read only operations should be particularly long running and in the few cases where you might truly need to do an abort, you can simply roll back the transaction.

[1] http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/0190.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37864</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-08-25 22:44:58 +0000</bug_when>
    <thetext>Per discussion on threads, IDBRequest.abort() should simply be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37989</commentid>
    <comment_count>2</comment_count>
    <who name="Andrei Popescu">andreip</who>
    <bug_when>2010-08-27 09:38:51 +0000</bug_when>
    <thetext>Fixed in http://dvcs.w3.org/hg/IndexedDB/rev/b7ae74e39c82</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>