This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23202 - Add @@unscopeables sugar
Summary: Add @@unscopeables sugar
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 23834
  Show dependency treegraph
 
Reported: 2013-09-10 15:41 UTC by Anne
Modified: 2014-11-25 20:33 UTC (History)
2 users (show)

See Also:


Attachments

Description Anne 2013-09-10 15:41:45 UTC
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
Comment 1 Cameron McCormack 2014-09-29 11:43:36 UTC
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?
Comment 2 Anne 2014-11-25 20:33:17 UTC
I think this addition of [Unscopeable] is fine for now. We can revisit adding guidance once we have some experience.