Re: [heycam/webidl] Figure-out what supporting Array-subclassing implies (#345)

I think we explicitly decided against auto-generating such lists via the old IDL Array mechanism.

I don't see why we shouldn't have _interfaces_ that opt into looking like a typed array: more or less API-compatible with Array, but without actually being an Array subclass, so there is control over writes into the array.  You can get there right now with indexed getters/setters and some manual definition of various methods; the only question is whether we should have a built-in IDL shorthand for this sort of thing.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/345#issuecomment-300593367

Received on Wednesday, 10 May 2017 19:50:52 UTC