W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: [IndexedDB] Numeric constants vs enumerated strings

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 28 Feb 2012 19:58:31 +0100
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "Israel Hilerio" <israelh@microsoft.com>, "James Robinson" <jamesr@google.com>, Odin Hørthe Omdal <odinho@opera.com>, "Web Applications Working Group WG" <public-webapps@w3.org>, "Joshua Bell" <jsbell@chromium.org>, "Simon Pieters" <simonp@opera.com>
Message-ID: <op.waekbtgv64w2qv@annevk-macbookpro.local>
On Tue, 28 Feb 2012 19:33:15 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
> Last I think I heard it was in relation to renaming CORS headers which
> also is in WD stage.

I have proposed renaming them if that is what you mean; people objected.

> We could certainly try to make this change when unprefixing, but at
> that point I think it'll create more confusion and messyness than the
> value it introduces.

Why? The confusion is temporary, the API will be here for the lifetime of  
the platform. Your value trade-off seems questionable to me.

>> I don't think I'm necessarily the right person, but I've pointed out  
>> that I think DOMStringList and numeric constants should go.
> I still don't have a good enough understanding of what DOMString[]
> means as far as being immutable goes. Possibly it's also something we
> can change in v2.

By then people might rely on the contains() method or some such. There's a  
readonly DOMString[], Web IDL has details.

Anne van Kesteren
Received on Tuesday, 28 February 2012 18:59:15 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:38 UTC