Skip to content

dart:dom indexeddb transaction method signature does not match spec #1812

@sethladd

Description

@sethladd

I should be able to do:

db.transaction([storeName]);

But lib/dom/generated/src/frog/IDBDatabase.dart has this signature:

_IDBTransactionJs transaction(String storeName, int mode) native;

Two problems:

First argument should be a List<String>.
Second argument should be optional.

(Technically, both arguments are optional: https://developer.mozilla.org/en/IndexedDB/IDBDatabase#transaction())

Metadata

Metadata

Assignees

Labels

web-librariesIssues impacting dart:html, etc., libraries

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions