From:  Jeff Watkins <jeff@metrocat.org>
Date:  17 Sep 2007 12:07:19 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.jseng
Subject:  

Case-Insensitve properties

NNTP-Posting-Host:  24.6.124.105

I apologise if this has already been covered long ago, but my google-
fu just wasn't up to the task of ferretting out the answer.

How can I make the properties of an object case insensitive? I'm
trying to mimic the headers from HTTP where content-type is equivalent
to CONTENT-TYPE. So far, I've implemented my own enumerate and resolve
methods, which create uppercase versions of the properties. Presumably
I should also implement getProperty.

Or is there a simpler way?