Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2508)

Unified Diff: core/storage/Storage.idl

Issue 206333004: Update IDL to 1847 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/plugins/PluginArray.idl ('k') | core/svg/SVGAElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/storage/Storage.idl
diff --git a/core/storage/Storage.idl b/core/storage/Storage.idl
index 90309fe7ccd8e4274cdb4225b7861a7d7b34a849..6eea5905508126e34da0e04070d5a63a5f56d3c9 100644
--- a/core/storage/Storage.idl
+++ b/core/storage/Storage.idl
@@ -23,18 +23,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-interface Storage {
- [RaisesException, ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter DOMString(unsigned long index);
- [RaisesException, ImplementedAs=anonymousIndexedSetter] setter DOMString (unsigned long index, DOMString value);
- [ImplementedAs=anonymousIndexedDeleter, RaisesException] deleter boolean (unsigned long index);
- [RaisesException, ImplementedAs=anonymousNamedGetter] getter DOMString(DOMString name);
- [RaisesException, ImplementedAs=anonymousNamedSetter] setter DOMString(DOMString name, DOMString value);
- [ImplementedAs=anonymousNamedDeleter, RaisesException] deleter boolean (DOMString name);
+[
+ WillBeGarbageCollected
+] interface Storage {
+ [NotEnumerable, RaisesException] getter DOMString (unsigned long index);
+ [RaisesException] setter DOMString (unsigned long index, DOMString value);
+ [RaisesException] deleter boolean (unsigned long index);
+
+ [RaisesException] getter DOMString (DOMString name);
+ [RaisesException] setter DOMString (DOMString name, DOMString value);
+ [RaisesException] deleter boolean (DOMString name);
+
[NotEnumerable, RaisesException=Getter] readonly attribute unsigned long length;
- [NotEnumerable, TreatReturnedNullStringAs=Null, RaisesException] DOMString key(unsigned long index);
- [NotEnumerable, TreatReturnedNullStringAs=Null, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, RaisesException] DOMString getItem(DOMString key);
- [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=ForIsolatedWorlds] void setItem(DOMString key, DOMString data);
- [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=ForIsolatedWorlds] void removeItem(DOMString key);
- [NotEnumerable, RaisesException, PerWorldBindings, ActivityLogging=ForIsolatedWorlds] void clear();
+ [NotEnumerable, RaisesException, TreatReturnedNullStringAs=Null] DOMString key(unsigned long index);
+ [ActivityLogging=ForIsolatedWorlds, NotEnumerable, PerWorldBindings, RaisesException, TreatReturnedNullStringAs=Null] DOMString getItem(DOMString key);
+ [ActivityLogging=ForIsolatedWorlds, NotEnumerable, RaisesException, PerWorldBindings] void setItem(DOMString key, DOMString data);
+ [ActivityLogging=ForIsolatedWorlds, NotEnumerable, PerWorldBindings, RaisesException] void removeItem(DOMString key);
+ [ActivityLogging=ForIsolatedWorlds, NotEnumerable, PerWorldBindings, RaisesException] void clear();
};
-
« no previous file with comments | « core/plugins/PluginArray.idl ('k') | core/svg/SVGAElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698