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

Unified Diff: core/dom/DOMStringMap.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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/dom/DOMStringList.idl ('k') | core/dom/DOMTokenList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/DOMStringMap.idl
diff --git a/core/dom/DOMStringMap.idl b/core/dom/DOMStringMap.idl
index c8c7d15fc17325ae45e0f61e4f82660f08547216..2034eac6c57492a2eeaad1a0c9d0b91e9f52e1ea 100644
--- a/core/dom/DOMStringMap.idl
+++ b/core/dom/DOMStringMap.idl
@@ -23,16 +23,20 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/#the-domstringmap-interface
+
[
OverrideBuiltins,
SetWrapperReferenceFrom=element,
WillBeGarbageCollected,
] interface DOMStringMap {
- [NotEnumerable] getter DOMString (unsigned long index);
- [RaisesException] setter DOMString (unsigned long index, DOMString value);
- deleter boolean (unsigned long index);
-
[ImplementedAs=item] getter DOMString (DOMString name);
- [RaisesException] setter DOMString (DOMString name, DOMString value);
- deleter boolean (DOMString name);
+ [RaisesException] setter void (DOMString name, DOMString value);
+ deleter void (DOMString name);
+
+ // FIXME: The indexed getter, setter and deleter are not in the
+ // spec and simply converts the index to a string.
+ [NotEnumerable] getter DOMString (unsigned long index);
+ [RaisesException] setter void (unsigned long index, DOMString value);
+ deleter void (unsigned long index);
};
« no previous file with comments | « core/dom/DOMStringList.idl ('k') | core/dom/DOMTokenList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698