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

Unified Diff: Source/core/storage/Storage.idl

Issue 15943008: [binding] Replace [CustomIndexedGetter] attributes with [Custom] getter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: update tests Created 7 years, 7 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 | « Source/core/page/DOMWindow.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/storage/Storage.idl
diff --git a/Source/core/storage/Storage.idl b/Source/core/storage/Storage.idl
index 90ce6371a1690224b1853a26cbd7fe44207d4ccd..9531454e3a32e0fb2e651937d21dbce8a0f13dce 100644
--- a/Source/core/storage/Storage.idl
+++ b/Source/core/storage/Storage.idl
@@ -24,13 +24,14 @@
*/
[
- CustomDeleteProperty,
CustomEnumerateProperty,
- CustomIndexedSetter
] interface Storage {
[RaisesException, ImplementedAs=anonymousIndexedGetter] getter DOMString(unsigned long index);
+ [Custom] deleter boolean (unsigned long index);
+ [Custom] setter boolean (unsigned long index, DOMString value);
[RaisesException, ImplementedAs=anonymousNamedGetter] getter DOMString(DOMString name);
[RaisesException, ImplementedAs=anonymousNamedSetter] setter DOMString(DOMString name, DOMString value);
+ [Custom] deleter boolean (DOMString name);
[NotEnumerable, GetterRaisesException] readonly attribute unsigned long length;
[NotEnumerable, TreatReturnedNullStringAs=Null, RaisesException] DOMString key(unsigned long index);
[NotEnumerable, TreatReturnedNullStringAs=Null, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] DOMString getItem(DOMString key);
« no previous file with comments | « Source/core/page/DOMWindow.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698