<?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>22991</bug_id>
          
          <creation_ts>2013-08-17 01:31:52 +0000</creation_ts>
          <short_desc>[Custom]: Elaborate enqueuing a lifecycle callback</short_desc>
          <delta_ts>2013-08-26 18:50:40 +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>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>
          
          <blocked>14968</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Cooney">dominicc</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92213</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-08-17 01:31:52 +0000</bug_when>
    <thetext>There are some conditions I think are missing. These are probably in other open bugs but here&apos;s a summary:

- Inserted, removed need to become entered, left document; they should only be enqueued if the document has a view.
- The entered callback should be queued at the point the prototype changes, and not when the created callback is scheduled.
- With the exception of the created callback and the magic entered callback, callbacks should not be queued until the created callback starts to run.
- There&apos;s this newfangled &quot;not dispatching while the created callback is running.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92593</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-08-26 18:50:40 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; There are some conditions I think are missing. These are probably in other
&gt; open bugs but here&apos;s a summary:
&gt; 
&gt; - Inserted, removed need to become entered, left document; they should only
&gt; be enqueued if the document has a view.

https://dvcs.w3.org/hg/webcomponents/rev/3d4a6a4e4a3d and bug 22565.

&gt; - The entered callback should be queued at the point the prototype changes,
&gt; and not when the created callback is scheduled.

https://dvcs.w3.org/hg/webcomponents/rev/81123e455a55

&gt; - With the exception of the created callback and the magic entered callback,
&gt; callbacks should not be queued until the created callback starts to run.
&gt; - There&apos;s this newfangled &quot;not dispatching while the created callback is
&gt; running.&quot;

I&apos;ll lump both of these into bug 22966.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>