Re: [w3c/IndexedDB] Sketch out spec text for transaction durability option (#301)

> options to be an alternative to mode

As a third argument, it's a graceful fallback for older browsers - silently ignored. Which is great IMHO since it's just a hint. And it avoids an overload, which we're generally allergic to. Open to counter-arguments, though.

A few things the patch needs:

* It needs to say "The durability hint is one of the following:"
* It needs to explicitly say that the default for transaction objects is "default" (e.g. for versionchange transactions)
* The text should not just be tucked in to the bottom of the transaction definition - it might make more sense a few paragraphs up.
* Do we want to throw if a non-default option is set for readonly transactions? IMHO: no.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/301#issuecomment-535657531

Received on Thursday, 26 September 2019 19:44:11 UTC