<?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>24577</bug_id>
          
          <creation_ts>2014-02-07 10:45:19 +0000</creation_ts>
          <short_desc>[Custom]: Need adopted callback</short_desc>
          <delta_ts>2015-07-06 08:15:04 +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>MOVED</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>
    
    <blocked>20567</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <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>99997</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-07 10:45:19 +0000</bug_when>
    <thetext>See bug 20567 comment 69. We should have a callback for adoption so you can deal with moving to a new document and prevent leaking an entire global. The callback should take the old and new document as arguments.

See bug 24570 for the equivalent bug on cloning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100124</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-10 10:54:39 +0000</bug_when>
    <thetext>New document is not needed as argument since you can get the node&apos;s ownerDocument (its node document).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100126</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-10 11:13:20 +0000</bug_when>
    <thetext>If you cannot model this after http://dom.spec.whatwg.org/#concept-node-adopt-ext please tell me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100127</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-10 11:13:46 +0000</bug_when>
    <thetext>Obviously that callback in the DOM will need to be made asynchronous. Will do that once there&apos;s a proper hook in IDL or some such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121731</commentid>
    <comment_count>4</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-07-06 08:15:04 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/210</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>