<?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>25138</bug_id>
          
          <creation_ts>2014-03-24 16:39:20 +0000</creation_ts>
          <short_desc>&quot;Invoking callback functions&quot;</short_desc>
          <delta_ts>2016-06-02 20:49:16 +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>WebIDL</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>17713</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>d</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102834</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-03-24 16:39:20 +0000</bug_when>
    <thetext>http://heycam.github.io/webidl/#es-invoking-callback-functions

[[
Invoking callback functions
]]

I feel like we want this to be a &lt;dfn&gt; thing that we can cross-reference. That way it is more clear when a specification does not define what to do with a callback that throws.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102835</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-03-24 16:40:27 +0000</bug_when>
    <thetext>Or we should have this as a lower-level hook and then a higher-level hook that is &quot;invoke and report&quot; as Ian just suggested on IRC. That higher-level hook should maybe be in HTML?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102836</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-03-24 16:50:11 +0000</bug_when>
    <thetext>Happy to add something that invokes a callback and then catches and reports exceptions. Assign this bug to me when &quot;invoking callback functions&quot; is ready, or file a new bug on me?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115502</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-11-26 10:30:18 +0000</bug_when>
    <thetext>Note: bug 27046 added the &quot;report the exception&quot; algorithm which reports an exception to window.onerror.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126662</commentid>
    <comment_count>4</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2016-06-02 20:49:16 +0000</bug_when>
    <thetext>A plan for the exception-handling behavior was discussed in https://github.com/heycam/webidl/pull/113#issuecomment-218640902 and is tracked at https://github.com/whatwg/html/issues/958. The original request for a &lt;dfn&gt; was fixed in https://github.com/heycam/webidl/pull/113.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>