<?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>26182</bug_id>
          
          <creation_ts>2014-06-23 18:48:25 +0000</creation_ts>
          <short_desc>Add a console.* API that invokes the HTML &quot;report the error&quot; algorithm (which calls window.onerror)</short_desc>
          <delta_ts>2016-04-04 13:39:59 +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>Unwelcome</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#report-the-error</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="Michael[tm] Smith">mike</assigned_to>
          <cc>annevk</cc>
    
    <cc>bkardell</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>d</cc>
    
    <cc>erik.arvidsson</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>paul.irish</cc>
    
    <cc>terinjokes</cc>
          
          <qa_contact>sideshowbarker+unwelcome</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108234</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-06-23 18:48:25 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html
Multipage: http://www.whatwg.org/C#report-the-error
Complete: http://www.whatwg.org/c#report-the-error
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Introduce a method that invokes this algorithm

Posted from: 178.83.154.60 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108235</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-23 18:49:05 +0000</bug_when>
    <thetext>That way it&apos;s easier for people to experiment with new platform APIs. See e.g. http://lists.w3.org/Archives/Public/public-web-perf/2014Jun/0036.html for an implementer requesting this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108236</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-23 18:58:31 +0000</bug_when>
    <thetext>See also http://esdiscuss.org/topic/a-way-of-explicitly-reporting-exceptions where bz suggests adding this to ECMAScript.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108246</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-06-23 20:37:13 +0000</bug_when>
    <thetext>Interesting idea.

Is there multiple vendor interest?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108257</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-24 07:35:23 +0000</bug_when>
    <thetext>It seems so. On es-discuss arv suggested putting it on the console API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110784</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-08-29 20:40:30 +0000</bug_when>
    <thetext>Ok well I&apos;m happy to spec something, but if it&apos;s in the console API then I need something to hook into, unless I&apos;m just going to spec the whole console API. Does it have a spec or anything?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110802</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-08-31 12:32:31 +0000</bug_when>
    <thetext>I don&apos;t think window.console has a workable specification at the moment. There&apos;s http://sideshowbarker.github.io/console-spec/ though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110867</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-02 17:08:51 +0000</bug_when>
    <thetext>So what should I do? Spec console.*? Pretend a spec exists and use partial? Reassign the bug to Mike?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110874</commentid>
    <comment_count>8</comment_count>
    <who name="brian kardell">bkardell</who>
    <bug_when>2014-09-02 19:38:23 +0000</bug_when>
    <thetext>We&apos;ve done some upfront on this with collaborators from n vendors/firebug.

https://github.com/DeveloperToolsWG/console-object

It&apos;s also been discussed that this might belong in ecma standard library as console is not limited to the browser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111756</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-18 17:33:22 +0000</bug_when>
    <thetext>brian, that page says that adding new features is a non-goal. Do you have any proposals for where we should put new features?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111760</commentid>
    <comment_count>10</comment_count>
    <who name="brian kardell">bkardell</who>
    <bug_when>2014-09-18 18:43:40 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #9)
&gt; brian, that page says that adding new features is a non-goal. Do you have
&gt; any proposals for where we should put new features?

Not really, the purpose of that statement is simply to say that we wanted to focus first on codifying the intersection of what is de-facto truth, or at least has enough agreement to qualify as that, not be distracted initially by feature requests and bikeshedding.  The aim was to do it in such a way that it would be approvable regardless of which body it landed in (living specs are still pretty unique to WHATWG and standards bodies are typically considerably better at &apos;last mile agreement&apos; efforts than invention).

I&apos;m happy to help with this, my availability for things is significantly changed recently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111866</commentid>
    <comment_count>11</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-19 23:45:22 +0000</bug_when>
    <thetext>Since this is going to end up in the console API spec rather than HTML, I&apos;m moving this to the Unwelcome bucket. I encourage whoever wants to spec the console API to take up this bug. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111868</commentid>
    <comment_count>12</comment_count>
    <who name="Terin Stock">terinjokes</who>
    <bug_when>2014-09-19 23:57:08 +0000</bug_when>
    <thetext>I&apos;m starting to put together a &quot;Console Spec&quot; at https://github.com/terinjokes/console-spec

It&apos;s still in the very early stages, but I welcome feedback and discussion in the GitHub issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111875</commentid>
    <comment_count>13</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-09-20 01:16:21 +0000</bug_when>
    <thetext>It&apos;s worth taking a look at the IDL browsers already have for console, fwiw.

I would also suggest a discussion forum more amenable to participation by multiple people and with better archiving, linkability, and especially searchability than github issues...  A mailing list, say.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125712</commentid>
    <comment_count>14</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-04-04 13:39:59 +0000</bug_when>
    <thetext>https://github.com/whatwg/console/issues/50</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>