Open ptomato opened 2 months ago
this is great, thanks @ptomato for putting the time on this
@zcorpan Intuitively I disagree with your argument in https://github.com/whatwg/webidl/issues/1119#issuecomment-2034009609, at least given the guidance in this PR. The downside of requiring review for every new kind of realm is that when we add a new realm type, there's going to be a long string of paper-cuts as developers reach for various utility functions and notice that they haven't yet been added to this particular realm.
Here's an initial draft for text on exposing interfaces everywhere. It's similar to the text I wrote in #509 and the examples I gave there.
Closes: #509
Preview | Diff