<?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>136937</bug_id>
          
          <creation_ts>2014-09-18 20:42:03 -0700</creation_ts>
          <short_desc>IndexedDB transaction throw error for multiple object store</short_desc>
          <delta_ts>2016-01-12 09:12:45 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.9</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>149117</dup_id>
          
          <bug_file_loc>http://dev.yathit.com/ydn-db/test/issues/issue-github-20.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kyaw">kyawtun</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>claude.pache</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>eoconnor</cc>
    
    <cc>etiennelemay21</cc>
    
    <cc>fcheslack</cc>
    
    <cc>hawkrives+webkit</cc>
    
    <cc>jchris</cc>
    
    <cc>jim.trainor.kanata</cc>
    
    <cc>joost</cc>
    
    <cc>rob.lucas</cc>
    
    <cc>sam</cc>
    
    <cc>thibaut</cc>
    
    <cc>tobias.rho</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1036054</commentid>
    <comment_count>0</comment_count>
      <attachid>238349</attachid>
    <who name="Kyaw">kyawtun</who>
    <bug_when>2014-09-18 20:42:03 -0700</bug_when>
    <thetext>Created attachment 238349
reproduce the issue

Steps to Reproduce:
1. Load the attached HTML file to localhost server or http://dev.yathit.com/ydn-db/test/issues/issue-github-20.html
2. Open the file in Safari 7.1 which has indexedDB
3. You will see NotFoundError: DOM IDBDatabase Exception 8: 
4. Verify that it is working in Chrome or Firefox
5. Change as suggested in line number 24, from multiple stores to single store.
6. Verify it work in Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1053474</commentid>
    <comment_count>1</comment_count>
    <who name="Etienne Lemay">etiennelemay21</who>
    <bug_when>2014-12-08 12:09:58 -0800</bug_when>
    <thetext>Has this been acknowledged yet? According to the specs a transaction should be able to interact with multiple object stores. http://www.w3.org/TR/IndexedDB/#dfn-scope</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1061809</commentid>
    <comment_count>2</comment_count>
    <who name="">jim.trainor.kanata</who>
    <bug_when>2015-01-16 06:16:06 -0800</bug_when>
    <thetext>Safari 8.0.2 still exhibits this problem.

I hit this bug in existing code that I&apos;ve been running in Chrome without problem for a couple of years. Been waiting to port it to Safari... just tried.. no go as is due to this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072111</commentid>
    <comment_count>3</comment_count>
    <who name="">fcheslack</who>
    <bug_when>2015-02-25 13:06:50 -0800</bug_when>
    <thetext>Any movement on this? Is more information needed? This seems like it would break a large number of web apps, and is more problematic than having no IndexedDB support at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072707</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-02-27 09:19:47 -0800</bug_when>
    <thetext>&lt;rdar://problem/19984978&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1076364</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-11 10:38:01 -0700</bug_when>
    <thetext>&lt;rdar://problem/18151360&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154509</commentid>
    <comment_count>6</comment_count>
    <who name="Thibaut Courouble">thibaut</who>
    <bug_when>2016-01-11 15:17:40 -0800</bug_when>
    <thetext>This is a major bug making IndexedDB unusable for any non-trivial use-case. Please fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154692</commentid>
    <comment_count>7</comment_count>
    <who name="">hawkrives+webkit</who>
    <bug_when>2016-01-12 07:40:09 -0800</bug_when>
    <thetext>The bug is still present in Safari 9.0.2, reproducible with the test case.

However! Good news!

As of WebKit Nightly r194890 (roughly 2016-01-12), I cannot reproduce this issue with the provided test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154710</commentid>
    <comment_count>8</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-01-12 09:12:26 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; The bug is still present in Safari 9.0.2, reproducible with the test case.
&gt; 
&gt; However! Good news!
&gt; 
&gt; As of WebKit Nightly r194890 (roughly 2016-01-12), I cannot reproduce this
&gt; issue with the provided test case.

That&apos;s actually really surprising, assuming you launched Safari using the WebKit nightly and tried it in-browser.

This is because the work for Modern IDB has been WebKit1 only so far, while Safari uses WebKit2.

BUT, if you&apos;re developing a WebKit app that uses WebKit1, and use it against the WebKit nightly, that would explain why it works.

