Re: [whatwg/webidl] [SameObject]/[NewObject] on Promise-type attributes should be allowed (#71)

> Was this meant to say [SameObject]? [NewObject] is only defined for operations and I assumed this was because that behavior is very problematic in practice for attributes. Neither is permitted by a Promise attribute.

No, I meant [NewObject]. (The title of the issue made me think attributes could have [NewObject].) I guess my understanding was overly simplified if even Promise typed attributes can indeed return the same Promise object multiple times. And it makes sense that they can.

In that case I think this issue can be closed as obsolete since it sounds like there are no outstanding changes to be made, wrt the title/original topic of this issue. #1077 tracks the issue about unions/objects/etc that was previously raised as a tangent of this issue.

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

Message ID: <whatwg/webidl/issues/71/996275712@github.com>

Received on Thursday, 16 December 2021 23:34:21 UTC