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

> Should promise getters be required to use [NewObject]? 

Was this meant to say [SameObject]? Although there is at least one existing quirk where this doesn't hold (valueAsDate), attribute getters that cause SameValue(foo.bar, foo.bar) to always be false (i.e., with no other code in between) tend to break JS expectations, sometimes catastrophically (e.g. the old Angular diffing algorithm).

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

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

Received on Thursday, 16 December 2021 21:57:03 UTC