Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IndexedDB] WebAppsWG TPAC F2F agenda (Fukuoka, Sep 19-20 2019) #288

Closed
dmurph opened this issue Aug 19, 2019 · 4 comments
Closed

[IndexedDB] WebAppsWG TPAC F2F agenda (Fukuoka, Sep 19-20 2019) #288

dmurph opened this issue Aug 19, 2019 · 4 comments
Labels
TPAC 2019 Discuss at Fukuoka

Comments

@dmurph
Copy link

dmurph commented Aug 19, 2019

This is a working draft of the IndexedDB Agenda at TPAC, for the WebApps WG:

Status Updates

  • IndexedDBTransaction.commit shipped.

IndexedDBTransaction waitUntil or manualCommit option

Problem

IndexedDBTransaction's auto-commit mechanism is

  1. confusing to users,
  2. incompatible with Promises, and
  3. incompatible with other async work.

While one could argue 3) is partially intentional, the other 2 are important problems that prevent more usage of IndexedDB.

Proposal

Spec: TODO
Tracking: https://crbug.com/843769
IndexedDBTransaction.waitUntil (TODO: explainer / doc link)
Either implement waitUntil like the WebLocks API, or have an option on the transaction that disables auto-commit so the user has to call IndexedDBTransaction.commit

IndexedDBTransaction Flush Option

Problem

All IndexedDB transactions guarantee flushing & syncing their data to disk. This is costly, and most websites don't need this functionality but pay the performance cost for it anyways.
Firefox was able to stop flushing by default, and currently requires developer opt-in for flushing.

Proposal

Spec: #50
Tracking: https://crbug.com/965883
Introduce a flag for IndexedDB Transaction creation to specify to turn on flushing. (TODO: doc link).

Triage Issues on the IndexedDB Spec

Problem

The IndexedDB specification has accumulated quite a few open issues, some of which are really old. Link: https://github.com/w3c/IndexedDB/issues/

Proposal

We would like to have the community help us decide which issues are worth considering, and which issues can be closed.

@dmurph
Copy link
Author

dmurph commented Aug 19, 2019

Attaching to the schedule here: w3c/webappswg#10

@dmurph dmurph changed the title WebAppsWG TPAC F2F agenda (Fukuoka, Sep 19-20 2019) [IndexedDB] WebAppsWG TPAC F2F agenda (Fukuoka, Sep 19-20 2019) Aug 19, 2019
@inexorabletash
Copy link
Member

Photos of flip chart of Indexed DB breakout at TPAC 2019 - transcription/notes to follow:

image
image
image
image
image
image
image

@inexorabletash
Copy link
Member

inexorabletash commented Sep 20, 2019

TPAC 2019 Web Apps IndexedDB Breakout:

Topics discussed:

@inexorabletash inexorabletash added the TPAC 2019 Discuss at Fukuoka label Sep 20, 2019
@inexorabletash
Copy link
Member

Added tracking issues #304 #305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TPAC 2019 Discuss at Fukuoka
Projects
None yet
Development

No branches or pull requests

2 participants