Closed Bug 980439 Opened 7 years ago Closed 6 years ago

Document temporary storage

Categories

(Developer Documentation Graveyard :: API: DOM, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: janv, Assigned: bruant.d)

Details

No description provided.
Do we have a link to the spec?
(In reply to Chris Mills from comment #2)
> I added coverage of the basic syntax to 
> 
> https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory.open
> https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory.deleteDatabase
> 
> let me know if this looks ok.

Looks good to me.
You could also add full WebIDL specification of the non-standard feature:

enum StorageType { "persistent", "temporary" };

dictionary IDBOpenDBOptions
{
  [EnforceRange] unsigned long long version;
  StorageType storage;
};

IDBOpenDBRequest open (DOMString name, optional IDBOpenDBOptions options);

IDBOpenDBRequest deleteDatabase (DOMString name, optional IDBOpenDBOptions options);
(In reply to Jean-Yves Perrier [:teoli] from comment #1)
> Do we have a link to the spec?

There's no spec for that yet. It will be part of IndexedDB v2.
Here's a public-webapps thread about temp storage:
http://lists.w3.org/Archives/Public/public-webapps/2013OctDec/0830.html
I've updated the above two pages to include suggested syntax details, plus a note on what "temporary" actually means.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.