WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 17234
19791
Inspector should show the source file that called console.time and console.timeEnd
https://bugs.webkit.org/show_bug.cgi?id=19791
Summary
Inspector should show the source file that called console.time and console.ti...
Keishi Hattori
Reported
2008-06-27 08:41:57 PDT
The Inspector should show the source file that called console.time and console.timeEnd like Firebug.
Attachments
as far as I have
(3.20 KB, patch)
2008-08-08 04:55 PDT
,
Keishi Hattori
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Keishi Hattori
Comment 1
2008-08-08 04:55:17 PDT
Created
attachment 22704
[details]
as far as I have [CustomCall] let's you override getCallData for a class like Console but I can't figure out how to override for a function like console.log. Also, I can't figure out what callData.native.function points to. I think it eventually calls Console::log but I don't know what is in between.
Timothy Hatcher
Comment 2
2008-08-08 09:16:34 PDT
I think Geoff or Oliver should review this. I am not sure adding a new type of CallData is right.
Adam Roben (:aroben)
Comment 3
2008-08-08 09:17:23 PDT
(In reply to
comment #2
)
> I think Geoff or Oliver should review this.
I agree.
> I am not sure adding a new type of CallData is right.
That's what Geoff suggested in
bug 17234
.
Timothy Hatcher
Comment 4
2008-08-09 21:58:30 PDT
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.
Timothy Hatcher
Comment 5
2008-08-10 13:31:36 PDT
Why do we have
bug 17234
and this bug? Wouldn't we fix all of the console functions at once, not just tim/timeEnd?
Keishi Hattori
Comment 6
2008-08-11 07:14:11 PDT
*** This bug has been marked as a duplicate of
17234
***
Timothy Hatcher
Comment 7
2008-08-11 08:24:00 PDT
Comment on
attachment 22704
[details]
as far as I have Clearing the review flag since this is a duplicate bug. Attach the patch to
bug 17234
.
Kevin McCullough
Comment 8
2008-08-18 11:05:37 PDT
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug