<?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>9653</bug_id>
          
          <creation_ts>2010-05-04 16:56:06 +0000</creation_ts>
          <short_desc>How to handle nullable violations is not specified.</short_desc>
          <delta_ts>2011-07-05 17:31:34 +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>All</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="Shawn Wilsher :sdwilsh (Mozilla)">sdwilsh</reporter>
          <assigned_to name="Nikunj Mehta">nikunj.mehta</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>jonas</cc>
    
    <cc>jorlow</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>35402</commentid>
    <comment_count>0</comment_count>
    <who name="Shawn Wilsher :sdwilsh (Mozilla)">sdwilsh</who>
    <bug_when>2010-05-04 16:56:06 +0000</bug_when>
    <thetext>The spec doesn&apos;t say what the correct course of action is if a consumer passes null to something that is not null.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42283</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2010-11-08 18:35:51 +0000</bug_when>
    <thetext>Is this still a problem. I&apos;ve tried to be thorough in defining invalid values everywhere. The sync API is still not up-to-date, but that&apos;s a bigger problem that we should handle separately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43242</commentid>
    <comment_count>2</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-12-10 12:23:06 +0000</bug_when>
    <thetext>Are you planning on working on this soon?  If not, maybe you should assign it to dave.null@w3.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50683</commentid>
    <comment_count>3</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2011-07-05 17:31:34 +0000</bug_when>
    <thetext>From mail [1]:

]]
Based on this conversation, we agreed that we wanted to throw a TypeError when a non-nullable parameter was passed a null argument.  This implies to me, for example, that if we were to pass a null value for the key parameter of IDBObjectStore.put we will throw a TypeError (i.e. InvalidArgument).  We&apos;re assuming this Exception takes precedence over any IDB Exceptions (i.e. DATA_ERR).
[[

I believe that this satisfies the request in this bug, so I am resolving it as fixed.

[1] http://lists.w3.org/Archives/Public/public-webapps/2011AprJun/0917.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>