Discussion:
[dart-misc] dart sdk / dartium 1.13 indexed_db changes - compound index keys and multi-store transactions broken
Jim Trainor
2015-11-20 13:32:17 UTC
Permalink
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+***@dartlang.org.
Daniel Joyce
2015-11-20 18:05:51 UTC
Permalink
Bit of a big change for a dot release.
Post by Jim Trainor
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
--
Daniel Joyce

The meek shall inherit the Earth, for the brave will be among the stars.
--
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+***@dartlang.org.
'Alan Knight' via Dart Misc
2015-11-20 18:27:47 UTC
Permalink
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?
Post by Daniel Joyce
Bit of a big change for a dot release.
Post by Jim Trainor
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
--
Daniel Joyce
The meek shall inherit the Earth, for the brave will be among the stars.
--
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
--
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+***@dartlang.org.
Jim Trainor
2015-11-20 19:06:44 UTC
Permalink
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.

On Fri, Nov 20, 2015 at 1:27 PM, 'Alan Knight' via Dart Misc <
Post by 'Alan Knight' via 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?
Post by Daniel Joyce
Bit of a big change for a dot release.
Post by Jim Trainor
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
--
Daniel Joyce
The meek shall inherit the Earth, for the brave will be among the stars.
--
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
--
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
--
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+***@dartlang.org.
Jim Trainor
2015-11-20 20:17:50 UTC
Permalink
New bug created complete with test code:

https://github.com/dart-lang/sdk/issues/25013
Post by 'Alan Knight' via 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?
--
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+***@dartlang.org.
Loading...