Contact [email protected], [email protected] Specificationhttps://www.w3.org/TR/IndexedDB
Summary IndexedDB offers two durability modes for readwrite transactions: `relaxed` and `strict`. This may be specified via the optional `options` struct when creating a transaction. See https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/transaction for more details. If not specified, the current default in Chromium is `strict`. Due to performance considerations, we plan to change the default to `relaxed`, which also aligns Chromium with FireFox and Safari. Blink componentBlink>Storage>IndexedDB <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EStorage%3EIndexedDB> Search tagsIndexedDB <https://chromestatus.com/features#tags:IndexedDB>, fsync <https://chromestatus.com/features#tags:fsync>, durability <https://chromestatus.com/features#tags:durability>, relaxed <https://chromestatus.com/features#tags:relaxed>, strict <https://chromestatus.com/features#tags:strict> TAG reviewNone TAG review statusNot applicable Risks Interoperability and Compatibility This change aligns Chromium with the behavior of other major browser vendors (behavior which is left up to the implementation in the standard), so it is improving interoperability. There is some historical context here: https://github.com/w3c/IndexedDB/issues/50 *Gecko*: N/A *WebKit*: N/A *Web developers*: No signals *Other signals*: Ergonomics No new API surface. Security No known security implications. No extensions to behavior that wasn't already accessible to web apps without security or privacy controls. WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? None Debuggability No new DevTools support (but DevTools support for IndexedDB is already good). Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?Yes Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?Yes https://wpt.fyi/results/IndexedDB?label=master&label=experimental&aligned&q=indexeddb Flag name on chrome://flagsindexed-db-default-durability-relaxed Finch feature nameDefaultBucketUsesRelaxedDurability Requires code in //chrome?False Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=965883 Estimated milestones Shipping on desktop 121 DevTrial on desktop 120 Shipping on Android 121 DevTrial on Android 120 Shipping on WebView 121 Anticipated spec changes Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way). None Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5084460341264384 This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- Evan Stade -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAO4XGS9bwW-Tv2D9WtwF5C3%3D1VeRea0CqyJZTZQMkF2kJ2iWMg%40mail.gmail.com.
