<?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>15927</bug_id>
          
          <creation_ts>2012-02-07 14:18:32 +0000</creation_ts>
          <short_desc>[IndexedDB] Allowing &quot;.&quot; and &quot; &quot; in keys specified using keyPath</short_desc>
          <delta_ts>2012-02-14 16:35:30 +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>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Odin Hørthe Omdal">odinho</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>jonas</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>63836</commentid>
    <comment_count>0</comment_count>
    <who name="Odin Hørthe Omdal">odinho</who>
    <bug_when>2012-02-07 14:18:32 +0000</bug_when>
    <thetext>I&apos;ve been trying to find any decision/answer about IndexedDB keypath and &quot;.&quot; to seperate objects.

It&apos;s very possible I could get data from a third party that has:

   obj[&quot;my.key&quot;] = thing

and I&apos;d want to have a keypath that accesses  my.key  like that, so NOT like:

  obj = { my: { key: thing } }


Similarly about spaces:  obj[&quot;my key&quot;] = &quot;blabla&quot;



It would introduce some extra complexity to support this, sure, and it might not be worth it at all, but has it been discussed on its own?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64063</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2012-02-14 04:47:47 +0000</bug_when>
    <thetext>I can&apos;t say with 100% certainty but I think we discussed this a long time ago.

My opinion is that this is a known by for now acceptable limitation. KeyPaths have a number of limitations, like unable to access properties in arrays or do even basic processing like adding values.

Ultimately I think we&apos;ll end up having to add something like complex keyPath support which will take care of these limitations. See also bug 10000.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64098</commentid>
    <comment_count>2</comment_count>
    <who name="Odin Hørthe Omdal">odinho</who>
    <bug_when>2012-02-14 16:35:30 +0000</bug_when>
    <thetext>OK. Not for this version then.

It&apos;s a bit arbitrary to only allow valid javascript identifiers to be used as indexes, but sometimes that&apos;s just the way the world works.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>