RESOLVED FIXED 21258
console.profile() in the inspector without a title get's the title "undefined"
https://bugs.webkit.org/show_bug.cgi?id=21258
Summary console.profile() in the inspector without a title get's the title "undefined"
Kevin McCullough
Reported 2008-09-30 16:15:01 PDT
If you type "console.profile()" into the console of the WebInspector and then "console.profileEnd() the title of the profile will be "undefined". This is because the arguments value in _evalInInspectedWindow in Console.js will pass the empty argument onto the inspected window. In Console::profile in Console.cpp the title argument will be "undefined". I could detect this at Console::profile() and change the title to "org.webkit.profiles.user-initiated" but then if a user ever set the title of their profile to "undefined" they would get this behavior. Which may not be that bad
Attachments
Kevin McCullough
Comment 1 2008-09-30 16:16:27 PDT
Kevin McCullough
Comment 2 2008-10-01 10:23:58 PDT
This is actually correct behavior. If a title isn't supplied it should be "undefined". Firebug simply does not display a title. Maybe we should consider that.
Note You need to log in before you can comment on or make changes to this bug.