<?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>24797</bug_id>
          
          <creation_ts>2014-02-25 11:11:27 +0000</creation_ts>
          <short_desc>Stop using AbstractView</short_desc>
          <delta_ts>2014-04-25 00:20:14 +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>HISTORICAL - DOM3 Events</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>annevk</cc>
    
    <cc>art.barstow</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>garykac</cc>
    
    <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101321</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2014-02-25 11:11:27 +0000</bug_when>
    <thetext>In particular, UIEvent still has &quot;readonly attribute AbstractView? view;&quot;. AbstractView is long dead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103561</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-04-08 17:02:52 +0000</bug_when>
    <thetext>Please link to the changelog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103572</commentid>
    <comment_count>2</comment_count>
    <who name="Arthur Barstow">art.barstow</who>
    <bug_when>2014-04-08 21:04:42 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/dom3events/rev/ce11666f2d43</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103573</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-04-08 21:10:04 +0000</bug_when>
    <thetext>At least in Gecko this returns WindowProxy... Are we sure this should return Window?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103574</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-04-08 21:10:31 +0000</bug_when>
    <thetext>See https://mxr.mozilla.org/mozilla-central/source/dom/webidl/UIEvent.webidl</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103577</commentid>
    <comment_count>5</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-04-08 21:19:12 +0000</bug_when>
    <thetext>WindowProxy and Window are the same thing in Gecko&apos;s WebIDL.  There is never a raw Window returned to script as a capturable object; it&apos;s always a WindowProxy.

I have no clue what the spec behavior of that is, since the spec state of WindowProxy is pretty broken (e.g. it&apos;s not an IDL object at all).

My suggestion would be to consistently use Window in WebIDL, with the understanding that in practice what you actually get is a WindowProxy...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103582</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-04-08 21:50:41 +0000</bug_when>
    <thetext>&quot;understanding&quot; is not a requirement. We need to fix this somehow and it needs to be crystal clear. What is the bug on WindowProxy? I suggest we make this depend on that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103583</commentid>
    <comment_count>7</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-04-08 22:01:15 +0000</bug_when>
    <thetext>I&apos;m not sure there&apos;s a bug (apart from bug 20701), just mailing list threads.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104139</commentid>
    <comment_count>8</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-04-22 00:22:05 +0000</bug_when>
    <thetext>Since WindowProxy is the secure way to return Window (which is the pattern used in HTML5), DOM Events needs to have this be a WindowProxy as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104141</commentid>
    <comment_count>9</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-04-22 02:42:15 +0000</bug_when>
    <thetext>Fwiw, since there is no actual IDL for WindowProxy, writing &quot;WindowProxy&quot; in WebIDL is technically just invalid WebIDL...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104396</commentid>
    <comment_count>10</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-04-25 00:20:14 +0000</bug_when>
    <thetext>I changed the IDLs to WindowProxy, and did a pass through the document for the terms &quot;defaultView&quot; which was the term in vogue prior to a more standardized and well-defined window object. Now there is no more use of the term defaultView, and instead Window and WindowProxy are used where appropriate.

https://dvcs.w3.org/hg/dom3events/rev/c2837d35f150</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>