<?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>13004</bug_id>
          
          <creation_ts>2011-06-20 23:14:17 +0000</creation_ts>
          <short_desc>Inheritance for dictionaries</short_desc>
          <delta_ts>2011-06-21 02:25: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></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>ian</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>49945</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-06-20 23:14:17 +0000</bug_when>
    <thetext>We plan to change initEvent() to also accept a single argument. This would be a dictionary. However, each event interface comes with its own properties so each would require its own dictionary. To avoid having to overload initEvent() for each new event interface and to avoid respecifying how type/cancelable/bubbles and other properties work each time it would be nice if inheritance was supported.

That way you could have a base InitEvent dictionary and CustomEvent could have a InitCustomEvent inherited dictionary specifying just detail. Etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49948</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2011-06-21 02:25:45 +0000</bug_when>
    <thetext>Added: http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.312;r2=1.313;f=h</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>