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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>62039</bug_id>
          
          <creation_ts>2011-06-03 12:29:12 -0700</creation_ts>
          <short_desc>CustomEvent interface not exposed on view</short_desc>
          <delta_ts>2011-08-31 10:23:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>67248</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eli Grey (:sephr)">bugmail</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
    
    <cc>ap</cc>
    
    <cc>cshu</cc>
    
    <cc>kenneth</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>415091</commentid>
    <comment_count>0</comment_count>
    <who name="Eli Grey (:sephr)">bugmail</who>
    <bug_when>2011-06-03 12:29:12 -0700</bug_when>
    <thetext>The CustomEvent interface should be exposed on the view, like Event, UIEvent, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>415601</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2011-06-05 08:47:35 -0700</bug_when>
    <thetext>Do you have a lionk to the spec that says it has to be exposed on the view?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>415631</commentid>
    <comment_count>2</comment_count>
    <who name="Eli Grey (:sephr)">bugmail</who>
    <bug_when>2011-06-05 11:37:41 -0700</bug_when>
    <thetext>No, it&apos;s not part of a spec, it&apos;s part of the de-facto standard of exposing most DOM interfaces so people can extend them for things such as implementing features for compatibility with future APIs and to use for feature detection, in the case of events (if (self.CustomEvent) { ... }).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>415644</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-06-05 13:05:33 -0700</bug_when>
    <thetext>&lt;http://www.w3.org/TR/2011/WD-DOM-Level-3-Events-20110531/#webidl-events-CustomEvent&gt; doesn&apos;t have a [NoInterfaceObject] attribute, which per WebIDL spec means that the interface object should be exposed on the global object.

This is in an informative part of the spec, and I don&apos;t know if there is anything normative, but we certainly follow the practice of exposing interface objects on DOMWindow in general.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>415649</commentid>
    <comment_count>4</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2011-06-05 13:14:31 -0700</bug_when>
    <thetext>OK, great. Thanks for the explanation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>459699</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-08-31 10:23:20 -0700</bug_when>
    <thetext>This got fixed yesterday.

*** This bug has been marked as a duplicate of bug 67248 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>