<?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>25142</bug_id>
          
          <creation_ts>2014-03-24 19:22:01 +0000</creation_ts>
          <short_desc>[Custom]: Missing created callback should not prevent other callbacks from being enqueued.</short_desc>
          <delta_ts>2014-05-12 22:35:49 +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 - Component Model</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>http://w3c.github.io/webcomponents/spec/custom/#types-of-callbacks</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14968</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="William Chen">wchen</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>annevk</cc>
    
    <cc>dominicc</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102850</commentid>
    <comment_count>0</comment_count>
    <who name="William Chen">wchen</who>
    <bug_when>2014-03-24 19:22:01 +0000</bug_when>
    <thetext>In the description of the created callback the spec currently says:

&quot;All other callbacks must not be enqueued until after the created callback&apos;s invocation had started.&quot;

It&apos;s not very clear what should happen when there is no created callback transferred from the prototype. The way it&apos;s currently worded, there is no callback to invoke and no other callbacks would be enqueued. This seems like the wrong behavior to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102869</commentid>
    <comment_count>1</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2014-03-25 07:20:13 +0000</bug_when>
    <thetext>IIRC in Blink if there is no created callback we swizzle the wrapper&apos;s prototype (if any) and change the applicability of :unresolved at that point, then enqueue callbacks as if the created callback has run.

So I agree with the direction of this bug report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105061</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-05-05 17:59:07 +0000</bug_when>
    <thetext>Good point. Working on a better wording...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105063</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-05-05 18:35:05 +0000</bug_when>
    <thetext>WDYT? https://github.com/w3c/webcomponents/pull/9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105779</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-05-12 22:35:49 +0000</bug_when>
    <thetext>https://github.com/w3c/webcomponents/commit/61093a7d9562a6ea5a1926529406cf1bc3255778</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>