<?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>22370</bug_id>
          
          <creation_ts>2013-06-14 22:34:57 +0000</creation_ts>
          <short_desc>Inform script of corruption-induced data loss</short_desc>
          <delta_ts>2015-08-10 20:10:54 +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>MOVED</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>dgrogan</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>jsbell</cc>
    
    <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>89336</commentid>
    <comment_count>0</comment_count>
    <who name="">dgrogan</who>
    <bug_when>2013-06-14 22:34:57 +0000</bug_when>
    <thetext>It would be nice to be able to notify script that some data may have been lost due to disk corruption or other failure.

This was discussed some in [thread], with the leading idea being an attribute on the upgradeneeded and success events that are fired at open requests. The attribute&apos;s could be called &quot;dataLoss&quot; with values including &quot;none&quot;, &quot;total&quot;, or &quot;partial&quot;.

The chrome implementation has been started, see [chromebug].

[thread] http://lists.w3.org/Archives/Public/public-webapps/2013JanMar/0355.html
[chromebug] https://code.google.com/p/chromium/issues/detail?id=172626</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89337</commentid>
    <comment_count>1</comment_count>
    <who name="">dgrogan</who>
    <bug_when>2013-06-14 22:35:39 +0000</bug_when>
    <thetext>Marking RESOLVED LATER to denote that it should be considered for V2, not V1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95617</commentid>
    <comment_count>2</comment_count>
    <who name="">dgrogan</who>
    <bug_when>2013-10-31 17:29:32 +0000</bug_when>
    <thetext>We have heard from web application developers that they want even more transparency into what is causing data loss. Chrome is going to ship a dataLossMessage alongside dataLoss on the upgradeneeded event, as described in this thread:

http://lists.w3.org/Archives/Public/public-webapps/2013OctDec/0108.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119813</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2015-04-23 15:56:26 +0000</bug_when>
    <thetext>As dgrogan@ noted, we shipped IDBVersionChangeEvent#dataLoss and IDBVersionChangeEvent#dataLossMessage in Chrome, and it&apos;s seeing use. Since they&apos;re not widely publicized entry points we&apos;re open to alternate suggestions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122542</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2015-08-10 20:10:54 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/IndexedDB/issues/30</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>