This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
E.g. [Unscopeable] as annotation could do the trick I suppose. Should not work for static members. We want this for new DOM methods on Element and such: https://bugzilla.mozilla.org/show_bug.cgi?id=911477
Added: https://github.com/heycam/webidl/commit/98c12d9cec97aaeb3db0407effbe3dffa11b63a4 Should I add a note or warning about when to use it, and if so, do you have a suggestion?
I think this addition of [Unscopeable] is fine for now. We can revisit adding guidance once we have some experience.