dart sdk / dartium 1.13 indexed_db changes - compound index keys and multi-store transactions broken

81 views
Skip to first unread message

Jim Trainor

unread,
Nov 20, 2015, 8:32:17 AM11/20/15
to Dart Misc
I updated to Dart SDK + Dartium 1.13, on OSX 10.0.5, and discovered that Dartium's indexed_db implementation appears to have changed.  It no longer supports compound index keys and transactions on multiple object stores.  Anyone have any idea what happened?  I was using 1.11 before I updated so there is a chance that this change happened in 1.12.

It is not a big problem for my larger code base because other browsers do not support these features therefore I don't depend on them.  I do, however, have tests for each feature that I expect a browser to support, so that I can keep track of what works where, hence I noticed these changes immediately.

Daniel Joyce

unread,
Nov 20, 2015, 1:06:09 PM11/20/15
to Dart Misc
Bit of a big change for a dot release. 


On Fri, Nov 20, 2015 at 5:32 AM Jim Trainor <jim.train...@gmail.com> wrote:
I updated to Dart SDK + Dartium 1.13, on OSX 10.0.5, and discovered that Dartium's indexed_db implementation appears to have changed.  It no longer supports compound index keys and transactions on multiple object stores.  Anyone have any idea what happened?  I was using 1.11 before I updated so there is a chance that this change happened in 1.12.

It is not a big problem for my larger code base because other browsers do not support these features therefore I don't depend on them.  I do, however, have tests for each feature that I expect a browser to support, so that I can keep track of what works where, hence I noticed these changes immediately.

--
For other discussions, see https://groups.google.com/a/dartlang.org/
 
For HOWTO questions, visit http://stackoverflow.com/tags/dart
 
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
--
Daniel Joyce

The meek shall inherit the Earth, for the brave will be among the stars.

Alan Knight

unread,
Nov 20, 2015, 1:28:07 PM11/20/15
to Dart Misc
The change in Dartium is that most things are going through JS Interop rather than through C++ APIs in the browser. So this might be a side effect of that change. Do you have an example that demonstrates the issue?

Jim Trainor

unread,
Nov 20, 2015, 2:06:52 PM11/20/15
to mi...@dartlang.org
If it is a side effect of the js interop change then I’d guess there is a small issue interpreting list versus scalar arguments passed through the indexed_db api.  There were similar problems with the indexed_db in the Dart’s earlier days. I’ll make a standalone test and post a bug.

Jim Trainor

unread,
Nov 20, 2015, 3:17:51 PM11/20/15
to Dart Misc
New bug created complete with test code:

https://github.com/dart-lang/sdk/issues/25013
Reply all
Reply to author
Forward
0 new messages