<?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>23744</bug_id>
          
          <creation_ts>2013-11-06 22:49:34 +0000</creation_ts>
          <short_desc>Use the WebIDL callback logic in the setTimeout prose</short_desc>
          <delta_ts>2015-01-15 20:52:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.ecmascript.org/show_bug.cgi?id=3139</see_also>
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#timers</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95904</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-11-06 22:49:34 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#timers
Complete: http://www.whatwg.org/c#timers
Referrer: 

Comment:
&quot;Call the Function. Use the third and subsequent method arguments (if any) as
the arguments for invoking the Function. Use method context proxy as the
thisArg for invoking the Function.&quot;  — we should instead stash away the
callback and use WebIDL&apos;s &quot;invoke a callback&quot; logic.

Posted from: 2620:0:1000:167c:70ad:5201:ebd7:23de by ian@hixie.ch
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1685.0 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96133</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-11 18:43:32 +0000</bug_when>
    <thetext>heycam, can you point me to the right place in WebIDL for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96134</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-11 18:45:10 +0000</bug_when>
    <thetext>Note to self: I need to change &quot;In this step, invoke means to run the jump to a code entry-point algorithm.&quot; in the event handler section to call into WebIDL as well, in case someone sets an event handler to a non-script.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96136</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-11 18:46:08 +0000</bug_when>
    <thetext>*** Bug 19211 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96578</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-20 03:31:29 +0000</bug_when>
    <thetext>Note to self: see bug 19211 for other things to change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109766</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-08-01 20:29:33 +0000</bug_when>
    <thetext>This is currently blocked on getting changes to ES6. See:
   http://esdiscuss.org/topic/the-initialization-steps-for-web-browsers#content-32</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111222</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-08 23:55:21 +0000</bug_when>
    <thetext>https://bugs.ecmascript.org/show_bug.cgi?id=3139 &quot;post ES6&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117240</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2015-01-15 20:52:41 +0000</bug_when>
    <thetext>I got tired of waiting for ES to be fixed, so I&apos;ve updated event handlers to call Web IDL, and we&apos;ll fix the parsing of event handlers when ES catches up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117241</commentid>
    <comment_count>8</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-01-15 20:52:56 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8880.
Check-in comment: Fix callback logic to reference Web IDL and use the right conventions.
https://html5.org/tools/web-apps-tracker?from=8879&amp;to=8880</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>