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

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

Issue 361883004: Replace many [TreatReturnedNullStringAs=Null] with nullable DOMString (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
Index: Source/core/storage/Storage.idl
diff --git a/Source/core/storage/Storage.idl b/Source/core/storage/Storage.idl
index 288703d2316cb9a43dcdb02e0a35e62215273c4d..16c7cbd7d4bcc3f8ae61ed1e34584099c34e9c9a 100644
--- a/Source/core/storage/Storage.idl
+++ b/Source/core/storage/Storage.idl
@@ -35,8 +35,8 @@
[RaisesException] deleter boolean (DOMString name);
[NotEnumerable, RaisesException=Getter] readonly attribute unsigned long length;
- [NotEnumerable, RaisesException, TreatReturnedNullStringAs=Null] DOMString key(unsigned long index);
- [LogActivity, NotEnumerable, RaisesException, TreatReturnedNullStringAs=Null] DOMString getItem(DOMString key);
+ [NotEnumerable, RaisesException] DOMString? key(unsigned long index);
+ [LogActivity, NotEnumerable, RaisesException] DOMString? getItem(DOMString key);
[LogActivity, NotEnumerable, RaisesException] void setItem(DOMString key, DOMString data);
[LogActivity, NotEnumerable, RaisesException] void removeItem(DOMString key);
[LogActivity, NotEnumerable, RaisesException] void clear();

Powered by Google App Engine
This is Rietveld 408576698