Anyways, I&apos;m closing this bug as a dupe of the Modern IDB bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154711</commentid>
    <comment_count>9</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2016-01-12 09:12:45 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 149117 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>238349</attachid>
            <date>2014-09-18 20:42:03 -0700</date>
            <delta_ts>2014-09-18 20:42:03 -0700</delta_ts>
            <desc>reproduce the issue</desc>
            <filename>issue-github-20.html</filename>
            <type>text/html</type>
            <size>1299</size>
            <attacher name="Kyaw">kyawtun</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZCBsYW5nPSJlbiI+CiAgPG1ldGEgY2hhcnNldD0i
VVRGLTgiPgogIDx0aXRsZT5zYWZhcmkgODwvdGl0bGU+CjwvaGVhZD4KPGJvZHk+CiAgPGgzPgog
ICAgPGEgaHJlZj0iaHR0cHM6Ly9naXRodWIuY29tL3lhdGhpdC95ZG4tZGIvaXNzdWVzLzIwIj5p
c3N1ZSAyMDwvYT4KICA8L2gzPgogIDxkaXYgaWQ9InJlc3VsdCI+PC9kaXY+CiAgPHNjcmlwdD4K
ICAgIHZhciBvUmVxID0gaW5kZXhlZERCLm9wZW4oImxpYnJhcnkiKTsKICAgIG9SZXEub251cGdy
YWRlbmVlZGVkID0gZnVuY3Rpb24oKSB7CiAgICAgIC8vIFRoZSBkYXRhYmFzZSBkaWQgbm90IHBy
ZXZpb3VzbHkgZXhpc3QsIHNvIGNyZWF0ZSBvYmplY3Qgc3RvcmVzIGFuZCBpbmRleGVzLgogICAg
ICB2YXIgZGIgPSBvUmVxLnJlc3VsdDsKICAgICAgdmFyIGJvb2tfc3RvcmUgPSBkYi5jcmVhdGVP
YmplY3RTdG9yZSgiYm9vayIsIHtrZXlQYXRoOiAiaXNibiJ9KTsKICAgICAgdmFyIGF1dGhvcl9z
dG9yZSA9IGRiLmNyZWF0ZU9iamVjdFN0b3JlKCJhdXRob3IiLCB7a2V5UGF0aDogImVtYWlsIn0p
OwogICAgfTsKCiAgICBvUmVxLm9uc3VjY2VzcyA9IGZ1bmN0aW9uKCkgewogICAgICB2YXIgZGIg
PSBvUmVxLnJlc3VsdDsKICAgICAgLy8gY2hhbmdlIHRoaXMgdG8gWydib29rJ107IHRvIGdldCBz
YWZhcmkgNy4xIHdvcmtpbmcuCiAgICAgIHZhciBzdG9yZV9uYW1lcyA9IFsnYm9vaycsICdhdXRo
b3InXTsKICAgICAgdmFyIHR4ID0gZGIudHJhbnNhY3Rpb24oc3RvcmVfbmFtZXMsICdyZWFkd3Jp
dGUnKTsKICAgICAgdmFyIGJvb2tfc3RvcmUgPSB0eC5vYmplY3RTdG9yZSgnYm9vaycpOwogICAg
ICBib29rX3N0b3JlLnB1dCh7aXNibjogJzEyMycsIHRpdGxlOiAnTmV3IGJvb2snfSk7CgogICAg
ICB0eC5vbmNvbXBsZXRlID0gZnVuY3Rpb24oKSB7CiAgICAgICAgdmFyIHR4ID0gZGIudHJhbnNh
Y3Rpb24oc3RvcmVfbmFtZXMsICdyZWFkb25seScpOwogICAgICAgIHZhciBib29rX3N0b3JlID0g
dHgub2JqZWN0U3RvcmUoJ2Jvb2snKTsKICAgICAgICB2YXIgcmVxID0gYm9va19zdG9yZS5nZXQo
JzEyMycpOwogICAgICAgIHJlcS5vbnN1Y2Nlc3MgPSBmdW5jdGlvbihldikgewogICAgICAgICAg
dmFyIGRpdiA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdyZXN1bHQnKTsKICAgICAgICAgIGRp
di50ZXh0Q29udGVudCA9IEpTT04uc3RyaW5naWZ5KGV2LnRhcmdldC5yZXN1bHQpOwogICAgICAg
IH0KICAgICAgfQogICAgfTsKICA8L3NjcmlwdD4KPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>