- From: Edgar Chen <notifications@github.com>
- Date: Mon, 02 May 2022 02:27:04 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/webidl/issues/1000/1114660978@github.com>
> > prevents OAs from being nullable > > A nullable OA meant you’d hit undefined behavior in the the getter/setter steps for OA attributes (which would seemingly need to do something novel with the backing list?). The attribute setter steps covers the new value, V, to `sequence<T>`, see step 4.5.10.1 of https://webidl.spec.whatwg.org/#dfn-attribute-setter. If a `null` is passed, https://webidl.spec.whatwg.org/#es-sequence throws a `TypeError`. > > > or put into another OA > > It seems like there’s a whole lot that prevents OA<OA> from being coherent currently. Instances are 1:1 with platform objects, allegedly created during [define the attributes](https://webidl.spec.whatwg.org/#define-the-attributes) (but see below*). The getter/setter behaviors of the attributes depend on the backing list / “backing observable array exotic object” (@_@) associations and that accessor behavior would seemingly need to become the outer OA’s own behavior for index-key properties. Yeah, BOAEO is created 1:1 with OA attribute, what should accessing the inner OA of OA<OA> behave is undefined. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1000#issuecomment-1114660978 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1000/1114660978@github.com>
Received on Monday, 2 May 2022 09:27:16 UTC