Index: core/plugins/MimeTypeArray.idl |
=================================================================== |
--- core/plugins/MimeTypeArray.idl (revision 23517) |
+++ core/plugins/MimeTypeArray.idl (working copy) |
@@ -23,6 +23,7 @@ |
] interface MimeTypeArray { |
readonly attribute unsigned long length; |
getter MimeType item([Default=Undefined] optional unsigned long index); |
- getter MimeType namedItem([Default=Undefined] optional DOMString name); |
+ MimeType namedItem([Default=Undefined] optional DOMString name); |
+ [NotEnumerable, ImplementedAs=namedItem] getter MimeType([Default=Undefined] optional DOMString name); |
}; |