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

Seems the spec is clear that promise getters can't use `[SameObject]` and can use `[NewObject]`. I've filed a separate issue #1077 for non-promise objects since those aren't covered by the title of this issue. Seems that covers everything and this issue could be closed now.

I do have one related thought though:
Should promise getters be _required_ to use `[NewObject]`? IIUC that's the behavior, and having `[NewObject]` would document the behavior _much_ more clearly.

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

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

Received on Thursday, 16 December 2021 20:26:46 UTC