webidl icon indicating copy to clipboard operation
webidl copied to clipboard

Nullable ObservableArray attributes are not supported

Open domenic opened this issue 2 years ago • 1 comments

The attribute getter (and setter) steps for observable array attributes don't really work if the attribute is nullable.

We need to allow:

  • Spec writers to return null from such attributes
  • Spec writers to react to web developers nulling out such attributes (including rejecting such a set)

domenic avatar Jul 03 '23 07:07 domenic

Currently ObservableArray<T> is expressly forbidden as a nullable type’s inner type, so they’re not yet supported at all, I think.

bathos avatar Jul 04 '23 04:07 bathos