Can't use Object.defineProperty() to add an item to a DOMStringMap or Storage
[WebKit-https.git] / Source / WebCore / storage / Storage.idl
index ba88467..8bbc03a 100644 (file)
 
 [
     CustomEnumerateProperty,
-    CustomNamedSetter,
     GenerateIsReachable=ImplFrame,
     SkipVTableValidation,
 ] interface Storage {
     [GetterMayThrowException] readonly attribute unsigned long length;
     [MayThrowException] DOMString? key(unsigned long index);
     [MayThrowException] getter DOMString? getItem(DOMString key);
-    [MayThrowException] /*setter*/ void setItem(DOMString key, DOMString data);
+    [MayThrowException] setter void setItem(DOMString key, DOMString data);
     [MayThrowException] deleter void removeItem(DOMString key);
     [MayThrowException] void clear();
 };