[Webkit-unassigned] [Bug 30328] New: Web Inspector: Migrate profiles to the injected script-based schema.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 01:51:56 PDT 2009


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

           Summary: Web Inspector: Migrate profiles to the injected
                    script-based schema.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mnaganov at chromium.org
                CC: timothy at hatcher.name, pfeldman at chromium.org


Continuing Pavel's efforts on migrating Inspector interaction, I've migrated
CPU profiles retrieval to use injected script-based schema.

What had been changed:
 - profile trees are encoded into JS objects, without 'parent' and 'head'
references, for further JSONification (see InjectedScript.serializeProfile);
 - on the Inspector's side, 'parent' and 'head' properties are restored (see
ProfileView._assignParentsInProfile);
 - when populating existing profiles on Inspector re-opening, they are loaded
lazily; initially, only profile titles are loaded (see
ProfilesPanel._populateProfiles), a full profile is retrieved when opening the
view (see ProfileView constructor).

I also discovered that C++ side of profile objects and their C++/JS bridges
contain unused methods and props, I will remove in the next change.

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



More information about the webkit-unassigned mailing list