[whatwg/webidl] Elaborate on Exposed=* advice (Issue #1119)

Currently we have this:

> `[Exposed=*]` is to be used with care. It is only appropriate when an API does not expose significant new capabilities. If the API might be restricted or disabled in some environments, it is preferred to list the globals explicitly. 

I think it would help if we listed the principles or criteria that were used to select the initial set of interfaces. Ideally specific enough that it's clear why `ErrorEvent` is included and `MouseEvent` and `reportError()` are excluded. As that would help a lot with carrying this forward consistently into the future.

(Context: https://github.com/whatwg/html/issues/7591.)

cc @Ms2ger @domenic @smaug---- @leobalter @caridy @mhofman

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

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

Received on Wednesday, 23 March 2022 19:21:37 UTC