Dart API Referencedart:htmlStorage

Storage Interface

Storage is a SQLite database API. It is available to trusted callers, meaning extensions and Firefox components only.

The API is currently "unfrozen", which means it is subject to change at any time; in fact, it has changed somewhat with each release of Firefox since it was introduced, and will likely continue to do so for a while.

Note: Storage is not the same as the DOM:Storage feature which can be used by web pages to store persistent data or the Session store API (an XPCOM storage utility for use by extensions).

Extends

Map<K, V>

Methods

Code void $dom_clear() #

void $dom_clear();

Code String $dom_getItem(String key) #

String $dom_getItem(String key);

Code String $dom_key(int index) #

String $dom_key(int index);

Code void $dom_removeItem(String key) #

void $dom_removeItem(String key);

Code void $dom_setItem(String key, String data) #

void $dom_setItem(String key, String data);

Fields

Code final int $dom_length #

final int $dom_length;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.