<span class="Apple-style-span" style="border-collapse: collapse; ">I currently see nameGetter, namedItem and getNamedItem in a number of different files that all currently have custom bindings that normalize to a nameGetter function. <div>
<br></div><div>Can we just have all the collection types normalize on a single name for this function? It would mean that much of this custom binding could be avoided. </div><div><br></div><div>I'm running into this with Chromium as I am trying to replace our PluginArray and MimeTypeArray with WebKit's. This is messing with our templates that currently just use namedItem (although could just as easily use nameGetter if that's preferred).</div>
<div><br></div><div>The big differences with our MimeTypeArray implementation is that it kept a Vector of MimeTypes, returned raw pointers and used namedItem instead of nameGetter. It would be great if we could unify these.</div>
<div><br></div><div>Ojan</div></span>