[Webkit-unassigned] [Bug 21258] New: console.profile() in the inspector without a title get's the title "undefined"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 30 16:15:02 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21258

           Summary: console.profile() in the inspector without a title get's
                    the title "undefined"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kmccullough at apple.com


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


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list