- From: Adam Rice <notifications@github.com>
- Date: Mon, 10 Jun 2019 08:24:16 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 10 June 2019 15:24:38 UTC
It turns out that switching to WebIDL (#963) makes the answer to this question "yes". WebIDL doesn't allow an type that is not exposed to be constructible. From https://heycam.github.io/webidl/#NoInterfaceObject: > If the [NoInterfaceObject] extended attribute is specified on an interface, then the [Constructor] extended attribute must not also be specified on that interface. A [NamedConstructor] extended attribute is fine, however. -- 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/586#issuecomment-500457945
Received on Monday, 10 June 2019 15:24:38 UTC