[Webkit-unassigned] [Bug 61363] Web Inspector: [META] extract WebInspector.NetworkRequest (NetworkPanel item) from WebInspector.Resource (ResourcesPanel item).

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 10 11:22:16 PDT 2012


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


Pavel Feldman <pfeldman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Web Inspector: Separate     |Web Inspector: [META]
                   |NetworkResource             |extract
                   |(NetworkPanel resource)     |WebInspector.NetworkRequest
                   |from ResourceRevision       |(NetworkPanel item) from
                   |(ResourcesPanel/ScriptsPane |WebInspector.Resource
                   |l resource).                |(ResourcesPanel item).




--- Comment #1 from Pavel Feldman <pfeldman at chromium.org>  2012-04-10 11:22:16 PST ---
I performed this refactoring locally, but it resulted in a huge patch. I extracted NetworkRequest from Resource and aggregated it in the resource as a request field for now. I intend to land it in [at least] two phases:

1) Introduce empty WebInspector.NetworkRequest and temporarily inherit it from WebInspector.Resource. Creating WebInspector.Resource on top of the request item just returns the request itself from the constructor. Modify all call sites to treat requests as such.

2) Extract actual methods from Resource and move them into the NetworkRequest. Fetching content will need special handling here.

-- 
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