<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>19791</bug_id>
          
          <creation_ts>2008-06-27 08:41:57 -0700</creation_ts>
          <short_desc>Inspector should show the source file that called console.time and console.timeEnd</short_desc>
          <delta_ts>2008-08-18 11:05:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>17234</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Keishi Hattori">keishi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>ggaren</cc>
    
    <cc>oliver</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>84567</commentid>
    <comment_count>0</comment_count>
    <who name="Keishi Hattori">keishi</who>
    <bug_when>2008-06-27 08:41:57 -0700</bug_when>
    <thetext>The Inspector should show the source file that called console.time and console.timeEnd like Firebug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88097</commentid>
    <comment_count>1</comment_count>
      <attachid>22704</attachid>
    <who name="Keishi Hattori">keishi</who>
    <bug_when>2008-08-08 04:55:17 -0700</bug_when>
    <thetext>Created attachment 22704
as far as I have

[CustomCall] let&apos;s you override getCallData for a class like Console but I can&apos;t figure out how to override for a function like console.log.

Also, I can&apos;t figure out what callData.native.function points to. I think it eventually calls Console::log but I don&apos;t know what is in between.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88107</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-08-08 09:16:34 -0700</bug_when>
    <thetext>I think Geoff or Oliver should review this. I am not sure adding a new type of CallData is right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88108</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-08-08 09:17:23 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I think Geoff or Oliver should review this.

I agree.

&gt; I am not sure adding a new type of CallData is right.

That&apos;s what Geoff suggested in bug 17234.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88169</commentid>
    <comment_count>4</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-08-09 21:58:30 -0700</bug_when>
    <thetext>I think using CustomCall for the Console object is fine. The majority of the console functions want this info.

Also the CallType name in JSCore should have a more generic name, since it could be used for other code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88183</commentid>
    <comment_count>5</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-08-10 13:31:36 -0700</bug_when>
    <thetext>Why do we have bug 17234 and this bug? Wouldn&apos;t we fix all of the console functions at once, not just tim/timeEnd?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88213</commentid>
    <comment_count>6</comment_count>
    <who name="Keishi Hattori">keishi</who>
    <bug_when>2008-08-11 07:14:11 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 17234 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88220</commentid>
    <comment_count>7</comment_count>
      <attachid>22704</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-08-11 08:24:00 -0700</bug_when>
    <thetext>Comment on attachment 22704
as far as I have

Clearing the review flag since this is a duplicate bug. Attach the patch to bug 17234.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88738</commentid>
    <comment_count>8</comment_count>
    <who name="Kevin McCullough">kmccullough</who>
    <bug_when>2008-08-18 11:05:37 -0700</bug_when>
    <thetext>I talked with Geoff about how to get the line numbers and source files for more than just these functions.  I think we are going to be taking this in another direction.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>22704</attachid>
            <date>2008-08-08 04:55:17 -0700</date>
            <delta_ts>2008-08-11 08:24:00 -0700</delta_ts>
            <desc>as far as I have</desc>
            <filename>c.txt</filename>
            <type>text/plain</type>
            <size>3274</size>
            <attacher name="Keishi Hattori">keishi</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL1ZNL01hY2hpbmUuY3BwCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIEphdmFT
Y3JpcHRDb3JlL1ZNL01hY2hpbmUuY3BwCShyZXZpc2lvbiAzNTUxMSkKKysrIEphdmFTY3JpcHRD
b3JlL1ZNL01hY2hpbmUuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0yMzg1LDYgKzIzODUsMjggQEAg
SlNWYWx1ZSogTWFjaGluZTo6cHJpdmF0ZUV4ZWN1dGUoRXhlY3V0aQogICAgICAgICAgICAgTkVY
VF9PUENPREU7CiAgICAgICAgIH0KIAorICAgICAgICBpZiAoY2FsbFR5cGUgPT0gQ2FsbFR5cGVD
b25zb2xlKSB7CisgICAgICAgICAgICBpZiAoKmVuYWJsZWRQcm9maWxlclJlZmVyZW5jZSkKKyAg
ICAgICAgICAgICAgICAoKmVuYWJsZWRQcm9maWxlclJlZmVyZW5jZSktPndpbGxFeGVjdXRlKGV4
ZWMsIHN0YXRpY19jYXN0PEpTT2JqZWN0Kj4odikpO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