- From: Adam Rice <notifications@github.com>
- Date: Wed, 21 Nov 2018 00:01:54 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 November 2018 08:02:17 UTC
Another difference I noticed: - For "option bag" types, stream objects are currently permissive about accepting non-objects (see #962). For example, `new ReadableStream(true, false)` currently behaves like `new ReadableStream({}, {})` (or you can make it do something else by messing with `Boolean.prototype`). WebIDL is more strict and only allows undefined, null or objects for dictionary types. Although we could force WebIDL to be permissive using a union, I assume we wouldn't do that. Re: enumerable vs. non-enumerable, I don't have an opinion except that I'd like to be able to justify whatever choice we make. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/963#issuecomment-440571530
Received on Wednesday, 21 November 2018 08:02:17 UTC