<?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>19819</bug_id>
          
          <creation_ts>2012-11-01 15:43:22 +0000</creation_ts>
          <short_desc>The last 3 parameters to OnErrorEventHandlerNonNull should be optional</short_desc>
          <delta_ts>2013-01-31 00:19:02 +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>PC</rep_platform>
          <op_sys>Linux</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>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olli Pettay">bugs</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bzbarsky</cc>
    
    <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>77679</commentid>
    <comment_count>0</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2012-11-01 15:43:22 +0000</bug_when>
    <thetext>Currently the spec has
callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, DOMString source, unsigned long lineno, unsigned long column);
But in practice the latter 3 params are used only for script errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77680</commentid>
    <comment_count>1</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2012-11-01 15:44:37 +0000</bug_when>
    <thetext>See also http://lists.w3.org/Archives/Public/public-script-coord/2012OctDec/0117.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77719</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-11-01 22:40:27 +0000</bug_when>
    <thetext>Can you elaborate? Wouldn&apos;t the last three be undefined if the callback was invoked with just one argument? Or is this just editorial?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77730</commentid>
    <comment_count>3</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-11-02 01:06:05 +0000</bug_when>
    <thetext>Ian, the callback cannot be invoked with just one argument per WebIDL given how the IDL is written for it right now, as far as I can see.  It must be invoked with 4 arguments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82383</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-01-31 00:19:02 +0000</bug_when>
    <thetext>r7678</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>