Re: Fetch API

On Fri, Jun 6, 2014 at 12:33 AM, Domenic Denicola
<domenic@domenicdenicola.com> wrote:
> It seems to me that for both the HeaderMap constructor and any object-literal processing, the best solution for now is to just do things in prose...

I think the first thing we should decide on is what syntax we want JS
authors to be able to write.

How to then write this in the spec can be debated after. The
capability set of WebIDL should not dictate how we define the API
(other than that we should be very sure about what we're doing if we
go outside of what WebIDL recommends).

I'm still arguing that we shouldn't have a HeaderMap class at all, and
instead just use normal Map objects. And in places where we take a map
as an argument, also allow plain JS objects that are then enumerated.

/ Jonas

Received on Friday, 6 June 2014 08:27:02 UTC