[whatwg/webidl] Force `[NewObject]` for Promise returning functions? (Issue #1084)

Currently some functions have `[NewObject]` and some are not, e.g.:

* Fetch has `[NewObject]` everywhere https://fetch.spec.whatwg.org/#body-mixin
* ... while Push does not https://w3c.github.io/push-api/#pushmanager-interface

But that's weird, since those always do return a new object. Should it be forced?

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

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

Received on Friday, 21 January 2022 11:09:46 UTC