<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22358</bug_id>
          
          <creation_ts>2013-06-14 03:02:37 +0000</creation_ts>
          <short_desc>Add a &quot;this is the global&quot; annotation</short_desc>
          <delta_ts>2014-01-26 16:54:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>[v1]</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Boris Zbarsky">bzbarsky</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>annevk</cc>
    
    <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89293</commentid>
    <comment_count>0</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2013-06-14 03:02:37 +0000</bug_when>
    <thetext>We should have an annotation that goes on the Window interface that implies the following:

1)  ImplicitThis for the interface and all its ancestors and all the things it
    and its ancestors pull in via consequential interfaces.
2)  NamedPropertiesObject.
3)  Attributes, and maybe operations, going on the object itself, not the
    prototype.

and whatever other funk we want out of the global.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89302</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-06-14 08:48:10 +0000</bug_when>
    <thetext>Probably more like &quot;this is the document global&quot; as some of those we don&apos;t want for workers I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89316</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2013-06-14 16:34:52 +0000</bug_when>
    <thetext>We do want the ImplicitThis behavior in workers, I think.  And probably the &quot;put the properties on the object itself&quot; behavior.  And NamedPropertiesObject is ignored if there is no named getter on the object.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90643</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-07-11 19:24:15 +0000</bug_when>
    <thetext>Not sure if this is a good idea, but should we combine this with ways of not exposing certain features in certain globals?

Document in XMLHttpRequest, HTMLFormElement in FormData&apos;s constructor, etc. I guess I will do those in prose for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99107</commentid>
    <comment_count>4</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2014-01-26 16:54:45 +0000</bug_when>
    <thetext>This got done a while ago, here:

https://github.com/heycam/webidl/commit/392c9727aec9f69fd164d6b7490efd2eec04fcfd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>