<?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>24579</bug_id>
          
          <creation_ts>2014-02-07 11:00:05 +0000</creation_ts>
          <short_desc>[Custom]: make callbacks more explicit</short_desc>
          <delta_ts>2015-07-06 08:13:55 +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>bzbarsky</cc>
    
    <cc>cam</cc>
    
    <cc>eoconnor</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>public-webapps</cc>
    
    <cc>rniwa</cc>
    
    <cc>wchen</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100001</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-07 11:00:05 +0000</bug_when>
    <thetext>&quot;Any time a script calls a method, reads or sets a property that is implemented by the user agent, the following actions must occur: &quot;

This needs to become part of the actual algorithms such as innerHTML, cloneNode(), etc. The easiest way to do that is tying it to IDL I think just as is done in the Chrome implementation.

I recommend working with heycam on doing that per my outline in http://lists.w3.org/Archives/Public/public-webapps/2014JanMar/0142.html as that makes it much more explicit when everything happens relative to each other.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100003</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-07 11:01:53 +0000</bug_when>
    <thetext>Note that we also need this mechanism for callbacks implemented by the user agent. E.g. when adoption happens we want to queue a callback that runs before the method that caused the adoption to return and mangles prototypes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105577</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-05-09 20:32:46 +0000</bug_when>
    <thetext>I was just reading up on extended attributes: http://heycam.github.io/webidl/#idl-extended-attributes.

A simple ExtendedAttributeNoArgs thingy should suffice in this case -- something like [InvokesCustomElementCallbacks] or [ProcessesCustomElementCallbacks] or [ElementCallbackBarrier]?

Heycam, should I just write this down in custom elements spec, or should it be part of Web IDL spec, like ES-specific attributes: http://heycam.github.io/webidl/#es-extended-attributes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113790</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2014-10-27 17:34:02 +0000</bug_when>
    <thetext>*** Bug 27179 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113792</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-10-27 17:42:42 +0000</bug_when>
    <thetext>(Currently Web IDL offers no way for other specifications to define extended attributes.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121721</commentid>
    <comment_count>5</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-07-06 08:13:55 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/186</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>